[PATCH 04/20] MIPS/GAS: Spell out 0 referring to $0 as ZERO

Paul Koning paul_koning@dell.com
Thu Dec 2 19:19:00 GMT 2010


On Dec 2, 2010, at 2:17 PM, Maciej W. Rozycki wrote:

> Hi,
> 
> Here is a (supposedly) exhaustive change to macro() that makes $0 
> register references in macro_build() and move_register() calls to be 
> spelled as ZERO for better clarity and difference to places where an 
> immediate value of 0 is referred to.  I have not changed other places, 
> typically pieces of code like:
> 
>  treg = 0;
> 
> or:
> 
>  if (sreg == 0)
> 
> whose reference to $0 is obvious.

I wouldn't say those are a whole lot more obvious than the ones you did change...

	paul



More information about the Binutils mailing list