RISCV_PREEMPT_V_NEED_RESTORE
return !!(task->thread.riscv_v_flags & RISCV_PREEMPT_V_NEED_RESTORE);
task->thread.riscv_v_flags |= RISCV_PREEMPT_V_NEED_RESTORE;
*riscv_v_flags_ptr() &= ~(RISCV_PREEMPT_V_DIRTY | RISCV_PREEMPT_V_NEED_RESTORE);