IcBench: Makefile
This commit is contained in:
8
makefile
8
makefile
@ -50,14 +50,14 @@ endif
|
|||||||
else
|
else
|
||||||
UNAMEA := $(shell uname -a)
|
UNAMEA := $(shell uname -a)
|
||||||
ifneq (,$(findstring ppc64le, $(UNAMEA)))
|
ifneq (,$(findstring ppc64le, $(UNAMEA)))
|
||||||
|
MARCH=-march=power9, -mtune=power9
|
||||||
|
#MSSE=-mtune=power9
|
||||||
|
CFLAGS+=-DNO_WARN_X86_INTRINSICS
|
||||||
|
else
|
||||||
#Minimum SSE = Sandy Bridge, AVX2 = haswell
|
#Minimum SSE = Sandy Bridge, AVX2 = haswell
|
||||||
MSSE=-march=corei7-avx -mtune=corei7-avx
|
MSSE=-march=corei7-avx -mtune=corei7-avx
|
||||||
# -mno-avx -mno-aes (add for Pentium based Sandy bridge)
|
# -mno-avx -mno-aes (add for Pentium based Sandy bridge)
|
||||||
MAVX2=-march=haswell
|
MAVX2=-march=haswell
|
||||||
else
|
|
||||||
MARCH=-mcpu=power9, -mtune=power9
|
|
||||||
#MSSE=-mtune=power9
|
|
||||||
CFLAGS+=-DNO_WARN_X86_INTRINSICS
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user