From a7812ae7939b199392f874b24a52454bbd0c13f2 Mon Sep 17 00:00:00 2001 From: Scott Wakeling Date: Mon, 17 Oct 2016 10:03:36 +0100 Subject: 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 --- compiler/optimizing/optimizing_compiler.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing/optimizing_compiler.cc') 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 = -- cgit v1.2.3-59-g8ed1b