aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machinedefs.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-24 22:27:59 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-24 22:27:59 +0100
commit10aefcbf8e809d86a9d52a61e5795781e42fc676 (patch)
tree8e0341f1d1138185cc5b7f26188020820da2c08a /qtmips_machine/machinedefs.h
parent75ff39499dbf285257dabf1258f35f543d713c0a (diff)
downloadqtmips-10aefcbf8e809d86a9d52a61e5795781e42fc676.tar.gz
qtmips-10aefcbf8e809d86a9d52a61e5795781e42fc676.tar.bz2
qtmips-10aefcbf8e809d86a9d52a61e5795781e42fc676.zip
Implement ROTR and ROTRV and full decode of WSBH, SEB and SEH.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/machinedefs.h')
-rw-r--r--qtmips_machine/machinedefs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/qtmips_machine/machinedefs.h b/qtmips_machine/machinedefs.h
index bad585f..f575648 100644
--- a/qtmips_machine/machinedefs.h
+++ b/qtmips_machine/machinedefs.h
@@ -70,9 +70,11 @@ enum AluOp : std::uint8_t {
ALU_OP_NOP,
ALU_OP_SLL,
ALU_OP_SRL,
+ ALU_OP_ROTR,
ALU_OP_SRA,
ALU_OP_SLLV,
ALU_OP_SRLV,
+ ALU_OP_ROTRV,
ALU_OP_SRAV,
ALU_OP_MOVZ,
ALU_OP_MOVN,
@@ -106,8 +108,11 @@ enum AluOp : std::uint8_t {
ALU_OP_TEQ,
ALU_OP_TNE,
ALU_OP_LUI,
- ALU_OP_BSHFL,
+ ALU_OP_WSBH,
+ ALU_OP_SEB,
+ ALU_OP_SEH,
ALU_OP_EXT,
+ ALU_OP_INS,
ALU_OP_CLZ,
ALU_OP_CLO,
ALU_OP_PASS_T, // Pass t argument without change for JAL