aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2020-10-19 16:04:39 +0800
committerliuhongt <hongtao.liu@intel.com>2020-11-17 11:29:46 +0800
commit287cc750b0887e86cb309d976b17c7ee95f7ad48 (patch)
tree2b74f2bd1f6298cde8fb19861b048764c0067bad /gcc/final.c
parent3072125a40ccfc139a92d44fb3911a8a7186b025 (diff)
downloadgcc-287cc750b0887e86cb309d976b17c7ee95f7ad48.zip
gcc-287cc750b0887e86cb309d976b17c7ee95f7ad48.tar.gz
gcc-287cc750b0887e86cb309d976b17c7ee95f7ad48.tar.bz2
Support variable index vec_set.
gcc/ChangeLog: PR target/97194 * config/i386/i386-expand.c (ix86_expand_vector_set_var): New function. * config/i386/i386-protos.h (ix86_expand_vector_set_var): New Decl. * config/i386/predicates.md (vec_setm_operand): New predicate, true for const_int_operand or register_operand under TARGET_AVX2. * config/i386/sse.md (vec_set<mode>): Support both constant and variable index vec_set. gcc/testsuite/ChangeLog: * gcc.target/i386/avx2-vec-set-1.c: New test. * gcc.target/i386/avx2-vec-set-2.c: New test. * gcc.target/i386/avx512bw-vec-set-1.c: New test. * gcc.target/i386/avx512bw-vec-set-2.c: New test. * gcc.target/i386/avx512f-vec-set-2.c: New test. * gcc.target/i386/avx512vl-vec-set-2.c: New test.
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions