[llvm-dev] Difference between -mattr=+soft-float and -float-abi=soft

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 26 03:19:31 PDT 2017


On 26 September 2017 at 11:05, Moritz Angermann
<moritz.angermann at gmail.com> wrote:
> I still don’t understand why `-float-abi=soft` would compile then. Maybe it simply has
> no effect with `ghccc` then?

That's certainly true. What float-abi does is specify the CC if it's
omitted from the function. If it's explicitly ghccc then it already
has an ABI.

Cheers.

Tim.


More information about the llvm-dev mailing list