From 481044d50cfe8eaa6cd0c1a1b445680e4b0b3ebc Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Fri, 24 Mar 2023 08:19:26 -0700 Subject: additional optimizations for POWER9 (#454) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 91eebae..e8b128c 100644 --- a/Makefile +++ b/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) -- cgit v1.2.3