remove the -mfma flag in when the host has AVX.

This commit is contained in:
Qiyu8 2020-11-16 09:14:56 +08:00
parent ae0b1dea19
commit b00a0de132
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ if (DEFINED TARGET)
endif() endif()
if (DEFINED HAVE_AVX) if (DEFINED HAVE_AVX)
if (NOT NO_AVX) if (NOT NO_AVX)
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx -mfma") set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx")
endif() endif()
endif() endif()
if (DEFINED HAVE_AVX2) if (DEFINED HAVE_AVX2)