diff options
author | Alexandre Rames <alexandre.rames@arm.com> | 2014-10-23 10:03:10 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-10-23 13:44:42 +0100 |
commit | 5319defdf502fc4569316473846b83180ec08035 (patch) | |
tree | 909c6b29f065c79c8368a283946947cbb582d1c7 /compiler/optimizing/code_generator.cc | |
parent | 37a7188810e865a1ee0a7bdc2d01d62c1f1ea49e (diff) | |
download | android_art-5319defdf502fc4569316473846b83180ec08035.tar.gz android_art-5319defdf502fc4569316473846b83180ec08035.tar.bz2 android_art-5319defdf502fc4569316473846b83180ec08035.zip |
ART: optimizing compiler: initial support for ARM64.
The ARM64 port uses VIXL for code generation, to which it defers work
like label binding and branch resolving, register type coherency
checking, and immediate values handling.
Change-Id: I0a44508c0c991f472a63e67b3469cdd878fe1a68
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Signed-off-by: Alexandre Rames <alexandre.rames@arm.com>
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r-- | compiler/optimizing/code_generator.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index d5cd490d13..c4286a401b 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -17,6 +17,7 @@ #include "code_generator.h" #include "code_generator_arm.h" +#include "code_generator_arm64.h" #include "code_generator_x86.h" #include "code_generator_x86_64.h" #include "compiled_method.h" @@ -281,6 +282,9 @@ CodeGenerator* CodeGenerator::Create(ArenaAllocator* allocator, case kThumb2: { return new (allocator) arm::CodeGeneratorARM(graph); } + case kArm64: { + return new (allocator) arm64::CodeGeneratorARM64(graph); + } case kMips: return nullptr; case kX86: { |