mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
Fix over-optimisation of ST instruction.
This commit is contained in:
@ -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>
|
2001-06-22 Pauli <pauli@moreton.com.au>
|
||||||
|
|
||||||
* m68k-opc.c: Add wdebug instruction.
|
* m68k-opc.c: Add wdebug instruction.
|
||||||
|
@ -1149,14 +1149,6 @@ insert_st_syntax (insn, operand, mods, reg, value, errmsg)
|
|||||||
{
|
{
|
||||||
limm += arc_limm_fixup_adjust(insn);
|
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)
|
if (!(ST_SYNTAX(OP_REG,OP_REG,OP_NONE)
|
||||||
|| ST_SYNTAX(OP_REG,OP_LIMM,OP_NONE)
|
|| ST_SYNTAX(OP_REG,OP_LIMM,OP_NONE)
|
||||||
|| ST_SYNTAX(OP_REG,OP_REG,OP_SHIMM)
|
|| ST_SYNTAX(OP_REG,OP_REG,OP_SHIMM)
|
||||||
|
Reference in New Issue
Block a user