Skip to content

Commit

Permalink
cannon: Update MIPS README for mips64r2
Browse files Browse the repository at this point in the history
  • Loading branch information
pcw109550 committed Feb 18, 2025
1 parent 8f19be0 commit f7274b2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cannon/mipsevm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,22 @@ Supported 63 instructions:
| `Conditional Branch` | `bne` | Branch on not equal. |
| `Logical` | `clo` | Count leading ones. |
| `Logical` | `clz` | Count leading zeros. |
| `Logical` | `dclz` | Count Leading Zeros in Doubleword. |
| `Bit Manipulation` | `dext` | Doubleword Extract Bit Field. |
| `Bit Manipulation` | `dextm` | Doubleword Extract Bit Field Middle. |
| `Bit Manipulation` | `dextu` | Doubleword Extract Bit Field Upper. |
| `Bit Manipulation` | `dins` | Doubleword Insert Bit Field. |
| `Bit Manipulation` | `dinsm` | Doubleword Insert Bit Field Middle. |
| `Bit Manipulation` | `dinsu` | Doubleword Insert Bit Field Upper. |
| `Arithmetic` | `div` | Divide. |
| `Arithmetic` | `divu` | Divide unsigned. |
| `Logical` | `drotr` | Doubleword Rotate Right. |
| `Logical` | `drotr32` | Doubleword Rotate Right Plus 32. |
| `Logical` | `drotrv` | Doubleword Rotate Right Variable. |
| `Bit Manipulation` | `dsbh` | Doubleword Swap Bytes Within Halfwords. |
| `Bit Manipulation` | `dshd` | Doubleword Swap Halfwords Within Doublewords.|
| `Bit Manipulation` | `ext` | Extract Bit Field. |
| `Bit Manipulation` | `ins` | Insert Bit Field. |
| `Unconditional Jump` | `j` | Jump. |
| `Unconditional Jump` | `jal` | Jump and link. |
| `Unconditional Jump` | `jalr` | Jump and link register. |
Expand All @@ -46,8 +60,12 @@ Supported 63 instructions:
| `Logical` | `nor` | Bitwise NOR. |
| `Logical` | `or` | Bitwise OR. |
| `Logical` | `ori` | Bitwise OR immediate. |
| `Logical` | `rotr` | Rotate Word Right. |
| `Logical` | `rotrv` | Rotate Word Right Variable. |
| `Data Transfer` | `sb` | Store byte. |
| `Data Transfer` | `sc` | Store conditional. |
| `Arithmetic` | `seb` | Sign-Extend Byte. |
| `Arithmetic` | `seh` | Sign-Extend Halfword. |
| `Data Transfer` | `sh` | Store halfword. |
| `Logical` | `sll` | Shift left logical. |
| `Logical` | `sllv` | Shift left logical variable. |
Expand All @@ -66,6 +84,7 @@ Supported 63 instructions:
| `Data Transfer` | `swr` | Store word right. |
| `Serialization` | `sync` | Synchronize shared memory. |
| `System Calls` | `syscall` | System call. |
| `Bit Manipulation` | `wsbh` | Word Swap Bytes Within Halfwords. |
| `Logical` | `xor` | Bitwise XOR. |
| `Logical` | `xori` | Bitwise XOR immediate. |

Expand Down

0 comments on commit f7274b2

Please # to comment.