[PATCH] Convert 0.0/0.0 to NAN
Thu Apr 20 00:01:00 GMT 2017
Whoops, that was the wrong patch. Attached is correct patch.
On Wed, Apr 19, 2017 at 6:50 PM, Richard Allen <firstname.lastname@example.org> wrote:
> With newlib's default compiler flags(-O2 and whatnot),
> the GCC I'm using creates calls to __aeabi_(f|d)div.
> This causes a little extra register copying
> and an unnecessary branch.
> Additionally, __aeabi_?div may throw exceptions,
> which is probably not what we want a
> simple assignment to do.
> Compiler version tested:
> arm-none-eabi-gcc (15:5.4.1+svn241155-1) 5.4.1 20160919
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6642 bytes
Desc: not available
More information about the Newlib