diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2023-05-23 17:54:39 +0200 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2023-05-23 17:56:27 +0200 |
commit | c53f51005de1248ef42b08d32875abf73eb42c3c (patch) | |
tree | 171e4426bf9441e28f8d4a5cd8ae8eedfa059581 /gcc/value-range.h | |
parent | 751da44bd9032878e3dbebc63f20aafec8794bd2 (diff) | |
download | gcc-c53f51005de1248ef42b08d32875abf73eb42c3c.zip gcc-c53f51005de1248ef42b08d32875abf73eb42c3c.tar.gz gcc-c53f51005de1248ef42b08d32875abf73eb42c3c.tar.bz2 |
i386: Add V8QI and V4QImode partial vector shift operations
Add V8QImode and V4QImode vector shift patterns that call into
ix86_expand_vecop_qihi_partial. Generate special sequences
for constant count operands.
gcc/ChangeLog:
* config/i386/i386-expand.cc (ix86_expand_vecop_qihi_partial):
Call ix86_expand_vec_shift_qihi_constant for shifts
with constant count operand.
* config/i386/i386.cc (ix86_shift_rotate_cost):
Handle V4QImode and V8QImode.
* config/i386/mmx.md (<insn>v8qi3): New insn pattern.
(<insn>v4qi3): Ditto.
gcc/testsuite/ChangeLog:
* gcc.target/i386/vect-shiftv4qi.c: New test.
* gcc.target/i386/vect-shiftv8qi.c: New test.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions