| 1.1 |
| 21-Mar-2026 |
thorpej | Re-factor m68k FP exception handling:
- Move the FP exception stubs into the shared trap_subr.s. Remove as many conditionals from the stubs as feasible, having separate stubs for each case that needs to be handled. This doesn't really result in any more (or duplicated) code, and makes it all a lot easier to read. - All platforms now call the new fpu_init() function, which is renamed from fpu_probe(), and centralizes all of the FP-related initialization. Platforms that don't need to probe for the FPU aren't forced to do so; the probe only occurs if the fputype is FPU_UNKNOWN at the time fpu_init() is called. - Even on platforms that don't actually need to probe the FPU, make sure the "nofault" code is present in trap() to do so; this is meant to reduce diffs that need to be resolved later then the trap() function is re-factored.
- On Amiga and Atari, remove the bespoke vectab code and just use the shared vec_init(). Additional cleanup is possible in this area.
|