This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 04/20] MIPS/GAS: Spell out 0 referring to $0 as ZERO
- From: Paul Koning <paul_koning at dell dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 2 Dec 2010 14:19:48 -0500
- Subject: Re: [PATCH 04/20] MIPS/GAS: Spell out 0 referring to $0 as ZERO
- References: <alpine.DEB.1.10.1012012308500.14129@tp.orcam.me.uk>
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