OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbe40f5
)
Set default dex2oat instruction set for x86-64 and ARM64.
author
Ian Rogers
<irogers@google.com>
Wed, 12 Mar 2014 18:51:02 +0000
(11:51 -0700)
committer
Ian Rogers
<irogers@google.com>
Wed, 12 Mar 2014 18:51:02 +0000
(11:51 -0700)
Change-Id: I43062dfadb8a4f51304fd06f0105d6af81cf0331
dex2oat/dex2oat.cc
patch
|
blob
|
history
diff --git
a/dex2oat/dex2oat.cc
b/dex2oat/dex2oat.cc
index
cc78816
..
327d3fb
100644
(file)
--- a/
dex2oat/dex2oat.cc
+++ b/
dex2oat/dex2oat.cc
@@
-738,8
+738,12
@@
static int dex2oat(int argc, char** argv) {
#if defined(__arm__)
InstructionSet instruction_set = kThumb2;
+#elif defined(__aarch64__)
+ InstructionSet instruction_set = kArm64;
#elif defined(__i386__)
InstructionSet instruction_set = kX86;
+#elif defined(__x86_64__)
+ InstructionSet instruction_set = kX86_64;
#elif defined(__mips__)
InstructionSet instruction_set = kMips;
#else