|
From: David G. <dga...@gm...> - 2018-04-21 16:54:43
|
2018-04-21 17:36 GMT+02:00 Thorsten Otto <ad...@th...>: > I think i already mentioned this, but you just have to keep in mind that - > m68020-60 will define all macros from __mc68020__ upto __mc68060__, while - > m68060 will *only* define __mc68060__, so there might be places that currently > test for __mc68020__ only, where they actually want to know whether 68020 and > above instructions can be used, and thus have to be changed to test for any of > the macros. I've noticed a variation of this issue, where there is a check for the 68000 with __mc68000__ or mc68000 and there will be "false positives" when compiling for the 68020 and above: https://github.com/freemint/freemint/blob/76262f82c1594aa0c59ee72803824924daf6026c/sys/libkern/unaligned.c#L35 https://github.com/freemint/freemint/blob/76262f82c1594aa0c59ee72803824924daf6026c/sys/libkern/asm/quickmove.S#L49 https://github.com/freemint/freemint/blob/76262f82c1594aa0c59ee72803824924daf6026c/tools/crypto/crypt.c#L135 |