mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-22 05:23:17 +00:00
4fc291a465
The build fails with crypto backends other than builtin, the initializers cannot be reached as they're ifdef-ed out. Move hash_init_accel under the right condition and delete the algorithm-specific initializers as they're used only by the hash test and that can simply call hash_init_accel to set the implementation. All the -m flags need to be detected at configure time and the flag used for ifdef (HAVE_CFLAG_m*), not the actual feature defined by compiler as the dispatcher function is not built with the -m flags. The uname check for x86_64 must be dropped so on i386/i586 we can still build accelerated version. Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
blake2-config.h | ||
blake2-impl.h | ||
blake2.h | ||
blake2b-avx2.c | ||
blake2b-load-avx2-simple.h | ||
blake2b-load-avx2.h | ||
blake2b-load-sse2.h | ||
blake2b-load-sse41.h | ||
blake2b-ref.c | ||
blake2b-round.h | ||
blake2b-sse2.c | ||
blake2b-sse41.c | ||
crc32c.c | ||
crc32c.h | ||
hash-speedtest.c | ||
hash-vectest.c | ||
hash.c | ||
hash.h | ||
sha224-256.c | ||
sha256-x86.c | ||
sha-private.h | ||
sha.h | ||
xxhash.c | ||
xxhash.h |