[PATCH] D130688: [Driver][Sparc] Default to -mcpu=v9 for SparcV8 on Linux
John Paul Adrian Glaubitz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 18 02:47:42 PDT 2022
glaubitz added a comment.
In D130688#3731577 <https://reviews.llvm.org/D130688#3731577>, @ro wrote:
> It's almost three weeks since the last comments. Any suggestions on how to proceed with this patch? Given that the original issue (atomics not inlined with `-m32`) is now worked around by always linking with `--as-needed -latomic --no-as-needed`, the patch is no longer needed to fix build failures. However, it still would make a nice and cheap optimization on distros that require v9 CPUs, if we can figure out how to reliably identify them. Maybe someone from the LEON community could chime in?
Yeah, someone from the LEON community should comment whether they would be OK to default to V9 on all Linux targets. I don't really want to omit Gentoo here which still support Linux on SPARC.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130688/new/
https://reviews.llvm.org/D130688
More information about the cfe-commits
mailing list