summaryrefslogtreecommitdiffstats
path: root/compiler/compilers.cc
diff options
context:
space:
mode:
authorMatteo Franchin <matteo.franchin@arm.com>2014-05-06 10:10:30 +0100
committerbuzbee <buzbee@google.com>2014-05-07 14:54:16 -0700
commite45fb9e7976c8462b94a58ad60b006b0eacec49f (patch)
tree1d8139f92fb127fc931c6e5c9ca2ed2c8dc871b9 /compiler/compilers.cc
parent410d87ff51e9432768924d2f294592818f93c244 (diff)
downloadandroid_art-e45fb9e7976c8462b94a58ad60b006b0eacec49f.tar.gz
android_art-e45fb9e7976c8462b94a58ad60b006b0eacec49f.tar.bz2
android_art-e45fb9e7976c8462b94a58ad60b006b0eacec49f.zip
AArch64: Change arm64 backend to produce A64 code.
The arm backend clone is changed to produce A64 code. At the moment this backend can only compile simple methods (both leaf and non-leaf). Most of the work on the assembler (assembler_arm64.cc) has been done. Some work on the LIR generation layer (functions such as OpRegRegImm & friends) is still necessary. The register allocator still needs to be adapted to the A64 instruction set (it is mostly unchanged from the arm backend). Offsets for helpers in gen_invoke.cc still need to be changed to work on 64-bit. Change-Id: I388f99eeb832857981c7d9d5cb5b71af64a4b921
Diffstat (limited to 'compiler/compilers.cc')
-rw-r--r--compiler/compilers.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/compilers.cc b/compiler/compilers.cc
index 6bf0058196..79a85db79a 100644
--- a/compiler/compilers.cc
+++ b/compiler/compilers.cc
@@ -102,8 +102,7 @@ Backend* QuickCompiler::GetCodeGenerator(CompilationUnit* cu, void* compilation_
mir_to_lir = ArmCodeGenerator(cu, cu->mir_graph.get(), &cu->arena);
break;
case kArm64:
- // TODO(Arm64): replace the generator below with a proper one.
- mir_to_lir = ArmCodeGenerator(cu, cu->mir_graph.get(), &cu->arena);
+ mir_to_lir = Arm64CodeGenerator(cu, cu->mir_graph.get(), &cu->arena);
break;
case kMips:
mir_to_lir = MipsCodeGenerator(cu, cu->mir_graph.get(), &cu->arena);