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

Re: [MiNT] Some mintlib patches



MiKRO a écrit :

    time ago! Notice there was in past in the math.h inline asm 68881
    instruction that generate 68881 instruction even with 68020-60 option
    but now this is corrected for a long time.

As I see it, maybe netbsd guys decided to implement their libm in this way but I may be wrong. For me it's a little bit difficult to separate this stuff since when we're talking about sin/cos (060 emulated stuff) it's clear math lib will be used. So question is -- where gcc even have a _chance_ to use these emulated instructions?

I never see any problem for tiny_gl and mesa_gl but you have perhaps true, in fact the option -m68020-60 is not the only flag that tell to compiler how generate binary, there is options when gcc is compiled I think it's define in CPP_SPEC and (I can't remember the file but sure some peoples can answer) there is a file to define the SPEC for compiler, it is possible I have modify it for not add 68881 instructions or it was already ok. I'm wrong?

Olivier




--
MiKRO / Mystic Bytes
http://mikro.atari.org