]> git.ipfire.org Git - thirdparty/gcc.git/commit
ii386: Add missing two element 64bit vector permutations [PR89021]
authorUros Bizjak <ubizjak@gmail.com>
Wed, 16 Jun 2021 14:07:01 +0000 (16:07 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 16 Jun 2021 14:07:52 +0000 (16:07 +0200)
commitdd835ec24be9b1a89c6b0c78673de88c81a23966
treed00dcd12c80de954e0b447c96f7542c11309e27e
parentc25e3bf87975280a603ff18fba387c6707ce4a95
ii386: Add missing two element 64bit vector permutations [PR89021]

In addition to V8QI permutations, several other missing permutations are
added for 64bit vector modes for TARGET_SSSE3 and TARGET_SSE4_1 targets.

2021-06-16  Uroš Bizjak  <ubizjak@gmail.com>

gcc/
PR target/89021
* config/i386/i386-expand.c (expand_vec_perm_2perm_pblendv):
Handle 64bit modes for TARGET_SSE4_1.
(expand_vec_perm_pshufb2): Handle 64bit modes for TARGET_SSSE3.
(expand_vec_perm_even_odd_pack): Handle V4HI mode.
(expand_vec_perm_even_odd_1) <case E_V4HImode>: Expand via
expand_vec_perm_pshufb2 for TARGET_SSSE3 and via
expand_vec_perm_even_odd_pack for TARGET_SSE4_1.
* config/i386/mmx.md (mmx_packusdw): New insn pattern.
gcc/config/i386/i386-expand.c
gcc/config/i386/mmx.md