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: [AArch64_be] Fix vec_select hi/lo mask confusions.


On 30 July 2014 11:10, James Greenhalgh <james.greenhalgh@arm.com> wrote:

> 2014-07-30  James Greenhalgh  <james.greenhalgh@arm.com>
>
>         * config/aarch64/aarch64.c (aarch64_simd_vect_par_cnst_half): Vary
>         the generated mask based on BYTES_BIG_ENDIAN.
>         (aarch64_simd_check_vect_par_cnst_half): New.
>         * config/aarch64/aarch64-protos.h
>         (aarch64_simd_check_vect_par_cnst_half): New.
>         * config/aarch64/predicates.md (vect_par_cnst_hi_half): Refactor
>         the check out to aarch64_simd_check_vect_par_cnst_half.
>         (vect_par_cnst_lo_half): Likewise.
>         * config/aarch64/aarch64-simd.md
>         (aarch64_simd_move_hi_quad_<mode>): Always use vec_par_cnst_lo_half.
>         (move_hi_quad_<mode>): Always generate a low mask.

OK with me /Marcus


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