summaryrefslogtreecommitdiff
path: root/src/arch/arm/insts/static_inst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/insts/static_inst.cc')
-rw-r--r--src/arch/arm/insts/static_inst.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/arch/arm/insts/static_inst.cc b/src/arch/arm/insts/static_inst.cc
index 6d52112e0..61a1ebde6 100644
--- a/src/arch/arm/insts/static_inst.cc
+++ b/src/arch/arm/insts/static_inst.cc
@@ -205,32 +205,6 @@ ArmStaticInstBase::shift_carry_rs(uint32_t base, uint32_t shamt,
}
-// Generate the appropriate carry bit for an addition operation
-bool
-ArmStaticInstBase::arm_add_carry(int32_t result, int32_t lhs, int32_t rhs) const
-{
- return findCarry(32, result, lhs, rhs);
-}
-
-// Generate the appropriate carry bit for a subtraction operation
-bool
-ArmStaticInstBase::arm_sub_carry(int32_t result, int32_t lhs, int32_t rhs) const
-{
- return findCarry(32, result, lhs, ~rhs);
-}
-
-bool
-ArmStaticInstBase::arm_add_overflow(int32_t result, int32_t lhs, int32_t rhs) const
-{
- return findOverflow(32, result, lhs, rhs);
-}
-
-bool
-ArmStaticInstBase::arm_sub_overflow(int32_t result, int32_t lhs, int32_t rhs) const
-{
- return findOverflow(32, result, lhs, ~rhs);
-}
-
void
ArmStaticInstBase::printReg(std::ostream &os, int reg) const
{