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

Re: Linux 3.10-2-m68k FPU support



Thorsten Glaser <tg@mirbsd.de> writes:

>>> On the other hand, I cannot help but wonder how well it compares
>>> to whatever ARAnyM passes as FPU. I know ARAnyM doesn’t handle the
>>> 80/64bit precision switch at all
>>
>>It doesn't?
>
> In my tests, it didn’t, and I later got a mail from someone saying
> that it indeed doesn’t do that.
>
> And yes, testing still shows it to fail:
>
> (sid-m68k-sbuild)tg@ara5:/tmp$ gcc -O2 x.c && ./a.out
> test#1 fail: 1.00000000000000000E+00
> test#2 fail: 1.00000000000000040E+16
> changing FPU control word from 00000000 to 00000080 => 00000080
> test#1 fail: 1.00000000000000000E+00
> test#2 fail: 1.00000000000000040E+16

That's just double rounding.  But saying that it doesn't handle it at
all is stupid.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply to: