]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix over-optimisation of ST instruction.
authorNick Clifton <nickc@redhat.com>
Fri, 22 Jun 2001 08:55:05 +0000 (08:55 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 22 Jun 2001 08:55:05 +0000 (08:55 +0000)
opcodes/ChangeLog
opcodes/arc-opc.c

index ad043836f5b8bb809a7c8a2426387d508a65f0fd..0e863fcc1168e230ea1450dc678b3ab2f67cfa6a 100644 (file)
@@ -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.
index c67cd8881a6153fea5d1051b47f0d7ad74d1d37f..b05edf001269c8b5613e115d3762cde4287d4a0c 100644 (file)
@@ -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)