diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2024-09-02 15:00:22 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2024-09-03 16:45:05 +0800 |
commit | 9b312595f9ac073f55d858b6f833097608b40bba (patch) | |
tree | 95ca7fe3221c856e4b7e723936d1e3d3af54b856 /gcc/tree-pass.h | |
parent | 14b65af6b400284a937e1d3be45579ee8cf8c32b (diff) | |
download | gcc-9b312595f9ac073f55d858b6f833097608b40bba.zip gcc-9b312595f9ac073f55d858b6f833097608b40bba.tar.gz gcc-9b312595f9ac073f55d858b6f833097608b40bba.tar.bz2 |
i386: Fix vfpclassph non-optimizied intrin
The intrin for non-optimized got a typo in mask type, which will cause
the high bits of __mmask32 being unexpectedly zeroed.
The test does not fail under O0 with current 1b since the testcase is
wrong. We need to include avx512-mask-type.h after SIZE is defined, or
it will always be __mmask8. That problem also happened in AVX10.2 testcases.
I will write a seperate patch to fix that.
gcc/ChangeLog:
* config/i386/avx512fp16intrin.h
(_mm512_mask_fpclass_ph_mask): Correct mask type to __mmask32.
(_mm512_fpclass_ph_mask): Ditto.
gcc/testsuite/ChangeLog:
* gcc.target/i386/avx512fp16-vfpclassph-1c.c: New test.
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions