x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / include / asm / xor_64.h
blob546f1e3b87cce3d346f95fec83ff2630342da47c
1 #ifndef _ASM_X86_XOR_64_H
2 #define _ASM_X86_XOR_64_H
4 static struct xor_block_template xor_block_sse = {
5 .name = "generic_sse",
6 .do_2 = xor_sse_2,
7 .do_3 = xor_sse_3,
8 .do_4 = xor_sse_4,
9 .do_5 = xor_sse_5,
13 /* Also try the AVX routines */
14 #include <asm/xor_avx.h>
16 /* We force the use of the SSE xor block because it can write around L2.
17 We may also be able to load into the L1 only depending on how the cpu
18 deals with a load to a line that is being prefetched. */
19 #undef XOR_TRY_TEMPLATES
20 #define XOR_TRY_TEMPLATES \
21 do { \
22 AVX_XOR_SPEED; \
23 xor_speed(&xor_block_sse_pf64); \
24 xor_speed(&xor_block_sse); \
25 } while (0)
27 #endif /* _ASM_X86_XOR_64_H */