![]() |
![]() |
#1 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,537
|
FPU rounding issues
I'm sorry if that problem has already been fixed, but I often see FPU rounding issues with the UAE core in E-UAE and Hatari.
For reproduction, shouldn't the following program return -1 in d0? It returns 0. The rounding mode in FPCR is ignored. Code:
fmove.l fpcr,d1 and.w #$ffcf,d1 or.w #$0020,d1 fmove.l d1,fpcr fmove.d #-0.01,fp0 fmove.l fp0,d0 rts |
![]() |
![]() |
#2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
It returns -1 here. E-UAE is too ancient.
|
![]() |
![]() |
#3 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,537
|
Indeed. Now I had a chance to get access to a recent WinUAE version. It works as expected. Sorry for the noise.
|
![]() |
![]() |
#4 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,448
|
Hatari developers are currently looking to replace their age old WinUAE 680x0 emulator core with the 2.8.1 WinUAE 680x0 core.
http://atari-forum.com/viewtopic.php...260414#p260414 |
![]() |
![]() |
#5 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,537
|
In fact I was contacted by an Atari developer who suspected a bug in vasm first. But it turned out to be a problem in Hatari.
|
![]() |
![]() |
#6 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,448
|
That wouldnt be DML aka Doug? Who is writing a Quake port for Falcon's which heavily uses the FPU?
|
![]() |
![]() |
#7 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,537
|
Exactly!
Our Amiga and Atari worlds are just too small... ![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FPU for A1200 | barkingboy | support.Hardware | 10 | 12 June 2015 14:57 |
AminetRadio without FPU | Retrofan | support.Apps | 2 | 30 March 2013 00:44 |
Fpu | mancity | support.Hardware | 7 | 13 June 2012 15:18 |
FPU crystal | beanz | Amiga scene | 2 | 01 April 2012 16:57 |
68881 Fpu | Lord Aga | support.Hardware | 2 | 18 November 2011 21:49 |
|
|