summaryrefslogtreecommitdiffstats
path: root/patchoat
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-11-05 23:46:43 -0800
committerIan Rogers <irogers@google.com>2014-11-13 16:17:46 -0800
commitd582fa4ea62083a7598dded5b82dc2198b3daac7 (patch)
treec76704c266ef4687eab425612ddf3fd24f93fe8d /patchoat
parentf20076ff813b8012096ff31af236d59db3c0f4e1 (diff)
downloadart-d582fa4ea62083a7598dded5b82dc2198b3daac7.zip
art-d582fa4ea62083a7598dded5b82dc2198b3daac7.tar.gz
art-d582fa4ea62083a7598dded5b82dc2198b3daac7.tar.bz2
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 'patchoat')
-rw-r--r--patchoat/patchoat.cc4
-rw-r--r--patchoat/patchoat.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc
index 75160ca..6b6d11e 100644
--- a/patchoat/patchoat.cc
+++ b/patchoat/patchoat.cc
@@ -34,12 +34,8 @@
#include "elf_file_impl.h"
#include "gc/space/image_space.h"
#include "image.h"
-#include "instruction_set.h"
-#include "mirror/art_field.h"
#include "mirror/art_field-inl.h"
-#include "mirror/art_method.h"
#include "mirror/art_method-inl.h"
-#include "mirror/object.h"
#include "mirror/object-inl.h"
#include "mirror/reference.h"
#include "noop_compiler_callbacks.h"
diff --git a/patchoat/patchoat.h b/patchoat/patchoat.h
index 0ceef64..5a3545b 100644
--- a/patchoat/patchoat.h
+++ b/patchoat/patchoat.h
@@ -17,14 +17,14 @@
#ifndef ART_PATCHOAT_PATCHOAT_H_
#define ART_PATCHOAT_PATCHOAT_H_
+#include "arch/instruction_set.h"
#include "base/macros.h"
#include "base/mutex.h"
-#include "instruction_set.h"
-#include "os.h"
#include "elf_file.h"
#include "elf_utils.h"
#include "gc/accounting/space_bitmap.h"
#include "gc/heap.h"
+#include "os.h"
#include "utils.h"
namespace art {