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

--- Comment #8 from Hongtao.liu <crazylht at gmail dot com> ---
> mainfunc:
> .LFB0:
>       .cfi_startproc
>       movl    $foo, %edx
>       movl    $bar, %eax
>       vmovq   %rdx, %xmm0
>       vpinsrq $1, %rax, %xmm0, %xmm0
>       vmovdqu %xmm0, (%rdi)
>       ret
>       .cfi_endproc
> .LFE0:
>       .size   mainfunc, .-mainfunc
>       .ident  "GCC: (GNU) 11.1.1 20210531 (Red Hat 11.1.1-3)"
>       .section        .note.GNU-stack,"",@progbits
> [hjl@gnu-cfl-1 tmp]$

This is related to cost model of vector construct.

Reply via email to