diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-14 00:20:03 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-14 00:20:03 +0100 |
commit | 8dca954e854386ea9ab81da328d515b48b04affe (patch) | |
tree | 65d1769e81407bffb22d926cddaba55a1b73b424 /qtmips_machine/machinedefs.h | |
parent | 3d16006e6b490ab5c29e05a82226d0f5739b773e (diff) | |
download | qtmips-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.h | 1 |
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 |