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]
Other format: [Raw text]

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


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
joseph@codesourcery.com


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