[LLVMdev] Question about SPARC target status
peter at shugalev.com
Tue Nov 11 09:15:53 PST 2008
Luke K. Dalessandro wrote:
> llvm-gcc isn't prepared to compile for a SPARC target. This includes lack
> of complete FP support, and no implementation of the SPARC ABI which means
> that function arguments aren't passed correctly and you probably can't
> call any precompiled code that assumes the SPARC ABI. I will be working on
> fixing this for sparc-solaris, but not sparc64.
I thought llvm-gcc isn't meant to compile for specific target (at least
with -emit-llvm flag I'm using).
Speaking of SPARC ABI can I still call non-FP external (i.e. compiled
with regular non-llvm gcc to native sparc binary) functions from within
LLVM code? Or ABI is competely broken?
> LLVM code generation doesn't appear to correctly implement atomic
> builtins, but that should be a trivial thing to fix (so they tell me).
Do you mean calls like __gnu_cxx::__exchange_and_add ?
More information about the llvm-dev