From 2bbc953357ac5f62cc4ab2eb055e4392e47d0c3d Mon Sep 17 00:00:00 2001 From: Artem Serov Date: Fri, 21 Oct 2016 11:51:50 +0100 Subject: ARM: VIXL32: Arch specific operations. Tests which now start to pass: 550-checker-multiply-accumulate 564-checker-negbitwise Test: export ART_USE_VIXL_ARM_BACKEND=true && \ mma test-art-host dist && mma test-art-target dist Change-Id: I0b057486a8e0e48afbc52dd18b61ea16c671bec2 --- compiler/optimizing/optimizing_compiler.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'compiler/optimizing/optimizing_compiler.cc') diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 7a930cce71..499514de97 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -624,17 +624,14 @@ 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) { -#if defined(ART_ENABLE_CODEGEN_arm) && !defined(ART_USE_VIXL_ARM_BACKEND) +#if defined(ART_ENABLE_CODEGEN_arm) case kThumb2: case kArm: { +#ifndef ART_USE_VIXL_ARM_BACKEND arm::DexCacheArrayFixups* fixups = new (arena) arm::DexCacheArrayFixups(graph, codegen, stats); +#endif arm::InstructionSimplifierArm* simplifier = new (arena) arm::InstructionSimplifierArm(graph, stats); SideEffectsAnalysis* side_effects = new (arena) SideEffectsAnalysis(graph); @@ -643,7 +640,9 @@ void OptimizingCompiler::RunArchOptimizations(InstructionSet instruction_set, simplifier, side_effects, gvn, +#ifndef ART_USE_VIXL_ARM_BACKEND fixups +#endif }; RunOptimizations(arm_optimizations, arraysize(arm_optimizations), pass_observer); break; -- cgit v1.2.3-59-g8ed1b