Fix for a regression in PPC-Altivec address generation

Fariborz Jahanian fjahanian@apple.com
Fri Feb 25 04:30:00 GMT 2005


Patch for PR target/13674 (Convert non-word aligned offset address 
using ld/std into indirect address)
caused regression in one of our vector apps. This little patch fixes 
it. For vectors, we always do the
indirect address generation as AltiVec addressing  is not offset-able. 
Patch for  PR target/13674
still generates an offset-able address of 0 which caused a constraint 
violation for altivecs.

Ok if testing went well?

- fariborz (fjahanian@apple.com)


ChangeLog:

2005-02-24  Fariborz Jahanian <fjahanian@apple.com>

         * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): 
Exclude
         vector types in deciding to use base reg for misaligned non-word
         ld/std.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fsf-patch-3765162.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050225/0d94ac1d/attachment.txt>
-------------- next part --------------





More information about the Gcc-patches mailing list