summaryrefslogtreecommitdiffstats
path: root/compiler/dex/frontend.cc
diff options
context:
space:
mode:
authorMatteo Franchin <matteo.franchin@arm.com>2014-06-05 15:10:35 +0100
committerMatteo Franchin <matteo.franchin@arm.com>2014-06-09 17:25:54 +0100
commit5acc8b0e23b12b481a9e97f84d084b79cd544319 (patch)
tree6aea395d52605abc4d6da4fa51d5c9875de871a4 /compiler/dex/frontend.cc
parentfbc2b1747e7e3d06f214f801f53218a1d4bf2dbe (diff)
downloadandroid_art-5acc8b0e23b12b481a9e97f84d084b79cd544319.tar.gz
android_art-5acc8b0e23b12b481a9e97f84d084b79cd544319.tar.bz2
android_art-5acc8b0e23b12b481a9e97f84d084b79cd544319.zip
AArch64: fix and enable sparse- and packed-switch.
Changed implementation of sparse- and packed-switch to use w and x registers appropriately. Also added a couple of utilities to obtain a w/s register corresponding to a given x/d register and viceversa. Change-Id: I485a110f6e91b09227d9e2a0b8b14224a10bca90
Diffstat (limited to 'compiler/dex/frontend.cc')
-rw-r--r--compiler/dex/frontend.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc
index 547c0f6b30..a366a201c6 100644
--- a/compiler/dex/frontend.cc
+++ b/compiler/dex/frontend.cc
@@ -157,6 +157,8 @@ int arm64_support_list[] = {
Instruction::GOTO,
Instruction::GOTO_16,
Instruction::GOTO_32,
+ Instruction::PACKED_SWITCH,
+ Instruction::SPARSE_SWITCH,
Instruction::IF_EQ,
Instruction::IF_NE,
Instruction::IF_LT,
@@ -248,8 +250,6 @@ int arm64_support_list[] = {
Instruction::MOVE_OBJECT,
Instruction::MOVE_OBJECT_FROM16,
Instruction::MOVE_OBJECT_16,
- // Instruction::PACKED_SWITCH,
- // Instruction::SPARSE_SWITCH,
// Instruction::MOVE_RESULT,
// Instruction::MOVE_RESULT_WIDE,
// Instruction::MOVE_RESULT_OBJECT,