summaryrefslogtreecommitdiffstats
path: root/compiler/dex/frontend.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-07-11 16:40:54 -0700
committerAndreas Gampe <agampe@google.com>2014-07-11 16:47:08 -0700
commitaf263df7f643e699abf622c64447d31bacc14c34 (patch)
tree42f5ff7177b3bf30b0665eb11652dbd1a6031717 /compiler/dex/frontend.cc
parentaebf3cda094f34cf846d19a7724bdc8005267c95 (diff)
downloadandroid_art-af263df7f643e699abf622c64447d31bacc14c34.tar.gz
android_art-af263df7f643e699abf622c64447d31bacc14c34.tar.bz2
android_art-af263df7f643e699abf622c64447d31bacc14c34.zip
ART: Change GenPCUseDefEncoding(), turn on Load Hoisting for ARM64
This defines the PC resource mask as empty, as the PC is not accessible on ARM64. Unify code paths with x86 in LoadStoreElimination and LoadHoisting. Change-Id: Iea8b9e666f306c7a6ff52b6c5bf7e05b35346b2c
Diffstat (limited to 'compiler/dex/frontend.cc')
-rw-r--r--compiler/dex/frontend.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc
index 711743d69b..d097500a77 100644
--- a/compiler/dex/frontend.cc
+++ b/compiler/dex/frontend.cc
@@ -96,7 +96,6 @@ static constexpr uint32_t kDisabledOptimizationsPerISA[] = {
~0U,
// 2 = kArm64. TODO(Arm64): enable optimizations once backend is mature enough.
(1 << kLoadStoreElimination) |
- (1 << kLoadHoisting) |
0,
// 3 = kThumb2.
0,