sparc.c (sparc_expand_vec_perm_bmask): Use a scratch register as destination of bmask.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 15 Oct 2016 22:40:12 +0000 (22:40 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 15 Oct 2016 22:40:12 +0000 (22:40 +0000)
commitd0d48a06df15f21c17245803623e85a55ac652ad
tree0c2e19e7ad32ab196eb675b4986f298363b1c54d
parent68d01920587dc9424344514676f8000b4add9cd4
sparc.c (sparc_expand_vec_perm_bmask): Use a scratch register as destination of bmask.

* config/sparc/sparc.c (sparc_expand_vec_perm_bmask): Use a scratch
register as destination of bmask.
(vector_init_bshuffle): Likewise.
* config/sparc/sparc.md (vec_perm_constv8qi): Likewise.
(bmaskdi_vis): Enable only in 64-bit mode.

From-SVN: r241205
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sparc/bmaskbshuf-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sparc/bmaskbshuf-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sparc/bmaskbshuf.c [deleted file]