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

Joseph S. Myers joseph@codesourcery.com
Thu Jan 9 18:39:00 GMT 2014

On Thu, 9 Jan 2014, Bill Schmidt wrote:

> +When -maltivec is used, rather than -maltivec=le or -maltivec=be, the
> +element order for Altivec intrinsics such as vec_splat, vec_extract,
> +and vec_insert will match array element order corresponding to the
> +endianness of the target.  That is, element zero identifies the
> +leftmost element in a vector register when targeting a big-endian
> +platform, and identifies the rightmost element in a vector register
> +when targeting a little-endian platform.

Use @option{} markup around option names and @code{} around intrinsic 
names, here and in the discussion of intrinsics under individual options.

Joseph S. Myers

More information about the Gcc-patches mailing list