File tree Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,8 @@ EXPORT_SYMBOL_GPL(raid6_call);
28
28
29
29
const struct raid6_calls * const raid6_algos [] = {
30
30
#if defined(__i386__ ) && !defined(__arch_um__ )
31
- #ifdef CONFIG_AS_AVX512
32
31
& raid6_avx512x2 ,
33
32
& raid6_avx512x1 ,
34
- #endif
35
33
& raid6_avx2x2 ,
36
34
& raid6_avx2x1 ,
37
35
& raid6_sse2x2 ,
@@ -42,11 +40,9 @@ const struct raid6_calls * const raid6_algos[] = {
42
40
& raid6_mmxx1 ,
43
41
#endif
44
42
#if defined(__x86_64__ ) && !defined (__arch_um__ )
45
- #ifdef CONFIG_AS_AVX512
46
43
& raid6_avx512x4 ,
47
44
& raid6_avx512x2 ,
48
45
& raid6_avx512x1 ,
49
- #endif
50
46
& raid6_avx2x4 ,
51
47
& raid6_avx2x2 ,
52
48
& raid6_avx2x1 ,
@@ -96,9 +92,7 @@ EXPORT_SYMBOL_GPL(raid6_datap_recov);
96
92
97
93
const struct raid6_recov_calls * const raid6_recov_algos [] = {
98
94
#ifdef CONFIG_X86
99
- #ifdef CONFIG_AS_AVX512
100
95
& raid6_recov_avx512 ,
101
- #endif
102
96
& raid6_recov_avx2 ,
103
97
& raid6_recov_ssse3 ,
104
98
#endif
Original file line number Diff line number Diff line change 17
17
*
18
18
*/
19
19
20
- #ifdef CONFIG_AS_AVX512
21
-
22
20
#include <linux/raid/pq.h>
23
21
#include "x86.h"
24
22
@@ -560,5 +558,3 @@ const struct raid6_calls raid6_avx512x4 = {
560
558
.priority = 2 /* Prefer AVX512 over priority 1 (SSE2 and others) */
561
559
};
562
560
#endif
563
-
564
- #endif /* CONFIG_AS_AVX512 */
Original file line number Diff line number Diff line change 6
6
* Author: Megha Dey <[email protected] >
7
7
*/
8
8
9
- #ifdef CONFIG_AS_AVX512
10
-
11
9
#include <linux/raid/pq.h>
12
10
#include "x86.h"
13
11
@@ -377,7 +375,3 @@ const struct raid6_recov_calls raid6_recov_avx512 = {
377
375
#endif
378
376
.priority = 3 ,
379
377
};
380
-
381
- #else
382
- #warning "your version of binutils lacks AVX512 support"
383
- #endif
Original file line number Diff line number Diff line change 54
54
ifeq ($(IS_X86 ) ,yes)
55
55
OBJS += mmx.o sse1.o sse2.o avx2.o recov_ssse3.o recov_avx2.o avx512.o recov_avx512.o
56
56
CFLAGS += -DCONFIG_X86
57
- CFLAGS += $(shell echo "vpmovm2b % k1, % zmm5" | \
58
- gcc -c -x assembler - >/dev/null 2>&1 && \
59
- rm ./-.o && echo -DCONFIG_AS_AVX512=1)
60
57
else ifeq ($(HAS_NEON),yes)
61
58
OBJS += neon.o neon1.o neon2.o neon4.o neon8.o recov_neon.o recov_neon_inner.o
62
59
CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1
You can’t perform that action at this time.
0 commit comments