https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126581

            Bug ID: 126581
           Summary: [16 Regression] -mavx10.2 no longer works
           Product: gcc
           Version: 16.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com, haochen.jiang at intel dot com
  Target Milestone: ---
            Target: x86

[hjl@gnu-tgl-3 gcc]$ /usr/gcc-16.1.1-x32/bin/gcc -S -mavx10.2
/tmp/zext-avx10-1.c
[hjl@gnu-tgl-3 gcc]$ /usr/gcc-16.1.1-x32/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/gcc-16.1.1-x32/bin/gcc
COLLECT_LTO_WRAPPER=/usr/gcc-16.1.1-x32/libexec/gcc/x86_64-pc-linux-gnu/16.1.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /export/gnu/import/git/sources/gcc-release/configure
--enable-cet --with-demangler-in-ld --prefix=/usr/gcc-16.1.1-x32
--with-local-prefix=/usr/local --enable-gnu-indirect-function
--enable-clocale=gnu --with-system-zlib --with-target-system-zlib
--with-fpmath=sse --with-tls=gnu2 --with-multilib-list=m32,m64,mx32
--enable-linker-build-id --enable-gnu-unique-object --enable-checking=release
--enable-languages=c,c++
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.1.1 20260516 (GCC) 
[hjl@gnu-tgl-3 gcc]$ ./xgcc -B./ -S -mavx10.2 /tmp/zext-avx10-1.c
/tmp/zext-avx10-1.c: In function ‘func1’:
/tmp/zext-avx10-1.c:22:10: error: implicit declaration of function
‘_mm_cvtts_ss_epu32’; did you mean ‘_mm_cvtts_ps_epu32’?
[-Wimplicit-function-declaration]
   22 |   return _mm_cvtts_ss_epu32 (x);
      |          ^~~~~~~~~~~~~~~~~~
      |          _mm_cvtts_ps_epu32
/tmp/zext-avx10-1.c: In function ‘func2’:
/tmp/zext-avx10-1.c:38:10: error: implicit declaration of function
‘_mm_cvtts_roundss_epu32’; did you mean ‘_mm_cvtts_roundss_u32’?
[-Wimplicit-function-declaration]
   38 |   return _mm_cvtts_roundss_epu32
      |          ^~~~~~~~~~~~~~~~~~~~~~~
      |          _mm_cvtts_roundss_u32
/tmp/zext-avx10-1.c: In function ‘func3’:
/tmp/zext-avx10-1.c:55:25: error: implicit declaration of function
‘_mm_cvtts_ss_epi32’; did you mean ‘_mm_cvtts_ps_epi32’?
[-Wimplicit-function-declaration]
   55 |   return (unsigned int) _mm_cvtts_ss_epi32 (x);
      |                         ^~~~~~~~~~~~~~~~~~
      |                         _mm_cvtts_ps_epi32
/tmp/zext-avx10-1.c: In function ‘func4’:
/tmp/zext-avx10-1.c:71:25: error: implicit declaration of function
‘_mm_cvtts_roundss_epi32’; did you mean ‘_mm_cvtts_roundss_i32’?
[-Wimplicit-function-declaration]
   71 |   return (unsigned int) _mm_cvtts_roundss_epi32
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
      |                         _mm_cvtts_roundss_i32
/tmp/zext-avx10-1.c: In function ‘func5’:
/tmp/zext-avx10-1.c:88:10: error: implicit declaration of function
‘_mm_cvtts_sd_epu32’; did you mean ‘_mm_cvtts_pd_epu32’?
[-Wimplicit-function-declaration]
   88 |   return _mm_cvtts_sd_epu32 (x);
      |          ^~~~~~~~~~~~~~~~~~
      |          _mm_cvtts_pd_epu32
/tmp/zext-avx10-1.c: In function ‘func6’:
/tmp/zext-avx10-1.c:104:10: error: implicit declaration of function
‘_mm_cvtts_roundsd_epu32’; did you mean ‘_mm_cvtts_roundsd_u32’?
[-Wimplicit-function-declaration]
  104 |   return _mm_cvtts_roundsd_epu32
      |          ^~~~~~~~~~~~~~~~~~~~~~~
      |          _mm_cvtts_roundsd_u32
/tmp/zext-avx10-1.c: In function ‘func7’:
/tmp/zext-avx10-1.c:121:25: error: implicit declaration of function
‘_mm_cvtts_sd_epi32’; did you mean ‘_mm_cvtts_pd_epi32’?
[-Wimplicit-function-declaration]
  121 |   return (unsigned int) _mm_cvtts_sd_epi32 (x);
      |                         ^~~~~~~~~~~~~~~~~~
      |                         _mm_cvtts_pd_epi32
/tmp/zext-avx10-1.c: In function ‘func8’:
/tmp/zext-avx10-1.c:137:25: error: implicit declaration of function
‘_mm_cvtts_roundsd_epi32’; did you mean ‘_mm_cvtts_roundsd_si32’?
[-Wimplicit-function-declaration]
  137 |   return (unsigned int) _mm_cvtts_roundsd_epi32
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
      |                         _mm_cvtts_roundsd_si32
[hjl@gnu-tgl-3 gcc]$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: x86_64-pc-linux-gnu
Configured with: /export/gnu/import/git/sources/gcc-release/configure
--disable-bootstrap --enable-cet --with-demangler-in-ld
--prefix=/usr/gcc-15.3.1-x86-64 --with-local-prefix=/usr/local
--enable-gnu-indirect-function --enable-clocale=gnu --with-system-zlib
--with-target-system-zlib --with-fpmath=sse --disable-libcc1
--disable-libcilkrts --disable-libsanitizer --enable-checking=release
--enable-languages=c,c++ : (reconfigured)
/export/gnu/import/git/sources/gcc-release/configure --disable-bootstrap
--enable-cet --with-demangler-in-ld --prefix=/usr/gcc-15.3.1-x86-64
--with-local-prefix=/usr/local --enable-gnu-indirect-function
--enable-clocale=gnu --with-system-zlib --with-target-system-zlib
--with-fpmath=sse --disable-libcc1 --disable-libcilkrts --disable-libsanitizer
--enable-checking=release CC=gcc CFLAGS='-O2 -g' CXX=g++ CXXFLAGS='-O2 -g'
--enable-languages=c,c++,lto --no-create --no-recursion
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.1.1 20260802 (GCC) 
[hjl@gnu-tgl-3 gcc]$

Reply via email to