Don't emit vector instructions for now
[riscv-tests.git] / env / v / vm.c
index dd29a40b64aa73a53eb90f1139b2250241a036f3..bfbf197a850c55e0d175845fefeacf3deece64f8 100644 (file)
@@ -207,8 +207,10 @@ void handle_trap(trapframe_t* tf)
     assert(0);
 
 out:
+#if 0
   if (!(tf->sr & SR_PS) && (tf->sr & SR_EV))
     restore_vector(tf);
+#endif
   pop_tf(tf);
 }