We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0dac6b commit ae0b1deCopy full SHA for ae0b1de
cmake/system.cmake
@@ -174,7 +174,7 @@ if (DEFINED TARGET)
174
endif()
175
if (DEFINED HAVE_AVX)
176
if (NOT NO_AVX)
177
- set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx")
+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mavx -mfma")
178
179
180
if (DEFINED HAVE_AVX2)
kernel/Makefile
@@ -5,10 +5,6 @@ endif
5
TOPDIR = ..
6
include $(TOPDIR)/Makefile.system
7
8
-ifdef HAVE_FMA3
9
-CFLAGS += -mfma
10
-endif
11
-
12
ifeq ($(ARCH), power)
13
ifeq ($(C_COMPILER), CLANG)
14
override CFLAGS += -fno-integrated-as
0 commit comments