diff options
author | 2016-10-17 10:03:36 +0100 | |
---|---|---|
committer | 2016-10-17 13:41:40 +0100 | |
commit | a7812ae7939b199392f874b24a52454bbd0c13f2 (patch) | |
tree | fcaff0417676c74ad7bf88e7c2571948e7eeef81 /compiler/optimizing/optimizing_compiler.cc | |
parent | a497095b67c4ba2969d0b2a13f6959125c89d2bc (diff) |
ARM: VIXL32: Pass initial ART tests with new code generator.
- Implement enough codegen to pass ~70 art/tests.
- When ART_USE_VIXL_ARM_BACKEND is defined:
- Blacklist known-to-fail target tests
- interpret-only everything except the tests themselves
- Set a flag to use the VIXL based ARM backend
Test: export ART_USE_VIXL_ARM_BACKEND=true && mma test-art-target && mma test-art-host
Change-Id: Ic8bc095e8449f10f97fa0511284790f36c20e276
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 4370a84bd2..b559a7a7ed 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -602,8 +602,13 @@ void OptimizingCompiler::RunArchOptimizations(InstructionSet instruction_set, UNUSED(codegen); // To avoid compilation error when compiling for svelte OptimizingCompilerStats* stats = compilation_stats_.get(); ArenaAllocator* arena = graph->GetArena(); +#ifdef ART_USE_VIXL_ARM_BACKEND + UNUSED(arena); + UNUSED(pass_observer); + UNUSED(stats); +#endif switch (instruction_set) { -#ifdef ART_ENABLE_CODEGEN_arm +#if defined(ART_ENABLE_CODEGEN_arm) && !defined(ART_USE_VIXL_ARM_BACKEND) case kThumb2: case kArm: { arm::DexCacheArrayFixups* fixups = |