Title: [130076] trunk/Source/WTF
Revision
130076
Author
commit-qu...@webkit.org
Date
2012-10-01 14:00:51 -0700 (Mon, 01 Oct 2012)

Log Message

Another SIGILL in _javascript_Core on a Geode processor
https://bugs.webkit.org/show_bug.cgi?id=96286

Patch by Daniel Drake <d...@laptop.org> on 2012-10-01
Reviewed by Filip Pizlo.

Disable LLint for the GTK build where the build target does not
support SSE2 instructions. Restores support for non-SSE2 processors
such as the AMD Geode.

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (130075 => 130076)


--- trunk/Source/WTF/ChangeLog	2012-10-01 21:00:03 UTC (rev 130075)
+++ trunk/Source/WTF/ChangeLog	2012-10-01 21:00:51 UTC (rev 130076)
@@ -1,3 +1,16 @@
+2012-10-01  Daniel Drake  <d...@laptop.org>
+
+        Another SIGILL in _javascript_Core on a Geode processor
+        https://bugs.webkit.org/show_bug.cgi?id=96286
+
+        Reviewed by Filip Pizlo.
+
+        Disable LLint for the GTK build where the build target does not
+        support SSE2 instructions. Restores support for non-SSE2 processors
+        such as the AMD Geode.
+
+        * wtf/Platform.h:
+
 2012-10-01  Yury Semikhatsky  <yu...@chromium.org>
 
         Web Inspector: provide memory instrumentation for HashMap

Modified: trunk/Source/WTF/wtf/Platform.h (130075 => 130076)


--- trunk/Source/WTF/wtf/Platform.h	2012-10-01 21:00:03 UTC (rev 130075)
+++ trunk/Source/WTF/wtf/Platform.h	2012-10-01 21:00:51 UTC (rev 130076)
@@ -899,6 +899,14 @@
 #define ENABLE_DISASSEMBLER 1
 #endif
 
+/* On the GTK+ port we take an extra precaution for LLINT support:
+ * We disable it on x86 builds if the build target doesn't support SSE2
+ * instructions (LLINT requires SSE2 on this platform). */
+#if !defined(ENABLE_LLINT) && PLATFORM(GTK) && CPU(X86) && COMPILER(GCC) \
+    && !defined(__SSE2__)
+#define ENABLE_LLINT 0
+#endif
+
 /* On some of the platforms where we have a JIT, we want to also have the 
    low-level interpreter. */
 #if !defined(ENABLE_LLINT) \
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to