From: Thorsten O. <ad...@th...> - 2024-04-11 06:38:55
|
As recently found (see https://www.atari-forum.com/viewtopic.php? t=43666&start=50) gcc sometimes produces FPU opcodes which are not valid for 060 and have to be emulated: $ cat bla.c double x; void test(void) { x *= 9; } $ m68k-atari-mint-gcc -S -O2 -fomit-frame-pointer -m68060 -o - bla.c _test: fdmove.d _x,%fp0 fdmul.d #0x4022000000000000,%fp0 fmove.d %fp0,_x rts (immediate addressing has been removed for FPU instructions on 060). As you can see this also happens when compiling for 060 *only*. IMHO this is a bug, since it is not a valid opcode for that architecture. Do you think it is worth trying to fix this? |