diff options
author | Douglas Leung <douglas.leung@imgtec.com> | 2015-02-27 19:05:03 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-03-20 16:51:56 -0700 |
commit | 027f0ff64c2512b9a5f1f54f3fea1bec481eb0f5 (patch) | |
tree | 9202535f219d7343b4c26d5c43f0bcb7c31650df /dex2oat/dex2oat.cc | |
parent | 6cc763c8b8157fb42dd44e1dfb84812546500dc1 (diff) | |
download | art-027f0ff64c2512b9a5f1f54f3fea1bec481eb0f5.zip art-027f0ff64c2512b9a5f1f54f3fea1bec481eb0f5.tar.gz art-027f0ff64c2512b9a5f1f54f3fea1bec481eb0f5.tar.bz2 |
ART: Add Mips32r6 backend support
Add Mips32r6 compiler support.
Don't use deprecated Mips32r2 instructions if running in Mips32r6
mode.
Change-Id: I54e689aa8c026ccb75c4af515aa2794f471c9f67
Diffstat (limited to 'dex2oat/dex2oat.cc')
-rw-r--r-- | dex2oat/dex2oat.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 67c96fd..44b07e2 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -877,15 +877,7 @@ class Dex2Oat FINAL { } if (compiler_filter_string == nullptr) { - if (instruction_set_ == kMips && - reinterpret_cast<const MipsInstructionSetFeatures*>(instruction_set_features_.get())-> - IsR6()) { - // For R6, only interpreter mode is working. - // TODO: fix compiler for Mips32r6. - compiler_filter_string = "interpret-only"; - } else { - compiler_filter_string = "speed"; - } + compiler_filter_string = "speed"; } CHECK(compiler_filter_string != nullptr); |