Commit 1787354
authored
arch-riscv: Add RVV support for riscv32 ISA (gem5#2337)
Previous version configure the mstatus and misa only in riscv64, illegal
instruction exception occurs when simulate workload which compiled as
riscv-32 target, this commit set the CSR once 'enable_rvv' is true
Test: run scons build/RISCV/unittests.opt1 parent 61de99c commit 1787354
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | 406 | | |
411 | 407 | | |
412 | 408 | | |
| |||
425 | 421 | | |
426 | 422 | | |
427 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
0 commit comments