49 lines
1.7 KiB
Diff
49 lines
1.7 KiB
Diff
Index: qtwebkit-opensource-src-5.2.0/Source/WTF/wtf/dtoa/utils.h
|
|
===================================================================
|
|
--- qtwebkit-opensource-src-5.2.0.orig/Source/WTF/wtf/dtoa/utils.h
|
|
+++ qtwebkit-opensource-src-5.2.0/Source/WTF/wtf/dtoa/utils.h
|
|
@@ -49,7 +49,7 @@
|
|
defined(__ARMEL__) || \
|
|
defined(_MIPS_ARCH_MIPS32R2)
|
|
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
|
-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA)
|
|
+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(AARCH64)
|
|
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
|
#elif defined(_M_IX86) || defined(__i386__)
|
|
#if defined(_WIN32)
|
|
Index: qtwebkit-opensource-src-5.2.0/Source/WTF/wtf/Platform.h
|
|
===================================================================
|
|
--- qtwebkit-opensource-src-5.2.0.orig/Source/WTF/wtf/Platform.h
|
|
+++ qtwebkit-opensource-src-5.2.0/Source/WTF/wtf/Platform.h
|
|
@@ -167,6 +167,11 @@
|
|
#define WTF_CPU_X86_64 1
|
|
#endif
|
|
|
|
+/* CPU(AARCH64) - AArch64 */
|
|
+#if defined(__aarch64__)
|
|
+#define WTF_CPU_AARCH64 1
|
|
+#endif
|
|
+
|
|
/* CPU(ARM) - ARM, any version*/
|
|
#define WTF_ARM_ARCH_AT_LEAST(N) (CPU(ARM) && WTF_ARM_ARCH_VERSION >= N)
|
|
|
|
@@ -322,7 +327,7 @@
|
|
|
|
#endif /* ARM */
|
|
|
|
-#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC)
|
|
+#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(SPARC) || CPU(AARCH64)
|
|
#define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
|
|
#endif
|
|
|
|
@@ -725,7 +730,8 @@
|
|
|| CPU(ALPHA) \
|
|
|| CPU(SPARC64) \
|
|
|| CPU(S390X) \
|
|
- || CPU(PPC64)
|
|
+ || CPU(PPC64) \
|
|
+ || CPU(AARCH64)
|
|
#define WTF_USE_JSVALUE64 1
|
|
#else
|
|
#define WTF_USE_JSVALUE32_64 1
|