[llvm] [SPARC][IAS] Make 64-bit instructions available in 32-bit mode on V9 (PR #187534)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 15:58:10 PDT 2026
koachan wrote:
> > Would something like "[...] to target V9 processors running in 32-bit mode" be better?
>
> Yeah, I guess... Just to clarify, 32-bit mode means --target=sparc? That, is 32-bit ABI?
Yup, the 32-bit ABI.
The case in Linux kernel is of a file with inline asm code containing `srlx` and co., but is compiled with `-m32 -mcpu=v9 -mv8plus`. Without this patch the file fails to compile.
https://github.com/llvm/llvm-project/pull/187534
More information about the llvm-commits
mailing list