This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,rs6000] Add -maltivec={le,be} options
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 9 Jan 2014 18:39:37 +0000
- Subject: Re: [PATCH,rs6000] Add -maltivec={le,be} options
- Authentication-results: sourceware.org; auth=none
- References: <1389128467 dot 18332 dot 10 dot camel at gnopaine> <Pine dot LNX dot 4 dot 64 dot 1401072147520 dot 27342 at digraph dot polyomino dot org dot uk> <1389132375 dot 18332 dot 18 dot camel at gnopaine> <Pine dot LNX dot 4 dot 64 dot 1401072217130 dot 27342 at digraph dot polyomino dot org dot uk> <1389139166 dot 18332 dot 19 dot camel at gnopaine> <CAGWvnykwt78akutaU0STjA+hVdaoftY7XnW6pX+Br+sGvyfHCg at mail dot gmail dot com> <1389291250 dot 4862 dot 10 dot camel at oc8801110288 dot ibm dot com>
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
- References:
- [PATCH,rs6000] Add -maltivec={le,be} options
- Re: [PATCH,rs6000] Add -maltivec={le,be} options
- Re: [PATCH,rs6000] Add -maltivec={le,be} options
- Re: [PATCH,rs6000] Add -maltivec={le,be} options
- Re: [PATCH,rs6000] Add -maltivec={le,be} options
- Re: [PATCH,rs6000] Add -maltivec={le,be} options
- Re: [PATCH,rs6000] Add -maltivec={le,be} options