diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-05-28 20:36:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-05-28 20:36:35 +0000 |
commit | 00d2a828971594d3c3407ae1ee064e32e256c95c (patch) | |
tree | 8344f035cf7d381328a79175e132202307345b4b /c/src/exec/score/cpu/m68k/cpu_asm.s | |
parent | version changed (diff) | |
download | rtems-00d2a828971594d3c3407ae1ee064e32e256c95c.tar.bz2 |
Added support for context switching the data used by the gcc m68k
software floating point emulation code. Code implemented by
Karen Sara Looney <Karen.Looney@colorado.edu> with much
email assistance from Joel.
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() |