Fix dg.torture tests with avx512
authorIlya Tocar <ilya.tocar@intel.com>
Wed, 5 Nov 2014 15:55:44 +0000 (15:55 +0000)
committerIlya Tocar <tocarip@gcc.gnu.org>
Wed, 5 Nov 2014 15:55:44 +0000 (18:55 +0300)
commitb92883d6ba13db87d893755f74532bfe5cb4ba72
tree572e7d693518c2b56dccef72f0472bf47f595958
parentd80b40be2ff06fbcbedd4d1c091a4b1ab4948ff4
Fix dg.torture tests with avx512

gcc/
* config/i386/i386.c (expand_vec_perm_pshufb): Try vpermq/vpermd
for 512-bit wide modes.
(expand_vec_perm_1): Use correct versions of patterns.
* config/i386/sse.md (avx512f_vec_dup_<mode>_1): New.
(vashr<mode>3<mask_name>): Split V8HImode and V16QImode.

From-SVN: r217138
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sse.md