projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't emit vector instructions for now
[riscv-tests.git]
/
env
/
v
/
vm.c
diff --git
a/env/v/vm.c
b/env/v/vm.c
index dd29a40b64aa73a53eb90f1139b2250241a036f3..bfbf197a850c55e0d175845fefeacf3deece64f8 100644
(file)
--- a/
env/v/vm.c
+++ b/
env/v/vm.c
@@
-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);
}