summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-03-20 17:27:05 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2012-03-20 17:27:05 +0100
commite5069d626e754ca7dd2d269dbb57d83e3a0eca38 (patch)
treebc8243ddf7ed3298ce8108696fe0570a6af4ed42 /gcc/ChangeLog
parent6945a32ec3fb20b5bba0d98a419da26c1c6b62d4 (diff)
downloadgcc-e5069d626e754ca7dd2d269dbb57d83e3a0eca38.tar.gz
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
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bc9a5b86e38..f54b3206a2d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,15 @@
2012-03-20 Jakub Jelinek <jakub@redhat.com>
+ * 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.
+
PR target/52607
* config/i386/i386.md ("isa" attribute): Add avx2 and noavx2.
("enabled" attribute): Handle avx2 and noavx2 isas.