diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2024-05-21 14:10:43 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2024-05-22 10:25:13 +0800 |
commit | 73a167cfa225d5ee7092d41596b9fea1719898ff (patch) | |
tree | 7c399098dc15abbe4da587d11de8f82e54cc2bef /gcc/except.cc | |
parent | ffab721f3c9ecbb9831844d844ad257b69a77993 (diff) | |
download | gcc-73a167cfa225d5ee7092d41596b9fea1719898ff.zip gcc-73a167cfa225d5ee7092d41596b9fea1719898ff.tar.gz gcc-73a167cfa225d5ee7092d41596b9fea1719898ff.tar.bz2 |
i386: Disable ix86_expand_vecop_qihi2 when !TARGET_AVX512BW
Since vpermq is really slow, we should avoid using it for permutation
when vpmovwb is not available (needs AVX512BW) for ix86_expand_vecop_qihi2
and fall back to ix86_expand_vecop_qihi.
gcc/ChangeLog:
PR target/115069
* config/i386/i386-expand.cc (ix86_expand_vecop_qihi2):
Do not enable the optimization when AVX512BW is not enabled.
gcc/testsuite/ChangeLog:
PR target/115069
* gcc.target/i386/pr115069.c: New.
Diffstat (limited to 'gcc/except.cc')
0 files changed, 0 insertions, 0 deletions