@@ -13,16 +13,16 @@ ifeq ($(CORE), POWER10)
13
13
ifneq ($(C_COMPILER), PGI)
14
14
ifeq ($(C_COMPILER), GCC)
15
15
ifeq ($(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
17
17
else ifneq ($(GCCVERSIONGT4), 1)
18
18
$(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
20
20
else
21
21
$(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
23
23
endif
24
24
else
25
- CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
25
+ CCOMMON_OPT += -O3 -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
26
26
endif
27
27
ifeq ($(F_COMPILER), IBM)
28
28
FCOMMON_OPT += -O2 -qrecur -qnosave -qarch=pwr10 -qtune=pwr10 -qfloat=nomaf -qzerosize
34
34
35
35
ifeq ($(CORE), POWER9)
36
36
ifneq ($(C_COMPILER), PGI)
37
- CCOMMON_OPT += -Ofast -mvsx -fno-fast-math
37
+ CCOMMON_OPT += -O3 -mvsx -fno-fast-math
38
38
ifeq ($(C_COMPILER), GCC)
39
39
ifneq ($(GCCVERSIONGT4), 1)
40
40
$(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended)
70
70
71
71
ifeq ($(CORE), POWER8)
72
72
ifneq ($(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
74
74
else
75
75
CCOMMON_OPT += -fast -Mvect=simd -Mcache_align
76
76
endif
0 commit comments