From 10aefcbf8e809d86a9d52a61e5795781e42fc676 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 24 Feb 2019 22:27:59 +0100 Subject: Implement ROTR and ROTRV and full decode of WSBH, SEB and SEH. Signed-off-by: Pavel Pisa --- qtmips_machine/machinedefs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'qtmips_machine/machinedefs.h') 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 -- cgit v1.2.3