aboutsummaryrefslogtreecommitdiff
path: root/opcodes
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
commitfe1f01309fd3661baf46df9fa49aac0750399e11 (patch)
treec6abba98e8e0ced860eb3e7be1ef35318ec4bd92 /opcodes
parent80febfb656dd6db6921a4391304f4c07e51a7843 (diff)
downloadgdb-fe1f01309fd3661baf46df9fa49aac0750399e11.zip
gdb-fe1f01309fd3661baf46df9fa49aac0750399e11.tar.gz
gdb-fe1f01309fd3661baf46df9fa49aac0750399e11.tar.bz2
Fix over-optimisation of ST instruction.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/arc-opc.c8
2 files changed, 5 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index ad04383..0e863fc 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-22 Stacey Sheldon <ssheldon@Catena.com>
+
+ * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST
+ instruction.
+
2001-06-22 Pauli <pauli@moreton.com.au>
* m68k-opc.c: Add wdebug instruction.
diff --git a/opcodes/arc-opc.c b/opcodes/arc-opc.c
index c67cd88..b05edf0 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)