[PATCH] microMIPS/GAS: Unbreak fixed-size delay slot handling
Richard Sandiford
rdsandiford@googlemail.com
Thu Oct 25 10:01:00 GMT 2012
OK, but:
"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> @@ -2315,7 +2326,8 @@ is_delay_slot_valid (const struct mips_o
> return TRUE;
>
> if (mo->pinfo == INSN_MACRO)
> - return TRUE;
> + return ((history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_16BIT) == 0
> + ? TRUE : FALSE);
please just use:
return (history[0].insn_mo->pinfo2 & INSN2_BRANCH_DELAY_16BIT) == 0;
Richard
More information about the Binutils
mailing list