Hello,
I've built LLVM natively on a fpu-less (soft-float) mips32 target, and
built mesa to use it.
However llvm apparently cannot determine what machine it's running on and
builds
code for a generic mips target with fpu.
Is there a way to have llc/llvm always use "-march=mipsle -mcpu=mips32
-mattr=+soft-float" as a default command line, something similar to
gcc's "--with-arch=mips32 --with-float=soft" configure switches?
Thanks!
Manuel Lauss
Reasonably Related Threads
- [LLVMdev] how to add some default target flags?
- Difference between -mattr=+soft-float and -float-abi=soft
- [LLVMdev] Question about arm thumb2 code generation
- [RFC] New Clang target selection options for ARM/AArch64
- [LLVMdev] Question about arm thumb2 code generation
