commit | 7b7e524c86a67f7357bbcfd0e7bde07ded50cca2 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Feb 02 19:17:11 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Mon Feb 02 19:17:11 2015 -0800 |
tree | 24e3b5bb0af0d74f1d80fda69b56c93cb379e088 | |
parent | a1a0ffb72c4d7170dee9d46f055ca56932eedbae [diff] |
ART: Fix assembler_thumb_test Fix the inconsistent calls. This was bad practice, requiring that shape meant arm32 and thumb were not interchangeable. Also fix an error in the assembler itself for tst and teq. Change-Id: I50242801002aa81cc17bfaa53eb8b7c1d9488fbc
diff --git a/compiler/utils/arm/assembler_thumb2.cc b/compiler/utils/arm/assembler_thumb2.cc index 580614b..0920a3f 100644 --- a/compiler/utils/arm/assembler_thumb2.cc +++ b/compiler/utils/arm/assembler_thumb2.cc
@@ -951,6 +951,8 @@ rn = so.GetRegister(); break; } + case TST: + case TEQ: case MVN: { CHECK_EQ(rn, 0); rn = so.GetRegister();