mesa/src/util/blake3
Jesse Natalie 74ba5cf885 blake3: fix Windows ARM64 build and detect ARM64EC as ARM64
Cherry-picked upstream 0816badf3ada3ec48e712dd4f4cbc2cd60828278

Reviewed-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29971>
2024-07-02 22:17:17 +00:00
..
blake3.c util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3.h util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_avx2.c util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_avx2_x86-64_unix.S
blake3_avx2_x86-64_windows_gnu.S util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_avx2_x86-64_windows_msvc.masm
blake3_avx512.c util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_avx512_x86-64_unix.S
blake3_avx512_x86-64_windows_gnu.S util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_avx512_x86-64_windows_msvc.masm
blake3_dispatch.c blake3: fix Windows ARM64 build and detect ARM64EC as ARM64 2024-07-02 22:17:17 +00:00
blake3_impl.h blake3: fix Windows ARM64 build and detect ARM64EC as ARM64 2024-07-02 22:17:17 +00:00
blake3_neon.c util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_portable.c
blake3_sse2.c util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_sse2_x86-64_unix.S
blake3_sse2_x86-64_windows_gnu.S util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_sse2_x86-64_windows_msvc.masm
blake3_sse41.c util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_sse41_x86-64_unix.S
blake3_sse41_x86-64_windows_gnu.S util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00
blake3_sse41_x86-64_windows_msvc.masm
mesa_blake3_visibility.h
meson.build meson: Don't use masm with VS backend 2023-04-29 05:23:15 +00:00
README util: bump blake3 from 1.3.3 to 1.5.1, improve armv7 and aarch64 performance 2024-06-19 12:27:30 -07:00

This folder contains a local copy of BLAKE3 cryptographic hash library, version 1.5.1.

Except for changes listed in the "Changes" section, this is a verbatim copy from
https://github.com/BLAKE3-team/BLAKE3, tag 1.5.1.

Files will be periodically synchronized with the upstream, and any local changes should
be clearly documented below.

Changes:
- Rename .asm files to .masm due to a Meson limitation (https://mesonbuild.com/Release-notes-for-0-64-0.html#new-languages-nasm-and-masm)

- Add non-typedef struct name to blake3_hasher.

- Add "static" to blake3_hash4_neon, to comply with -Werror=missing-prototypes.

- Add mesa_blake3_visibility.h and set symbol visibility to hidden for assembly sources.