Title: [112397] trunk/Tools
- Revision
- 112397
- Author
- o...@webkit.org
- Date
- 2012-03-28 07:54:03 -0700 (Wed, 28 Mar 2012)
Log Message
[Qt] Couple of tests have different results on 64 bit and/or in debug mode compared to 32 bit and/or release mode
https://bugs.webkit.org/show_bug.cgi?id=52810
Reviewed by Simon Hausmann.
Use SSE2 floating point math on 32 bit instead of the default
387 to make layout test result same on 32 and on 64 bit builds.
* qmake/mkspecs/features/unix/default_post.prf:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (112396 => 112397)
--- trunk/Tools/ChangeLog 2012-03-28 14:45:45 UTC (rev 112396)
+++ trunk/Tools/ChangeLog 2012-03-28 14:54:03 UTC (rev 112397)
@@ -1,3 +1,15 @@
+2012-03-28 Csaba Osztrogonác <o...@webkit.org>
+
+ [Qt] Couple of tests have different results on 64 bit and/or in debug mode compared to 32 bit and/or release mode
+ https://bugs.webkit.org/show_bug.cgi?id=52810
+
+ Reviewed by Simon Hausmann.
+
+ Use SSE2 floating point math on 32 bit instead of the default
+ 387 to make layout test result same on 32 and on 64 bit builds.
+
+ * qmake/mkspecs/features/unix/default_post.prf:
+
2012-03-28 Sergio Villar Senin <svil...@igalia.com>
[Soup] DNS prefetching spams resolver, shoots self in the foot
Modified: trunk/Tools/qmake/mkspecs/features/unix/default_post.prf (112396 => 112397)
--- trunk/Tools/qmake/mkspecs/features/unix/default_post.prf 2012-03-28 14:45:45 UTC (rev 112396)
+++ trunk/Tools/qmake/mkspecs/features/unix/default_post.prf 2012-03-28 14:54:03 UTC (rev 112397)
@@ -4,6 +4,14 @@
# See 'Tools/qmake/README' for an overview of the build system
# -------------------------------------------------------------------
+# Use SSE2 floating point math on 32 bit instead of the default
+# 387 to make layout test results same on 32 and on 64 bit builds.
+# See https://bugs.webkit.org/show_bug.cgi?id=52810#c39 for details.
+linux-g++*:isEqual(QT_ARCH,i386) {
+ QMAKE_CFLAGS += -march=pentium4 -msse2 -mfpmath=sse
+ QMAKE_CXXFLAGS += -march=pentium4 -msse2 -mfpmath=sse
+}
+
# Treat warnings as errors on x86/Linux/GCC
linux-g++* {
isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes