|
PebbleOS
|
Floating-point unit helpers. More...
Functions | |
| void | mcu_fpu_cleanup (void) |
| Drop the calling thread's floating-point context. | |
Floating-point unit helpers.
| void mcu_fpu_cleanup | ( | void | ) |
Drop the calling thread's floating-point context.
Clears CONTROL.FPCA, so context switches stop stacking the FPU registers (an extra 132 bytes of stack) until the thread uses the FPU again. Call where no floating-point values are live, e.g. between events of an event loop.