Mesa (master): mesa: Drop -fno-strict-aliasing.
Matt Turner
mattst88 at kemper.freedesktop.org
Mon Aug 1 19:08:55 UTC 2016
Module: Mesa
Branch: master
Commit: 88ad8c7dedb87d92a5bed0868f108076185ec089
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88ad8c7dedb87d92a5bed0868f108076185ec089
Author: Matt Turner <mattst88 at gmail.com>
Date: Thu May 26 16:34:02 2016 -0700
mesa: Drop -fno-strict-aliasing.
Improves performance of OglBatch7 by 4.06851% +/- 1.17925% (n=169) on
Haswell, and cuts ~18k of .text:
text data bss dec hex filename
5824627 287816 29384 6141827 5db783 before/i965_dri.so
5806354 287816 29384 6123554 5d7022 after/i965_dri.so
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
configure.ac | 6 ------
1 file changed, 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7d1a9bb..aea5890 100644
--- a/configure.ac
+++ b/configure.ac
@@ -300,9 +300,6 @@ if test "x$GCC" = xyes; then
# Restore CFLAGS; VISIBILITY_CFLAGS are added to it where needed.
CFLAGS=$save_CFLAGS
- # Work around aliasing bugs - developers should comment this out
- CFLAGS="$CFLAGS -fno-strict-aliasing"
-
# We don't want floating-point math functions to set errno or trap
CFLAGS="$CFLAGS -fno-math-errno -fno-trapping-math"
@@ -342,9 +339,6 @@ if test "x$GXX" = xyes; then
# Restore CXXFLAGS; VISIBILITY_CXXFLAGS are added to it where needed.
CXXFLAGS=$save_CXXFLAGS
- # Work around aliasing bugs - developers should comment this out
- CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
-
# We don't want floating-point math functions to set errno or trap
CXXFLAGS="$CXXFLAGS -fno-math-errno -fno-trapping-math"
fi
More information about the mesa-commit
mailing list