qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu fpu/softfloat-specialize.h fpu/softfloat.c...


From: Paul Brook
Subject: Re: [Qemu-devel] qemu fpu/softfloat-specialize.h fpu/softfloat.c...
Date: Tue, 20 Nov 2007 20:42:41 +0000
User-agent: KMail/1.9.7

> > Log message:
> >         Add strict checking mode for softfp code.
>
> This commit has broken sparc-softmmu,

Strange. My intention was for this commit to have absolutely no functional 
changes.

FWIW I verified that the debian-sparc installer image booted successfully. I 
guess this probably doesn't stress the FPU much though.

> This and a couple similar changes look suspicious:
>            && ( (sbits64) ( zSig + roundIncrement ) < 0 ) )
>     ) {
>      float_raise( float_flag_overflow | float_flag_inexact STATUS_VAR);
> -    return packFloat64( zSign, 0x7FF, 0 ) - ( roundIncrement == 0 );
> +    return packFloat64( zSign, 0x7FF, - ( roundIncrement == 0 )); }

I'm pretty sure this change is correct. ie. it has no effect on the result.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]