aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2021-06-14 20:56:18 +0200
committerUros Bizjak <ubizjak@gmail.com>2021-06-14 20:57:11 +0200
commit4986946f3b761dd4c3e0d79ca735c90e33f4bb83 (patch)
tree5eb905e4f2360921f7c74b695a422b82f86deade /gcc/builtins.c
parent93bfadf3a1db7d73e9ca4a4a3d40f7f81ea16d39 (diff)
downloadgcc-4986946f3b761dd4c3e0d79ca735c90e33f4bb83.zip
gcc-4986946f3b761dd4c3e0d79ca735c90e33f4bb83.tar.gz
gcc-4986946f3b761dd4c3e0d79ca735c90e33f4bb83.tar.bz2
i386: Split V2HImode *punpckwd to SSE instruction [PR101058]
V2HImode *punpckwd should not be split to the insn that depends on TARGET_MMX_WITH_SSE, since the later is disabled on 32bit targets. Also return true early from ix86_vectorize_vec_perm_const when testing with V2HI mode. *punpckwd can be used to implement all permutations. 2021-06-14 Uroš Bizjak <ubizjak@gmail.com> gcc/ PR target/101058 * config/i386/i386-expand.c (ix86_vectorize_vec_perm_const): Return true early when testing with V2HImode. * config/i386/mmx.md (*punpckwd): Split to sse2_pshuflw_1. gcc/testsuite/ PR target/101058 * gcc.target/i386/pr101058.c: New test.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions