]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386.c (vselect_insn): New variable.
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Mar 2012 16:27:05 +0000 (17:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Mar 2012 16:27:05 +0000 (17:27 +0100)
commite5069d626e754ca7dd2d269dbb57d83e3a0eca38
treebc8243ddf7ed3298ce8108696fe0570a6af4ed42
parent6945a32ec3fb20b5bba0d98a419da26c1c6b62d4
i386.c (vselect_insn): New variable.

* config/i386/i386.c (vselect_insn): New variable.
(init_vselect_insn): New function.
(expand_vselect, expand_vselect_insn): Add testing_p argument.
Call init_vselect_insn if vselect_insn is NULL.  Adjust
PATTERN (vselect_insn), instead of creating a new insn each time,
only emit a copy of it if not testing and recog has been successful.
(expand_vec_perm_pshufb, expand_vec_perm_1,
expand_vec_perm_pshuflw_pshufhw, expand_vec_perm_broadcast_1): Adjust
callers.

From-SVN: r185578
gcc/ChangeLog
gcc/config/i386/i386.c