[Bug target/115478] [15 Regression] gcc.target/aarch64/bitint-args.c fails since r15-1120-g2277f987979445

xry111 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 10 15:20:50 GMT 2025


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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #8 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
For LoongArch we also have a fallout:

__int128 test(__int128 a)
{
  return a << 16;
}

is now

    srli.d  $r12,$r4,48
    slli.d  $r5,$r5,16
    slli.d  $r4,$r4,16
    add.d   $r5,$r12,$r5
    jr  $r1 

but actually r5 can be synthesized with a bytepick.d instruction instead.


More information about the Gcc-bugs mailing list