public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* FPU emulation incorrect for 68LC040?
@ 2010-07-21 20:22 Mattias Engdegård
  2010-07-21 20:32 ` Geert Uytterhoeven
  0 siblings, 1 reply; 9+ messages in thread
From: Mattias Engdegård @ 2010-07-21 20:22 UTC (permalink / raw)
  To: linux-m68k, zippel, geert

Does anyone know whether a 68LC040 alters the address register in  
postincrement/predecrement modes when it calculates the effective  
address for an FP instruction? The FPU emulation in the kernel seems  
to assume that it doesn't, but that doesn't really make sense.

If the 'LC040 does increment a0 in fadd.d (a0)+,fp0, say, then the  
Linux FPU emulation is quite broken, at least in 2.6.34. If not, then  
I have misunderstood how the hardware works.

I'm writing a 68040/68LC040 simulator and unfortunately do not have a  
real 'LC040 to do experiments on. If someone with actual hardware  
could help me, I'd be most grateful.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-24 18:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21 20:22 FPU emulation incorrect for 68LC040? Mattias Engdegård
2010-07-21 20:32 ` Geert Uytterhoeven
2010-07-21 20:53   ` Mattias Engdegård
2010-07-22  1:05     ` Finn Thain
2010-07-22 19:55       ` Mattias Engdegård
2010-07-23  4:12         ` Finn Thain
2010-07-23  8:39           ` Mattias Engdegård
2010-07-24  0:31             ` Michael Schmitz
2010-07-24 18:33               ` Mattias Engdegård

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox