This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Vectorise bswap[16,32,64]
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 24 Apr 2014 08:54:06 +0100
- Subject: Re: [PATCH][AArch64] Vectorise bswap[16,32,64]
- Authentication-results: sourceware.org; auth=none
- References: <534D172D dot 5090308 at arm dot com> <CALehDX7Q6M2bGQhiWHxWs2uvwsgFCJi0t0C70H-AE_OYhPpESw at mail dot gmail dot com> <534E3B86 dot 8090502 at arm dot com>
On 16 April 2014 09:12, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:
> On 15/04/14 18:45, Eric Christopher wrote:
>>
>> Testcase weirdness?
>>
>> for (i < 0; i < N; ++i)
>> {
>> arr[i] = i;
>> expect[i] = __builtin_bswap64 (i);
>> if (y) /* Avoid vectorisation. */
>> abort ();
>> }
>>
>> i < 0 :)
>>
>> duplicated in all 3 testcases btw.
>
> Oops, here it is fixed.
>
> Thanks for catching this.
> Kyrill
Fixed version OK /Marcus