Optimize cdot function for POWER10
[platform/upstream/openblas.git] / Makefile.zarch
1
2 ifeq ($(CORE), Z13)
3 CCOMMON_OPT += -march=z13 -mzvector
4 FCOMMON_OPT += -march=z13 -mzvector
5 endif
6
7 ifeq ($(CORE), Z14)
8 CCOMMON_OPT += -march=z14 -mzvector -O3
9 FCOMMON_OPT += -march=z14 -mzvector
10 endif
11
12 # Enable floating-point expression contraction for clang, since it is the
13 # default for gcc
14 ifeq ($(C_COMPILER), CLANG)
15 CCOMMON_OPT += -ffp-contract=on
16 endif