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
commit2df31d595f87582f4ae6385d36d5db0da0ea61b2 (patch)
treec2d1ac7cb619aaa876c1400aa957ce21ef3fb168 /opcodes/arc-opc.c
parent3b7472a1ab83ed3a2d3a0fc37bf2f82aee42aeda (diff)
downloadbinutils-redhat-2df31d595f87582f4ae6385d36d5db0da0ea61b2.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 c67cd8881a..b05edf0012 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)