Revert "[Support/BLAKE3] Re-enable building with the simd-optimized implementations"
authorMehdi Amini <joker.eph@gmail.com>
Tue, 29 Mar 2022 17:39:05 +0000 (17:39 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 29 Mar 2022 17:43:37 +0000 (17:43 +0000)
commit267d1873fad6faa2e17155834b9ed9cf638e05a7
tree973239dfdc05299c01b93305c9eee0b28af29019
parentb39f437757967687dd60d9d5a657cc3b421cf83d
Revert "[Support/BLAKE3] Re-enable building with the simd-optimized implementations"

This reverts commit 23519d3000b4703f17e639534a38b4f221fa4f63.

This breaks the build with clang-5:

/usr/bin/clang-5.0 -DBUILD_EXAMPLES -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support/BLAKE3 -Illvm/lib/Support/BLAKE3 -Iinclude -Illvm/include -fPIC -O3 -DNDEBUG -MD -MT lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx512_x86-64_unix.S.o -MF lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx512_x86-64_unix.S.o.d -o lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx512_x86-64_unix.S.o -c llvm/lib/Support/BLAKE3/blake3_avx512_x86-64_unix.S
...
llvm/lib/Support/BLAKE3/blake3_avx512_x86-64_unix.S:54:9: error: instruction requires: AVX-512 ISA
        kmovw k1, r9d
        ^
llvm/lib/Support/BLAKE3/CMakeLists.txt