This is the mail archive of the gcc-patches@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: altivec: fix register names


>>>>> Aldy Hernandez writes:

Aldy> the register names need to be "%v0", not "v0" by default.  v0 should
Aldy> only be accessed through -mregnames.

Aldy> without the patch, you can't assemble any of the altivec code.

Aldy> 2001-11-09  Aldy Hernandez  <aldyh@redhat.com>

Aldy> * config/rs6000/rs6000.c (rs6000_reg_names): Prepend % to altivec
Aldy> registers.

	Why can't the default register name be an undecorated number
instead of prepending "v" or "%v"?  I know its not pretty, but it is the
shortest and consistent with the GPRs and FPRs.  Use -mregnames if you
want it to look pretty.

Thanks, David


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