diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2014-07-31 15:31:24 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2014-07-31 15:31:24 +0000 |
commit | 988fa69392bb0edcece6db817ef5a3dfb09907fa (patch) | |
tree | c06f413cb718bc0d68ffa6007f06a2d0c7f11744 /gcc/tree.c | |
parent | 08938c896fd1a409bd70218154b7073e81de398e (diff) | |
download | gcc-988fa69392bb0edcece6db817ef5a3dfb09907fa.zip gcc-988fa69392bb0edcece6db817ef5a3dfb09907fa.tar.gz gcc-988fa69392bb0edcece6db817ef5a3dfb09907fa.tar.bz2 |
[AArch64_be] Fix vec_select hi/lo mask confusions.
gcc/
* 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.
From-SVN: r213378
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions