Commit 92cd472
Implement Zcmop Compressed MOP Instructions (#530)
This commit adds support for the Zcmop extension by defining the 16-bit compressed
C.MOP.n instructions. These instructions use a fixed encoding pattern with a variable
field (mop_n_field) to select one of eight instructions (for odd n values from 1 to 15).
By default, they do not write to any registers, which allows them to safely act as no-ops
when the extension is not active.
This change lays the foundation for future extensions that may redefine these instructions.
Co-authored-by: Afonso Oliveira <[email protected]>1 parent 39f8aa4 commit 92cd472
1 file changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments