[PATCH,rs6000] Add -maltivec={le,be} options

Bill Schmidt wschmidt@linux.vnet.ibm.com
Tue Jan 7 23:59:00 GMT 2014


On Tue, 2014-01-07 at 22:18 +0000, Joseph S. Myers wrote:
> On Tue, 7 Jan 2014, Bill Schmidt wrote:
> 
> > Yes, sorry for not being more clear.  This is indeed for interpretation
> > of element numbers in Altivec intrinsics such as vec_splat, vec_extract,
> > vec_insert, and so forth.  By default these will match array element
> > order for the target endianness.  But with -maltivec=be for a little
> > endian target, we will force use of big-endian element order (matching
> > the behavior of the underlying hardware instructions).
> 
> Thanks for the explanation.  I think you should make the .texi 
> documentation say something more like this.
> 

Sure, I can wordsmith something along those lines.  Thanks for the
feedback!

Bill



More information about the Gcc-patches mailing list