[Bug target/126581] [15/16/17 Regression] -mavx10.2 no longer works by r16-9456-gca889982b6f259

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]> Mon, 03 Aug 2026 09:07:57 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D126581

--- Comment #19 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Hu <[email protected]>:

https://gcc.gnu.org/g:e729c315e60125544e437d46cbea5868ed2cafcb

commit r15-11454-ge729c315e60125544e437d46cbea5868ed2cafcb
Author: Hu, Lin1 <[email protected]>
Date:   Mon Aug 3 10:15:44 2026 +0800

    i386: Keep _ep[i|u]{32,64} names of scalar SAT CVT intrinsics [PR126581]

    r16-9456 renamed the AVX10.2 scalar SAT CVT intrinsics to the _[i|u]{32=
,64}
    suffix and was backported to releases/gcc-15 and releases/gcc-16.
    Within a release series the old names have to keep working, so add them
    back as aliases.

    gcc/ChangeLog:

            PR target/126581
            * config/i386/avx10_2satcvtintrin.h
            (_mm_cvtts_sd_epi32): New alias of _mm_cvtts_sd_i32.
            (_mm_cvtts_sd_epu32): New alias of _mm_cvtts_sd_u32.
            (_mm_cvtts_ss_epi32): New alias of _mm_cvtts_ss_i32.
            (_mm_cvtts_ss_epu32): New alias of _mm_cvtts_ss_u32.
            (_mm_cvtts_roundsd_epi32): New alias of _mm_cvtts_roundsd_i32.
            (_mm_cvtts_roundsd_epu32): New alias of _mm_cvtts_roundsd_u32.
            (_mm_cvtts_roundss_epi32): New alias of _mm_cvtts_roundss_i32.
            (_mm_cvtts_roundss_epu32): New alias of _mm_cvtts_roundss_u32.
            (_mm_cvtts_sd_epi64): New alias of _mm_cvtts_sd_i64.
            (_mm_cvtts_sd_epu64): New alias of _mm_cvtts_sd_u64.
            (_mm_cvtts_ss_epi64): New alias of _mm_cvtts_ss_i64.
            (_mm_cvtts_ss_epu64): New alias of _mm_cvtts_ss_u64.
            (_mm_cvtts_roundsd_epi64): New alias of _mm_cvtts_roundsd_i64.
            (_mm_cvtts_roundsd_epu64): New alias of _mm_cvtts_roundsd_u64.
            (_mm_cvtts_roundss_epi64): New alias of _mm_cvtts_roundss_i64.
            (_mm_cvtts_roundss_epu64): New alias of _mm_cvtts_roundss_u64.

    gcc/testsuite/ChangeLog:

            PR target/126581
            * gcc.target/i386/pr126581-1.c: New test.=