https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122382
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |crazylht at gmail dot com,
| |hjl.tools at gmail dot com
Last reconfirmed| |2025-10-23
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andi Kleen from comment #1)
> Must be a regression, it works on 14 and 15
Not a regression:
[hjl@gnu-tgl-3 tmp]$ /usr/gcc-15.2.1-x32/bin/gcc -march=x86-64-v3 -S -O2 x.c
[hjl@gnu-tgl-3 tmp]$ cat x.s
.file "x.c"
.text
.p2align 4
.globl convv
.type convv, @function
convv:
.LFB0:
.cfi_startproc
xorl %eax, %eax
.p2align 5
.p2align 4
.p2align 3
.L2:
vmovss (%rsi,%rax,4), %xmm0
vcvtps2ph $4, %xmm0, %xmm0
vpextrw $0, %xmm0, (%rdi,%rax,2)
addq $1, %rax
cmpq $8, %rax
jne .L2
ret
.cfi_endproc
.LFE0:
.size convv, .-convv
.ident "GCC: (GNU) 15.2.1 20250808"
.section .note.GNU-stack,"",@progbits
[hjl@gnu-tgl-3 tmp]$