diff options
author | Ian Rogers <irogers@google.com> | 2014-11-05 23:46:43 -0800 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-11-13 16:17:46 -0800 |
commit | d582fa4ea62083a7598dded5b82dc2198b3daac7 (patch) | |
tree | c76704c266ef4687eab425612ddf3fd24f93fe8d /compiler/optimizing/codegen_test.cc | |
parent | f20076ff813b8012096ff31af236d59db3c0f4e1 (diff) |
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
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
-rw-r--r-- | compiler/optimizing/codegen_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 <functional> +#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; |