diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-08-12 11:26:57 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-08-12 11:26:57 +0200 |
commit | 04b4f3152593f85b05974528d1607619dd77d702 (patch) | |
tree | 0eb7800d2424aa21abacf7343a299d158b6525f8 /gcc/fortran/openmp.c | |
parent | 01f8a8b48e50cbaa68b878d9f8a330b8c0736bed (diff) | |
download | gcc-04b4f3152593f85b05974528d1607619dd77d702.zip gcc-04b4f3152593f85b05974528d1607619dd77d702.tar.gz gcc-04b4f3152593f85b05974528d1607619dd77d702.tar.bz2 |
i386: Fix up V32HImode permutations with -mno-avx512bw [PR101860]
My patch from yesterday apparently broke some V32HImode permutations
as the testcase shows.
The first function assumed it would never be called in d->testing_p mode
and so went right away into emitting the code.
And the second one assumed V32HImode would never reach it, which now
can for the !TARGET_AVX512BW case. We don't have a instruction
in that case though.
2021-08-12 Jakub Jelinek <jakub@redhat.com>
PR target/101860
* config/i386/i386-expand.c (ix86_expand_vec_one_operand_perm_avx512):
If d->testing_p, return true after performing checks instead of
actually expanding the insn.
(expand_vec_perm_broadcast_1): Handle V32HImode - assert
!TARGET_AVX512BW and return false.
* gcc.target/i386/avx512f-pr101860.c: New test.
Diffstat (limited to 'gcc/fortran/openmp.c')
0 files changed, 0 insertions, 0 deletions