|Re: [hatari-devel] FPU update|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
As Toni said, the merge is still work in progress. Most changes are not yet in WinUAE. That is also the cause for your compiler warnings and the unused headers.
In the meantime i have worked on FMOD and FREM. After some testing i think we have now a quite good SoftFloat implementation for them. Comparing it to math.h freml, remainderl and remquol shows identical results with in range numbers, even with weird inputs like 1e32 % 5. With invalid inputs remquol returns 0, same with SoftFloat. So that should be OK too.
The native implementation now gives correct remainders, but bad quotients for invalid inputs and for input values with big differences in magnitude (difference of Exponent > 63). That would be hard to fix. Another reason to keep working on SoftFloat. Anyway the new native float implementation is much better than the old one, which gave wrong remainders for numbers with big differences in magnitude and returned no quotient at all.
Now all arithmetic functions are implemented, except FSINH, FETOXM1, FTANH, FATAN, FASIN, FATANH, FETOX, FTWOTOX, FTENTOX, FCOSH and FACOS.
Am 11.01.2017 um 18:48 schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> Le 11/01/2017 à 18:05, Toni Wilen a écrit :
>>> I committed Andreas's changes that Toni merged into WinUAE to Hatari
>>> devel version ; note that in Hatari there's no setting yet to switch
>>> between "normal" and softfloat version, but at least everything compiles
>>> fine (ie softfload is not used yet)
>> That was not complete merge. It does work, mostly but it also lacks some
>> important fixes. (I forgot to mention it in commit message)
>> The rest will be merged later this week.
> Thanks, I will wait for the rest of the changes.