mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-18 04:15:32 +00:00
btrfs-progs: crypto: add missing ssse3 header for blake2-sse2 implementation
Otherwise, the following error occurs: | In file included from crypto/blake2b-sse2.c:30: | crypto/blake2b-sse2.c: In function 'blake2b_compress_sse2': | crypto/blake2b-round.h:32:22: warning: implicit declaration of function '_mm_shuffle_epi8'; did you mean '_mm_shuffle_epi32'? [-Wimplicit-function-declaration] | 32 | : (-(c) == 24) ? _mm_shuffle_epi8((x), r24) \ | | ^~~~~~~~~~~~~~~~ Note: it's not yet clear what affects this build failure as it otherwise builds in the tested configurations (gcc/clang, arch, distro), but it apparently fixes the build in some environments. Pull-request: #588 Signed-off-by: Alexander Kanavin <alex@linutronix.de> [ add note ] Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f09e9c9543
commit
2aa6854bb0
@ -23,6 +23,9 @@
|
||||
#ifdef HAVE_SSE2
|
||||
|
||||
#include <emmintrin.h>
|
||||
#if defined(HAVE_SSSE3)
|
||||
#include <tmmintrin.h>
|
||||
#endif
|
||||
#if defined(HAVE_XOP)
|
||||
#include <x86intrin.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user