[Bug middle-end/104151] [9/10/11/12 Regression] x86: excessive code generated for 128-bit byteswap

crazylht at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 21 01:28:41 GMT 2022


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

--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> ---
Also there's separate issue, codegen for below is not optimal
gimple:
_11 = VIEW_CONVERT_EXPR<vector(2) long unsigned int>(a_3(D))
asm:
        mov     QWORD PTR [rsp-24], rdi
        mov     QWORD PTR [rsp-16], rsi
        movdqa  xmm0, XMMWORD PTR [rsp-24]


I think this issue has been recorded in several existed PRs.


More information about the Gcc-bugs mailing list