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

Joseph S. Myers joseph@codesourcery.com
Tue Jan 7 22:18:00 GMT 2014


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.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list