To be more more precise, I did not disable the -O2 optimization
level but I had to add an extra CFLAGS: -fno-strict-aliasing

The library was Sun's fdlibm.

On Thu, Aug 8, 2013 at 2:17 PM, Maurizio Lombardi
<[email protected]> wrote:
>> I don't see the point. libm functions are much more difficult than
>> softint/softfloat, just the plain amount of math knowledge necessary
>> to create anything usable is scary. Trying to create our own
>> implementation of things that have been properly implemented over and
>> over and publicly available under BSD licence is, IMO, a very bad
>> idea.
>
> I've a branch somewhere with a full BSD-licensed libm implementation
> ported to HelenOS.
>
> I was not very satisfied by the end result (I had to disable the -O2
> optimization level to get rid of some dereferencing of type punned
> pointer warnings) but if anyone is interested I could publish it.
>
> --
> --------------------
> Maurizio Lombardi



-- 
--------------------
Maurizio Lombardi

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to