aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/core.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-08 14:41:41 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-08 14:41:41 +0100
commit38674515b1629865be6aa271dbbcad1a8cc306a8 (patch)
tree0948a94d26342a7d50c6f670dbadba33add3ff73 /qtmips_machine/core.h
parentbd11856c5915ef52ca3325a27fca07049ab2215a (diff)
downloadqtmips-38674515b1629865be6aa271dbbcad1a8cc306a8.tar.gz
qtmips-38674515b1629865be6aa271dbbcad1a8cc306a8.tar.bz2
qtmips-38674515b1629865be6aa271dbbcad1a8cc306a8.zip
Implement even deprecated BEQL, BNEL, BLEZL, BGTZL, BLTZL, BGEZL, BLTZALL, BGEZALL.
GCC generates these opcodes for default compilation mode. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/core.h')
-rw-r--r--qtmips_machine/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h
index fa0d368..8f3acec 100644
--- a/qtmips_machine/core.h
+++ b/qtmips_machine/core.h
@@ -177,6 +177,7 @@ protected:
bool jump; // jump
bool bj_not; // negate branch condition
bool bgt_blez; // BGTZ/BLEZ instead of BGEZ/BLTZ
+ bool nb_skip_ds; // Skip delay slot if branch is not taken
bool forward_m_d_rs; // forwarding required for beq, bne, blez, bgtz, jr nad jalr
bool forward_m_d_rt; // forwarding required for beq, bne
enum AluOp aluop; // Decoded ALU operation