aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machinedefs.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-14 00:20:03 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-14 00:20:03 +0100
commit8dca954e854386ea9ab81da328d515b48b04affe (patch)
tree65d1769e81407bffb22d926cddaba55a1b73b424 /qtmips_machine/machinedefs.h
parent3d16006e6b490ab5c29e05a82226d0f5739b773e (diff)
downloadqtmips-8dca954e854386ea9ab81da328d515b48b04affe.tar.gz
qtmips-8dca954e854386ea9ab81da328d515b48b04affe.tar.bz2
qtmips-8dca954e854386ea9ab81da328d515b48b04affe.zip
Implement MUL operation which stores result to the register.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/machinedefs.h')
-rw-r--r--qtmips_machine/machinedefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/machinedefs.h b/qtmips_machine/machinedefs.h
index 258b76c..ef9ec0d 100644
--- a/qtmips_machine/machinedefs.h
+++ b/qtmips_machine/machinedefs.h
@@ -87,6 +87,7 @@ enum AluOp : std::uint8_t {
ALU_OP_NOR,
ALU_OP_SLT,
ALU_OP_SLTU,
+ ALU_OP_MUL,
ALU_OP_LUI,
ALU_OP_BSHFL,
ALU_OP_PASS_T, // Pass t argument without change for JAL