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:51:25 +0800 |
commit | 59157c038d683e91c419a1fadd5f91f15218f57b (patch) | |
tree | 99ee2f824f5dbbe2eff7267d5c517ce43f5ce2e7 /libcpp/internal.h | |
parent | 2ac3806d5465db5eb333926e8341a14b6baa2496 (diff) | |
download | gcc-releases/gcc-14.zip gcc-releases/gcc-14.tar.gz gcc-releases/gcc-14.tar.bz2 |
i386: Fix vfpclassph non-optimizied intrinreleases/gcc-14
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. I will write a seperate patch to fix that
on trunk ONLY.
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 'libcpp/internal.h')
0 files changed, 0 insertions, 0 deletions