On 24 August 2012 10:54, Christophe Lyon <christophe.l...@linaro.org> wrote:
> On 24 August 2012 10:40, Richard Earnshaw <rearn...@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.l...@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.changelog
Description: Binary data

Reply via email to