[llvm-bugs] [Bug 24100] Clang assumes that Cortex-M4 has an FPU by default

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 13 07:02:43 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=24100

Renato Golin <renato.golin at linaro.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |renato.golin at linaro.org
         Resolution|---                         |INVALID

--- Comment #2 from Renato Golin <renato.golin at linaro.org> ---
Yes, the defaults are different, but that's not a bug, it's a choice.

If you'd like soft-float ABI you can either set "-mfpu=none" or
"-mfloat-abi=soft" or "-msoft-float" when using Cortex-M4, or choose Cortex-M3
instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160113/4b31a520/attachment-0001.html>


More information about the llvm-bugs mailing list