[fpc-devel]some m68k releated stuff

Balogh, Karoly (Charlie/iNQ) charlie at scenergy.dfmk.hu
Fri Mar 28 03:09:44 CET 2003


Hi,

Here are a few things about the m68k version i'd like to discuss. 

First, how well the FPU codegenerator is tested in the m68k version?
I ask, because i've got a pretty big piece of code here, which makes
heavy use of float math. (A 3D engine namely.) I wrote it using the 
i386 compiler, a few years ago. So now i tried to port it to m68k.
After working around a few internalerror(10)'s :) i successfully compiled
the code, and it worked. But then i tried to switch off the FPU emulation
to generate direct FPU code, since that should be really faster on my
'060 baby. But i didn't got anything but nasty crashes, and some invalid
instruction exceptions... So, are there any known defects of the FPU code
generator, or should i try to give a small example program which shows 
the error?

Second, is there a chance to get '020 style addressing supported in
inline assembly? So to use (1234,a0) instead of 1234(a0). Well, it's 
not that important, but can come handy in some cases...

Third, is it possible to have parameter-passing in registers, in the
procedure definition in a foreseeable future? Needless to say, it can 
come handy when someone writing header units for AmigaOS libs... :)

And for last, are there any jobs open for volunteers in the
m68k/amigaos port? I'd really like to make myself useful. :)
 
Bye,
-- 
Charlie/iNQ
[.wanna.touch.diz?.amiga1200.os31.68060/50.48mb.2,5"ide.pcmcianet.] 
[. .power.of.the.ancients. + .a2000. + .a500. + .commodore.128d. .]
[.         .cybernetic.hydraulic.android.responsible.for.        .] 
[.             .logical.infiltration.and.exploration.            .]




More information about the fpc-devel mailing list