[Bug target/105339] [x86] missing AVX-512F scalef functions when optimization is disabled
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 27 07:20:22 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105339
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Hongyu Wang
<hongyuw@gcc.gnu.org>:
https://gcc.gnu.org/g:18bee83150e235ebd596443a0909a72d0c4d077f
commit r9-10031-g18bee83150e235ebd596443a0909a72d0c4d077f
Author: Hongyu Wang <hongyu.wang@intel.com>
Date: Fri Apr 22 14:42:30 2022 +0800
AVX512F: Add missing macro for mask(z?)_scalf_s[sd] [PR 105339]
Add missing macro under O0 and adjust macro format for scalf
intrinsics.
gcc/ChangeLog:
PR target/105339
* config/i386/avx512fintrin.h (_mm512_scalef_round_pd):
Add parentheses for parameters and djust format.
(_mm512_mask_scalef_round_pd): Ditto.
(_mm512_maskz_scalef_round_pd): Ditto.
(_mm512_scalef_round_ps): Ditto.
(_mm512_mask_scalef_round_ps): Ditto.
(_mm512_maskz_scalef_round_ps): Ditto.
(_mm_scalef_round_sd): Use _mm_undefined_pd.
(_mm_scalef_round_ss): Use _mm_undefined_ps.
(_mm_mask_scalef_round_sd): New macro.
(_mm_mask_scalef_round_ss): Ditto.
(_mm_maskz_scalef_round_sd): Ditto.
(_mm_maskz_scalef_round_ss): Ditto.
gcc/testsuite/ChangeLog:
PR target/105339
* gcc.target/i386/sse-14.c: Add tests for new macro.
(cherry picked from commit 3c940d42701707559fabe49be99296f60fbc43e7)
More information about the Gcc-bugs
mailing list