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/AARCH64] make bswap vector consistent with scalar name


On 24 November 2014 at 17:49, Andrew Pinski <pinskia@gmail.com> wrote:
> I had some local patches in my tree which adds a bswap tree code.
> This breaks the aarch64 back-end vectorizing of byteswaps as we use
> the standard mechanism to see if a tree code vectorizes (optabs).
> Since it make sense to have consistent of the pattern names between
> the vector version and the scalar version, I am proposing this patch
> to make them consistent.
>
> OK?  Build and tested on aarch64-elf with no regressions.
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
>         * config/aarch64/aarch64-simd-builtins.def (bswap): Use CF2 rather
>         than CF10 so 2 is appended on the code.
>         * config/aarch64/aarch64-simd.md (bswap<mode>): Rename to ...
>         (bswap<mode>2): This so it matches for the optabs.

OK /Marcus


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