@@ -143,8 +143,8 @@ if compiler_id in ['intel', 'intel-cl']
143
143
# Intel compilers don't support the following features independently
144
144
FMA3.update(implies : [F16C, AVX2])
145
145
AVX2.update(implies : [F16C, FMA3])
146
- AVX512F.update(implies : [AVX2, AVX512CD, AVX512_SKX ])
147
- AVX512CD.update(implies : [AVX512F, AVX512_SKX ])
146
+ AVX512F.update(implies : [AVX2, AVX512CD])
147
+ AVX512CD.update(implies : [AVX512F])
148
148
XOP.update(disable : ' Intel Compiler does not su
8000
pport it' )
149
149
FMA4.update(disable : ' Intel Compiler does not support it' )
150
150
endif
@@ -170,10 +170,10 @@ endif
170
170
if compiler_id == ' intel'
171
171
clear_m = ' ^(-mcpu=|-march=)'
172
172
clear_any = ' ^(-mcpu=|-march=|-x[A-Z0-9\-])'
173
- FMA3.update(args : {' val' : ' -march=core-avx2 ' , ' match' : clear_m})
174
- AVX2.update(args : {' val' : ' -march=core-avx2 ' , ' match' : clear_m})
175
- AVX512F.update(args : {' val' : ' -march=common-avx512 ' , ' match' : clear_m})
176
- AVX512CD.update(args : {' val' : ' -march=common-avx512 ' , ' match' : clear_m})
173
+ FMA3.update(args : {' val' : ' -xCORE-AVX2 ' , ' match' : clear_m})
174
+ AVX2.update(args : {' val' : ' -xCORE-AVX2 ' , ' match' : clear_m})
175
+ AVX512F.update(args : {' val' : ' -xCOMMON-AVX512 ' , ' match' : clear_m})
176
+ AVX512CD.update(args : {' val' : ' -xCOMMON-AVX512 ' , ' match' : clear_m})
177
177
AVX512_KNL.update(args : {' val' : ' -xKNL' , ' match' : clear_any})
178
178
AVX512_KNM.update(args : {' val' : ' -xKNM' , ' match' : clear_any})
179
179
AVX512_SKX.update(args : {' val' : ' -xSKYLAKE-AVX512' , ' match' : clear_any})
0 commit comments