summaryrefslogtreecommitdiff
path: root/Makefile.zarch
diff options
context:
space:
mode:
authorMarius Hillenbrand <mhillen@linux.ibm.com>2020-09-16 15:55:38 +0200
committerMarius Hillenbrand <mhillen@linux.ibm.com>2020-09-21 11:32:08 +0200
commit77ea73f5e5579ea35b6be03bac455643b84e343d (patch)
tree2f4669eb3de15c243912aa9e763338c6678d8306 /Makefile.zarch
parentf91057cbad196be09541eccf1ece5472531f63aa (diff)
downloadopenblas-77ea73f5e5579ea35b6be03bac455643b84e343d.tar.gz
openblas-77ea73f5e5579ea35b6be03bac455643b84e343d.tar.bz2
openblas-77ea73f5e5579ea35b6be03bac455643b84e343d.zip
s390x: for clang use fp-contract=on instead of fast
Make clang slightly more cautious when contracting floating-point operations (e.g., when applying fused multiply add) by setting -ffp-contract=on (instead of fast). Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
Diffstat (limited to 'Makefile.zarch')
-rw-r--r--Makefile.zarch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.zarch b/Makefile.zarch
index b841d9b4d..092ca2589 100644
--- a/Makefile.zarch
+++ b/Makefile.zarch
@@ -12,5 +12,5 @@ endif
# Enable floating-point expression contraction for clang, since it is the
# default for gcc
ifeq ($(C_COMPILER), CLANG)
-CCOMMON_OPT += -ffp-contract=fast
+CCOMMON_OPT += -ffp-contract=on
endif