Changeset: e32935634831 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e32935634831
Modified Files:
configure.ag
Branch: Oct2014
Log Message:
icc: use -mieee-fp (instead of discontinued -mp) to ensure floating point
accuracy
alternative: "-fp-model precise" ?
diffs (16 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1061,10 +1061,10 @@ if test "x$enable_optimize" = xyes; then
dnl We need to use -mp instead of -mp1 as otherwise nextafter()
& nextafterf() do not work correctly for 0
x86_64-*-*-11.*) CFLAGS="$CFLAGS -mp -O3 -restrict -unroll
-axSSE4.2 ";;
- dnl -mp does no longer exist with icc 15; not tested whether we
can use -mp1, again ...
+ dnl -mp does no longer exist with icc 15; using -mieee-fp,
instead.
dnl adding -axSSE4.2 (or even -axCORE-AVX512) results in errors
like
dnl "error: ODBCFetch has been targeted for automatic cpu
dispatch" ...
- x86_64-*-*-15.*) CFLAGS="$CFLAGS -O3 -restrict -unroll
-no-inline-max-size -no-inline-max-total-size";;
+ x86_64-*-*-15.*) CFLAGS="$CFLAGS -mieee-fp -O3 -restrict -unroll
-no-inline-max-size -no-inline-max-total-size";;
i*86-*-*-8.*) CFLAGS="$CFLAGS -mp1 -O3 -restrict -unroll
-tpp6 -axKWNPB";;
i*86-*-*-9.*) CFLAGS="$CFLAGS -mp1 -O3 -restrict -unroll
-tpp6 -axKWNPB";;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list