This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, AArch64] Make reduc_* operations bigendian-safe.
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Tejas Belagod <tbelagod at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Nov 2013 09:24:32 +0000
- Subject: Re: [Patch, AArch64] Make reduc_* operations bigendian-safe.
- Authentication-results: sourceware.org; auth=none
- References: <52865154 dot 3060602 at arm dot com>
On 15 November 2013 16:52, Tejas Belagod <tbelagod@arm.com> wrote:
> Hi,
>
> The attached patch fixes all the reduc_* expansions to be BE-safe by moving
> the scalar result to the LSB where RTL expects it. While moving it also adds
> patterns that will give gcc the freedom to choose between 2-lane-situations
> like
>
> ADDP Dd, Vd.2D
> DUP Vd.2D, Vd.d[0]
OK
Thanks /Marcus