I need to get (and set) the floating-point exception mode.
I’ve seen that in exec/interrupts.h there are:
float64 fpr[32]; /* Floating point registers */
uint64 fpscr; /* Floating point control and status register */
That should be get and set via ReadTaskContext/WriteTaskContext. Now my question is. Is the only way to get that register? Is it the correct way? Is there a #define to get only the bit I need?
Thanks