summaryrefslogtreecommitdiff
path: root/compiler/optimizing/common_arm.h
diff options
context:
space:
mode:
author Anton Kirilov <anton.kirilov@linaro.org> 2017-02-21 18:10:26 +0000
committer Anton Kirilov <anton.kirilov@linaro.org> 2017-07-18 20:19:58 +0100
commit420ee30f4c0f8a5bb6048df4fa27e5432ded893b (patch)
treefd72cba9ed09cf78e9377677fd144821fd9f6743 /compiler/optimizing/common_arm.h
parent2f0ac4fb4486e7d9e5c1545d45a2b9b818a80dc3 (diff)
ARM: VIXL32: Merge (un)signed extensions and integer additions
Test: m test-art-target-run-test-551-checker-shifter-operand Change-Id: I041e80e51bf0954b38ab20dfa9b14aa7f6d6c53b
Diffstat (limited to 'compiler/optimizing/common_arm.h')
-rw-r--r--compiler/optimizing/common_arm.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/optimizing/common_arm.h b/compiler/optimizing/common_arm.h
index 01304ac35b..8fcceedcf6 100644
--- a/compiler/optimizing/common_arm.h
+++ b/compiler/optimizing/common_arm.h
@@ -227,14 +227,6 @@ inline Location LocationFrom(const vixl::aarch32::SRegister& low,
return Location::FpuRegisterPairLocation(low.GetCode(), high.GetCode());
}
-inline bool ShifterOperandSupportsExtension(HInstruction* instruction) {
- DCHECK(HasShifterOperand(instruction, kArm));
- // TODO: HAdd applied to the other integral types could make use of
- // the SXTAB, SXTAH, UXTAB and UXTAH instructions.
- return instruction->GetType() == Primitive::kPrimLong &&
- (instruction->IsAdd() || instruction->IsSub());
-}
-
} // namespace helpers
} // namespace arm
} // namespace art