Title: [165225] trunk/Source/WTF
- Revision
- 165225
- Author
- [email protected]
- Date
- 2014-03-06 15:40:48 -0800 (Thu, 06 Mar 2014)
Log Message
JSC should disable the JIT when building for ARMv7k
https://bugs.webkit.org/show_bug.cgi?id=129829
Reviewed by Oliver Hunt.
Added WTF_CPU_APPLE_ARMV7K CPU define. Disabled the JITs when
that feature define is set.
* wtf/Platform.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (165224 => 165225)
--- trunk/Source/WTF/ChangeLog 2014-03-06 23:37:50 UTC (rev 165224)
+++ trunk/Source/WTF/ChangeLog 2014-03-06 23:40:48 UTC (rev 165225)
@@ -1,3 +1,15 @@
+2014-03-06 Michael Saboff <[email protected]>
+
+ JSC should disable the JIT when building for ARMv7k
+ https://bugs.webkit.org/show_bug.cgi?id=129829
+
+ Reviewed by Oliver Hunt.
+
+ Added WTF_CPU_APPLE_ARMV7K CPU define. Disabled the JITs when
+ that feature define is set.
+
+ * wtf/Platform.h:
+
2014-03-06 Filip Pizlo <[email protected]>
Use the LLVM disassembler on ARM64 if we are enabling the FTL
Modified: trunk/Source/WTF/wtf/Platform.h (165224 => 165225)
--- trunk/Source/WTF/wtf/Platform.h 2014-03-06 23:37:50 UTC (rev 165224)
+++ trunk/Source/WTF/wtf/Platform.h 2014-03-06 23:40:48 UTC (rev 165225)
@@ -208,6 +208,7 @@
#define WTF_ARM_ARCH_VERSION 6
#elif defined(__ARM_ARCH_7A__) \
+ || defined(__ARM_ARCH_7K__) \
|| defined(__ARM_ARCH_7R__) \
|| defined(__ARM_ARCH_7S__)
#define WTF_ARM_ARCH_VERSION 7
@@ -254,6 +255,7 @@
#elif defined(__ARM_ARCH_6T2__) \
|| defined(__ARM_ARCH_7__) \
|| defined(__ARM_ARCH_7A__) \
+ || defined(__ARM_ARCH_7K__) \
|| defined(__ARM_ARCH_7M__) \
|| defined(__ARM_ARCH_7R__) \
|| defined(__ARM_ARCH_7S__)
@@ -307,6 +309,10 @@
#define WTF_CPU_ARM_VFP 1
#endif
+#if defined(__ARM_ARCH_7K__)
+#define WTF_CPU_APPLE_ARMV7K 1
+#endif
+
#if defined(__ARM_ARCH_7S__)
#define WTF_CPU_APPLE_ARMV7S 1
#endif
@@ -636,9 +642,10 @@
#define ENABLE_FTL_JIT 0
#endif
-/* The JIT is enabled by default on all x86, x86-64, ARM & MIPS platforms except Windows. */
+/* The JIT is enabled by default on all x86, x86-64, ARM & MIPS platforms except ARMv7k and Windows. */
#if !defined(ENABLE_JIT) \
&& (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)) \
+ && !CPU(APPLE_ARMV7K) \
&& !OS(WINCE) \
&& !(OS(WINDOWS) && CPU(X86_64))
#define ENABLE_JIT 1
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes