summaryrefslogtreecommitdiff
path: root/opcodes/arc-opc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-06-22 08:55:05 +0000
committerNick Clifton <nickc@redhat.com>2001-06-22 08:55:05 +0000
commitd4c0d6fcb1edf6bdaf543e5a87d3a04a130939a1 (patch)
tree5c120c3b2c3a2af995f20d8941af2debfbc3e77d /opcodes/arc-opc.c
parent782a711c55d080be811c1fa35351e852b9b1aff4 (diff)
downloadgdb-d4c0d6fcb1edf6bdaf543e5a87d3a04a130939a1.tar.gz
Fix over-optimisation of ST instruction.
Diffstat (limited to 'opcodes/arc-opc.c')
-rw-r--r--opcodes/arc-opc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/opcodes/arc-opc.c b/opcodes/arc-opc.c
index c67cd8881a6..b05edf00126 100644
--- a/opcodes/arc-opc.c
+++ b/opcodes/arc-opc.c
@@ -1149,14 +1149,6 @@ insert_st_syntax (insn, operand, mods, reg, value, errmsg)
{
limm += arc_limm_fixup_adjust(insn);
}
- if (ST_SYNTAX(OP_LIMM,OP_SHIMM,OP_SHIMM) && (shimm * 2 == limm))
- {
- insn &= ~C(-1);
- limm_p = 0;
- limm = 0;
- insn |= C(ARC_REG_SHIMM);
- ls_operand[LS_VALUE] = OP_SHIMM;
- }
if (!(ST_SYNTAX(OP_REG,OP_REG,OP_NONE)
|| ST_SYNTAX(OP_REG,OP_LIMM,OP_NONE)
|| ST_SYNTAX(OP_REG,OP_REG,OP_SHIMM)