@@ -13,16 +13,16 @@ ifeq ($(CORE), POWER10)
1313ifneq ($(C_COMPILER), PGI)
1414ifeq ($(C_COMPILER), GCC)
1515ifeq ($(GCCVERSIONGTEQ10), 1)
16- CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
16+ CCOMMON_OPT += -O3 -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
1717else ifneq ($(GCCVERSIONGT4), 1)
1818$(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended)
19- CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math
19+ CCOMMON_OPT += -O3 -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math
2020else
2121$(warning your compiler is too old to fully support POWER10, getting a newer version of gcc is recommended)
22- CCOMMON_OPT += -Ofast -mcpu=power9 -mtune=power9 -mvsx -fno-fast-math
22+ CCOMMON_OPT += -O3 -mcpu=power9 -mtune=power9 -mvsx -fno-fast-math
2323endif
2424else
25- CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
25+ CCOMMON_OPT += -O3 -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
2626endif
2727ifeq ($(F_COMPILER), IBM)
2828FCOMMON_OPT += -O2 -qrecur -qnosave -qarch=pwr10 -qtune=pwr10 -qfloat=nomaf -qzerosize
3434
3535ifeq ($(CORE), POWER9)
3636ifneq ($(C_COMPILER), PGI)
37- CCOMMON_OPT += -Ofast -mvsx -fno-fast-math
37+ CCOMMON_OPT += -O3 -mvsx -fno-fast-math
3838ifeq ($(C_COMPILER), GCC)
3939ifneq ($(GCCVERSIONGT4), 1)
4040$(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended)
7070
7171ifeq ($(CORE), POWER8)
7272ifneq ($(C_COMPILER), PGI)
73- CCOMMON_OPT += -Ofast -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math
73+ CCOMMON_OPT += -O3 -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math
7474else
7575CCOMMON_OPT += -fast -Mvect=simd -Mcache_align
7676endif
0 commit comments