[Bug target/124688] bpf: movsi not generating SImode regs

vineetg at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 29 22:51:01 GMT 2026


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

--- Comment #2 from Vineet Gupta <vineetg at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> I don't understand why. If the ABI says both arguments are extended and
> returns are extended too. Using the full register should be valid.

No returns are *not* extended as implemented by llvm and gcc needs to follow
suite.

And maybe the testcase is leaning towards ABI codegen and current output, given
current ABI implementation might be valid, the general behavior of movsi not
generating SImode regs at all, seems worth addressing on its own ?


More information about the Gcc-bugs mailing list