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]
Other format: [Raw text]

Re: Using only regular register names in emitted assembly


Nikolaos Kavvadias <nkavv@physics.auth.gr> writes:
> how is it possible to emit regular register names (e.g. for the MIPS
> to use $31 and not $ra) when producing assembly output (with
> mips-elf-gcc -S)?

That seems an odd example.  gcc already uses $31 rather than $ra.
The only two mnemonic names it uses are $sp ($29) and $fp ($30).
But no, I'm afraid there's no way to change that on the command line.

Richard


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