diff options
Diffstat (limited to 'c/src/exec/score/cpu/m68k/cpu_asm.s')
-rw-r--r-- | c/src/exec/score/cpu/m68k/cpu_asm.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/m68k/cpu_asm.s b/c/src/exec/score/cpu/m68k/cpu_asm.s index 4b203a8991..b288c9f2bb 100644 --- a/c/src/exec/score/cpu/m68k/cpu_asm.s +++ b/c/src/exec/score/cpu/m68k/cpu_asm.s @@ -51,8 +51,14 @@ restore: movml a0@,d1-d7/a2-a7 | restore context * * CPU_FP_CONTEXT_SIZE is higher than expected to account for the * -1 pushed at end of this sequence. + * + * Neither of these entries is required if we have software FPU + * emulation. But if we don't have an FPU or emulation, then + * we need the stub versions of these routines. */ +#if (CPU_SOFTWARE_FP == FALSE) + .set FPCONTEXT_ARG, 4 | save FP context argument .align 4 @@ -86,6 +92,7 @@ norst: frestore a0@+ | restore the fp state frame movl a0,a1@ | save pointer to saved context #endif rts +#endif /*PAGE * void _ISR_Handler() |