From: Marius Hillenbrand Date: Wed, 16 Sep 2020 13:55:38 +0000 (+0200) Subject: s390x: for clang use fp-contract=on instead of fast X-Git-Tag: upstream/0.3.21~25^2~38^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77ea73f5e5579ea35b6be03bac455643b84e343d;p=platform%2Fupstream%2Fopenblas.git 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 --- diff --git a/Makefile.zarch b/Makefile.zarch index b841d9b..092ca25 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