diff options
Diffstat (limited to 'compiler/utils/arm/assembler_thumb2.cc')
| -rw-r--r-- | compiler/utils/arm/assembler_thumb2.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/utils/arm/assembler_thumb2.cc b/compiler/utils/arm/assembler_thumb2.cc index 0920a3f59f..895cc26d1d 100644 --- a/compiler/utils/arm/assembler_thumb2.cc +++ b/compiler/utils/arm/assembler_thumb2.cc @@ -37,13 +37,6 @@ bool Thumb2Assembler::ShifterOperandCanHold(Register rd, switch (opcode) { case ADD: case SUB: - if (rn == SP) { - if (rd == SP) { - return immediate < (1 << 9); // 9 bits allowed. - } else { - return immediate < (1 << 12); // 12 bits. - } - } if (immediate < (1 << 12)) { // Less than (or equal to) 12 bits can always be done. return true; } |