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

Re: [ID 20020504.002] 1 == 1 but 0 != 0



* Nicholas Clark <nick@unfortu.net> [020629 10:26]:
> 
> I wasn't aware of anyone getting this down to a test case.
> The problem seems to be saving a floating point register containing 0 to
> memory, and then reloading it. The same binaries give:
> 
> nick@Bagpuss [test]$ ./is_zero 
> 1
> nick@Bagpuss [test]$ ./is_one  
> 1
> nick@Bagpuss [test]$ dmesg | grep -i Floating
> NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
> 
> nick@Bagpuss [test]$ ./is_zero 
> 0
> nick@Bagpuss [test]$ ./is_one  
> 1
> nick@Bagpuss [test]$ dmesg | grep -i Floating
> Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
> 
> If I take the lfmfd out from this then it all works as expected on FastFPE

Cool! That was somewhat painful to narrow down to a test case :)

Tony


-- 
To UNSUBSCRIBE, email to debian-arm-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: