Skip to content

Commit

Permalink
Try removing some flags and see if the illegal instructions go away.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Jul 20, 2023
1 parent cf78b7d commit e2a7305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/AwsSIMD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ if (USE_CPU_EXTENSIONS)
set(AVX_CFLAGS "/arch:AVX512 /arch:AVX2")
endif()
else()
check_c_compiler_flag("-mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq" HAVE_M_AVX512_FLAG)
check_c_compiler_flag("-mavx512f -mvpclmulqdq" HAVE_M_AVX512_FLAG)
if (HAVE_M_AVX512_FLAG)
set(AVX_CFLAGS "-mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mpclmul -mavx -mavx2 -msse4.2")
set(AVX_CFLAGS "-mavx512f -mvpclmulqdq -mpclmul -mavx -mavx2 -msse4.2")
endif()
endif()

Expand Down

0 comments on commit e2a7305

Please sign in to comment.