PPC questions

Peter Bergner bergner@vnet.ibm.com
Wed Dec 17 16:34:00 GMT 2008


On Tue, 2008-12-16 at 07:29 -0800, Ian Lance Taylor wrote:
> When I first wrote the PowerPC assembler port, it only accepted
> numbers, because that was how the AIX assembler behaved.  If you
> wanted names you needed to use .S files and #define (the header file
> with the #define's is gcc/config/rs6000/ppc-asm.h).  Somebody later
> added the ability to use register names, along with the -mregnames and
> -mno-regnames options.
> 
> I don't know anything about the Power7 patch, but I assume it was an
> oversight that the new register names were not listed in the
> pre_defined_registers table.

I didn't know about gcc/config/rs6000/ppc-asm.h when I submitted the
POWER7 patch.  I'll work on patching that to support them.

Peter





More information about the Binutils mailing list