Skip to content

Commit 3aeb65f

Browse files
bernhardmgruberamadio
authored andcommitted
let icc build AVX2 Vc without Intel specifics
1 parent 342cde8 commit 3aeb65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/VcMacros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ macro(vc_compile_for_all_implementations _srcs _src)
495495
# which case AVX2 implies the availability of FMA and BMI2
496496
#_vc_compile_one_implementation(${_srcs} AVX2 "-mavx2")
497497
#_vc_compile_one_implementation(${_srcs} AVX2+BMI2 "-mavx2 -mbmi2")
498-
_vc_compile_one_implementation(${_srcs} AVX2+FMA+BMI2 "-xCORE-AVX2" "-mavx2 -mfma -mbmi2" "/arch:AVX2")
498+
_vc_compile_one_implementation(${_srcs} AVX2+FMA+BMI2 "-xAVX2" "-mavx2 -mfma -mbmi2" "/arch:AVX2")
499499
#_vc_compile_one_implementation(${_srcs} AVX2+FMA "-mavx2 -mfma")
500500
endif()
501501
list(LENGTH _only_targets _len)

0 commit comments

Comments
 (0)