mesa/src/util/blake3
Sil Vilerino f6dddcef79 util: Blake3 - Identify arm64ec as aarch64 instead of x64
ARM64EC is a new build target for Windows ARM64 devices for x64 support.
Currently that build flavor fails due to attempting to use x64 intrinsics.
This commit fixes it by changing the auto-detection to be aarch64
instead of x64 for arm64ec.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24119>
2023-07-13 15:30:39 +00:00
..
blake3.c
blake3.h
blake3_avx2_x86-64_unix.S
blake3_avx2_x86-64_windows_gnu.S
blake3_avx2_x86-64_windows_msvc.masm
blake3_avx512_x86-64_unix.S
blake3_avx512_x86-64_windows_gnu.S
blake3_avx512_x86-64_windows_msvc.masm
blake3_dispatch.c
blake3_impl.h util: Blake3 - Identify arm64ec as aarch64 instead of x64 2023-07-13 15:30:39 +00:00
blake3_neon.c
blake3_portable.c
blake3_sse2_x86-64_unix.S
blake3_sse2_x86-64_windows_gnu.S
blake3_sse2_x86-64_windows_msvc.masm
blake3_sse41_x86-64_unix.S
blake3_sse41_x86-64_windows_gnu.S
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

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

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

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.