[PATCH] MIPS gas: Cleanup address insn conditionals
cgd@broadcom.com
cgd@broadcom.com
Mon Jun 16 04:52:00 GMT 2003
At Sun, 15 Jun 2003 20:23:25 +0000 (UTC), "Thiemo Seufer" wrote:
> +#define ADDRESS_ADD_INSN \
> + (HAVE_32BIT_ADDRESSES ? HAVE_NEWABI ? "add" : "addu" : "daddu")
> +
> +#define ADDRESS_ADDI_INSN \
> + (HAVE_32BIT_ADDRESSES ? HAVE_NEWABI ? "addi" : "addiu" : "daddiu")
Could you please add more parens to these?
If somebody has to go look at the C operator precedence rules to tell
what is meant, something is wrong. (yes, *I*'d have to go look at the
rules to figure out what the above means, unless i derive it from my
understanding the ABIs in question.)
I know, it's the way the code was before, but that doesn't mean it was
good...
cgd
More information about the Binutils
mailing list