This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Better mnemonic for PowerPC


On Tue, Jul 25, 2000 at 03:53:11PM -0400, Pavel Roskin wrote:
> Hello!
> 
> Can I make any version of GCC (maybe an experimental snapshot) output
> PowerPC instructions in a less terse format?
> 
> I mean, instead of "addi 3,4,5" (which is IMHO not very user-friendly) I'd
> like to see "addi %r3,%r4,5". Both mnemonics are supported by gas (at
> least by the recent versions).
> 
> "-mnew-mnemonics" doesn't have the desired effect with gcc-2.95.2

But -mregnames does.  What -mnew-mnemonics controls is whether the instructions
use the PowerPC mnemonics vs. the Power mnemonics (add vs. cax).

-- 
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]