diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-06-04 11:20:02 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-06-04 11:20:02 +0200 |
commit | b7dd2e4eeb44bc8678ecde8a6c7401de85e63561 (patch) | |
tree | cf544ef47edabc72f2243d560131be9e1f0fdcdf /gcc/fortran/parse.c | |
parent | 3011f1046628d5ce5e6e5f8e917a6aea1385fdc3 (diff) | |
download | gcc-b7dd2e4eeb44bc8678ecde8a6c7401de85e63561.zip gcc-b7dd2e4eeb44bc8678ecde8a6c7401de85e63561.tar.gz gcc-b7dd2e4eeb44bc8678ecde8a6c7401de85e63561.tar.bz2 |
x86: Fix ix86_expand_vector_init for V*TImode [PR100887]
We have vec_initv4tiv2ti and vec_initv2titi patterns which call
ix86_expand_vector_init and assume it works for those modes. For the
case of construction from two half-sized vectors, the code assumes it
will always succeed, but we have only insn patterns with SImode and DImode
element types. QImode and HImode element types are already handled
by performing it with same sized vectors with SImode elements and the
following patch extends that to V*TImode vectors.
2021-06-04 Jakub Jelinek <jakub@redhat.com>
PR target/100887
* config/i386/i386-expand.c (ix86_expand_vector_init): Handle
concatenation from half-sized modes with TImode elements.
* gcc.target/i386/pr100887.c: New test.
Diffstat (limited to 'gcc/fortran/parse.c')
0 files changed, 0 insertions, 0 deletions