summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorDouglas Leung <douglas.leung@imgtec.com>2015-02-27 19:05:03 -0800
committerAndreas Gampe <agampe@google.com>2015-03-20 16:51:56 -0700
commit027f0ff64c2512b9a5f1f54f3fea1bec481eb0f5 (patch)
tree9202535f219d7343b4c26d5c43f0bcb7c31650df /dex2oat
parent6cc763c8b8157fb42dd44e1dfb84812546500dc1 (diff)
downloadart-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')
-rw-r--r--dex2oat/dex2oat.cc10
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);