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

View File

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