[SeaBIOS] QEMU regression problems - Update FPU

Laurent Desnogues laurent.desnogues at gmail.com
Thu Feb 24 12:21:13 CET 2011


On Thu, Feb 24, 2011 at 12:10 PM, Paolo Bonzini <pbonzini at redhat.com> wrote:
> On 02/23/2011 08:04 PM, Aurelien Jarno wrote:
>>
>> Actually that's the reason why i386 doesn't use softfloat, as all the
>> trigonometric use libm, and the bridge between softfloat and libm is not
>> working correctly (plenty of type abuse).
>
> Besides, I doubt softfloat would want bug-compatible trig function
> implementations.  fsincos for example is a far cry from the precision of the
> libm function.

I agree, these functions certainly don't belong to SoftFloat.
They should be implemented in target-i386/op_helper.c.  But
bit accuracy might be difficult to achieve, unless Intel/AMD
properly documented how they compute all these functions.


Laurent



More information about the SeaBIOS mailing list