diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-28 16:15:24 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-02-01 08:49:22 +0000 |
commit | 16a9c66bc538324ab8a31131e8a6a2a86d459cc0 (patch) | |
tree | b17109ba806fd40d015fb5641d0ab368a9b4b455 | |
parent | 1e421097f08876f5e2242be6f7a20db2aeb51692 (diff) |
Enable V4 JIT for aarch64
64-bit ARM boards (f.ex. with Tegra X1) are becoming common and
therefore enabling the JIT would be highly beneficial.
Change-Id: I5ee46258151885194f93d2528edddd5f51dff964
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-rw-r--r-- | src/3rdparty/masm/assembler/ARM64Assembler.h | 2 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4global_p.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/masm/assembler/ARM64Assembler.h b/src/3rdparty/masm/assembler/ARM64Assembler.h index 8ec9823f33..ad5acdbb85 100644 --- a/src/3rdparty/masm/assembler/ARM64Assembler.h +++ b/src/3rdparty/masm/assembler/ARM64Assembler.h @@ -2923,7 +2923,7 @@ public: return static_cast<int32_t*>(m_buffer.data())[location / sizeof(int32_t) - 1]; } -#if OS(LINUX) && COMPILER(GCC_OR_CLANG) +#if OS(LINUX) static inline void linuxPageFlush(uintptr_t begin, uintptr_t end) { __builtin___clear_cache(reinterpret_cast<char*>(begin), reinterpret_cast<char*>(end)); diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index b0850a9db3..921edbc883 100644 --- a/src/qml/jsruntime/qv4global_p.h +++ b/src/qml/jsruntime/qv4global_p.h @@ -104,7 +104,7 @@ inline double trunc(double d) { return d > 0 ? floor(d) : ceil(d); } # define V4_ENABLE_JIT # endif #elif defined(Q_PROCESSOR_ARM_64) -# if defined(Q_OS_LINUX) && 0 // TODO: test on Linux/aarch64 before enabling this +# if defined(Q_OS_LINUX) # define V4_ENABLE_JIT # endif #elif defined(Q_PROCESSOR_MIPS_32) && defined(Q_OS_LINUX) |