additional optimizations for POWER9 (#454)
This commit is contained in:
parent
563cdc391d
commit
481044d50c
2 changed files with 83 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -156,7 +156,8 @@ endif
|
|||
ifneq ($(filter ppc64%,$(UNAME_M)),)
|
||||
POWER9_M := $(shell grep "POWER9" /proc/cpuinfo)
|
||||
ifneq (,$(findstring POWER9,$(POWER9_M)))
|
||||
CFLAGS += -mpower9-vector
|
||||
CFLAGS += -mcpu=power9
|
||||
CXXFLAGS += -mcpu=power9
|
||||
endif
|
||||
# Require c++23's std::byteswap for big-endian support.
|
||||
ifeq ($(UNAME_M),ppc64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue