0001
0002 #ifndef _ASM_X86_XOR_64_H
0003 #define _ASM_X86_XOR_64_H
0004
0005 static struct xor_block_template xor_block_sse = {
0006 .name = "generic_sse",
0007 .do_2 = xor_sse_2,
0008 .do_3 = xor_sse_3,
0009 .do_4 = xor_sse_4,
0010 .do_5 = xor_sse_5,
0011 };
0012
0013
0014
0015 #include <asm/xor_avx.h>
0016
0017
0018
0019
0020 #undef XOR_TRY_TEMPLATES
0021 #define XOR_TRY_TEMPLATES \
0022 do { \
0023 AVX_XOR_SPEED; \
0024 xor_speed(&xor_block_sse_pf64); \
0025 xor_speed(&xor_block_sse); \
0026 } while (0)
0027
0028 #endif