From e45fb9e7976c8462b94a58ad60b006b0eacec49f Mon Sep 17 00:00:00 2001 From: Matteo Franchin Date: Tue, 6 May 2014 10:10:30 +0100 Subject: 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 --- compiler/dex/quick/codegen_util.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/dex/quick/codegen_util.cc') diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index fbf8a0cc5b..784dfaf96a 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -497,6 +497,7 @@ void Mir2Lir::InstallSwitchTables() { case kX86_64: bx_offset = 0; break; + case kArm64: case kMips: bx_offset = tab_rec->anchor->offset; break; -- cgit v1.2.3-59-g8ed1b