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, ARM] Constant vector permute for the Neon vext insn


This time with the actual patch attached.



On 31 August 2012 15:23, Christophe Lyon <christophe.lyon@linaro.org> wrote:
> On 24 August 2012 10:54, Christophe Lyon <christophe.lyon@linaro.org> wrote:
>> On 24 August 2012 10:40, Richard Earnshaw <rearnsha@arm.com> wrote:
>>>
>>> Has this been tested for big-endian?
>>>
>>> R.
>>
>> No. I'll give a look at it and let you know.
>>
>> Christophe.
>
> Here is an updated patch, which now does no optimization in the
> big-endian case. Given the current status of big-endian + neon
> support, I guess it is not a serious problem.
>
> I have also added runtime tests.
>
> I will later post an additional patch (on top of this one), which
> enhances the tests so that they can be run in big-endian mode too.
>
> Christophe.
>
> 2012-08-31  Christophe Lyon  <christophe.lyon@linaro.org>
>
>         gcc/
>         * config/arm/arm.c (arm_evpc_neon_vext): New
>         function.
>         (arm_expand_vec_perm_const_1): Add call to
>         arm_evpc_neon_vext.
>
>
>         gcc/testsuite/
>         * gcc.target/arm/neon-vext.c
>         gcc.target/arm/neon-vext-execute.c:
>         New tests.

Attachment: gcc-vec-permute-vext.patch
Description: Binary data


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