diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-08 20:40:08 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-08 20:40:08 +0100 |
commit | 737fc7e309ff02c4bb02568fec82cb8215d7bb99 (patch) | |
tree | 57e0c4fe8d64774f5b1c36f88b15ff08bdf54fd5 /qtmips_machine/machinedefs.h | |
parent | c22e9cb1e18f35d02eb76b4f03a319a673168285 (diff) | |
download | qtmips-737fc7e309ff02c4bb02568fec82cb8215d7bb99.tar.gz qtmips-737fc7e309ff02c4bb02568fec82cb8215d7bb99.tar.bz2 qtmips-737fc7e309ff02c4bb02568fec82cb8215d7bb99.zip |
Minimal implementation of RDHWR to support dummy TLS region.
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 5e8acd6..05bf103 100644 --- a/qtmips_machine/machinedefs.h +++ b/qtmips_machine/machinedefs.h @@ -91,6 +91,7 @@ enum AluOp : std::uint8_t { ALU_OP_PASS_T, // Pass t argument without change for JAL ALU_OP_BREAK, ALU_OP_SYSCALL, + ALU_OP_RDHWR, ALU_OP_UNKNOWN, ALU_OP_LAST // First impossible operation (just to be sure that we don't overflow) }; |