mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 23:57:03 +08:00
* config/tc-mips.c (is_delay_slot_valid): Simplify expression.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2012-11-01 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (is_delay_slot_valid): Simplify expression.
|
||||||
|
|
||||||
2012-11-01 Chao-ying Fu <fu@mips.com>
|
2012-11-01 Chao-ying Fu <fu@mips.com>
|
||||||
|
|
||||||
* config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit
|
* config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit
|
||||||
|
@ -2321,8 +2321,7 @@ is_delay_slot_valid (const struct mips_opcode *mo)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (mo->pinfo == INSN_MACRO)
|
if (mo->pinfo == INSN_MACRO)
|
||||||
return ((history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_16BIT) == 0
|
return (history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_16BIT) == 0;
|
||||||
? TRUE : FALSE);
|
|
||||||
if ((history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_32BIT) != 0
|
if ((history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_32BIT) != 0
|
||||||
&& micromips_insn_length (mo) != 4)
|
&& micromips_insn_length (mo) != 4)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user