diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-15 15:23:56 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-15 15:23:56 +0100 |
commit | eb217996098ffb5706cfe0ca8ffa4478b73ceb8e (patch) | |
tree | b968a4edf276d5f2cf9db422f455774bf7a7061d /qtmips_machine/machinedefs.h | |
parent | ab9ddf2beb8a266dd31e31178c53616b79ce4428 (diff) | |
download | qtmips-eb217996098ffb5706cfe0ca8ffa4478b73ceb8e.tar.gz qtmips-eb217996098ffb5706cfe0ca8ffa4478b73ceb8e.tar.bz2 qtmips-eb217996098ffb5706cfe0ca8ffa4478b73ceb8e.zip |
Implement EXT instruction used in GLIBC startup.
It requires one more field to pass to ALU.
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 362bda2..a44aa75 100644 --- a/qtmips_machine/machinedefs.h +++ b/qtmips_machine/machinedefs.h @@ -95,6 +95,7 @@ enum AluOp : std::uint8_t { ALU_OP_MUL, ALU_OP_LUI, ALU_OP_BSHFL, + ALU_OP_EXT, ALU_OP_PASS_T, // Pass t argument without change for JAL ALU_OP_BREAK, ALU_OP_SYSCALL, |