Commit f3f4ea9
committed
Fixes #8: completely rewrote instruction decoding and execution, handle compressed natively
The decoder is generated by gendecoder; run
```
cargo r -p gendecoder --bin gendecoder > tmp;mv tmp src/generated_riscv_decoder.rs
```
when adding new instructions. (We skipped build.rs as changes are
expected to be very rare).
Also hundreds of tiny adjustments and improvements1 parent 75d5ec4 commit f3f4ea9
File tree
11 files changed
+3959
-2779
lines changed- gendecoder
- src
- src
- wasm/web
11 files changed
+3959
-2779
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments