From d582fa4ea62083a7598dded5b82dc2198b3daac7 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Wed, 5 Nov 2014 23:46:43 -0800 Subject: Instruction set features for ARM64, MIPS and X86. Also, refactor how feature strings are handled so they are additive or subtractive. Make MIPS have features for FPU 32-bit and MIPS v2. Use in the quick compiler rather than #ifdefs that wouldn't have worked in cross-compilation. Add SIMD features for x86/x86-64 proposed in: https://android-review.googlesource.com/#/c/112370/ Bug: 18056890 Change-Id: Ic88ff84a714926bd277beb74a430c5c7d5ed7666 --- compiler/optimizing/codegen_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing/codegen_test.cc') diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 9752b1d34b..fee3ea6f8c 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -16,6 +16,7 @@ #include +#include "arch/instruction_set.h" #include "base/macros.h" #include "builder.h" #include "code_generator_arm.h" @@ -25,7 +26,6 @@ #include "common_compiler_test.h" #include "dex_file.h" #include "dex_instruction.h" -#include "instruction_set.h" #include "nodes.h" #include "optimizing_unit_test.h" #include "prepare_for_register_allocation.h" @@ -39,7 +39,7 @@ namespace art { class InternalCodeAllocator : public CodeAllocator { public: - InternalCodeAllocator() { } + InternalCodeAllocator() : size_(0) { } virtual uint8_t* Allocate(size_t size) { size_ = size; -- cgit v1.2.3