# Re: \[PATCH 10/15\] powerpc: fixes for instructions not using correct register naming

- From: Benjamin Herrenschmidt \<benh@kernel.crashing.org\>
- Date: 2012-06-09 07:17:32 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/06/9469633
- Thread: https://ratatoskr.run/linuxppc-dev/2012/06/9469623/t.md

```text
On Sat, 2012-06-09 at 08:53 +0200, Andreas Schwab wrote:
> 
> > The macro system we use cannot do that (it will prefix with REG_),
> since
> > both arguments are registers we must use R0 in this case.
> 
> So define a ___PPC_RA0 macro that doesn't do that.

But then we lose the checking for other instructions :-) Unless we start
being nasty and defining a different macro form for RA which can be 0...

I'd rather not go there unless we absolutely have to...

What would be nice also would be if we had a gas option to enforce the
use of % for register names. We'd probably have to struggle a little bit
with gcc inline asm in a case or two though.

Cheers,
Ben.
```
