GET_FPU_SW
masked_exceptions = GET_FPU_CW(td) & GET_FPU_SW(td) & 0x7f;
status = GET_FPU_SW(curthread);