diff options
author | Marius Hillenbrand <mhillen@linux.ibm.com> | 2020-09-16 15:55:38 +0200 |
---|---|---|
committer | Marius Hillenbrand <mhillen@linux.ibm.com> | 2020-09-21 11:32:08 +0200 |
commit | 77ea73f5e5579ea35b6be03bac455643b84e343d (patch) | |
tree | 2f4669eb3de15c243912aa9e763338c6678d8306 /Makefile.zarch | |
parent | f91057cbad196be09541eccf1ece5472531f63aa (diff) | |
download | openblas-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.zarch | 2 |
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 |