aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/instruction.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/instruction.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/instruction.h')
-rw-r--r--qtmips_machine/instruction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h
index e896ace..d8b9d00 100644
--- a/qtmips_machine/instruction.h
+++ b/qtmips_machine/instruction.h
@@ -67,7 +67,8 @@ enum InstructionFlags {
IMF_JUMP = 1L<<19,
IMF_BJ_NOT = 1L<<20,
IMF_BGTZ_BLEZ = 1L<<21,
- IMF_EXCEPTION = 1L<<22,
+ IMF_NB_SKIP_DS = 1L<<22, // Skip instruction in delay slot if branch not taken
+ IMF_EXCEPTION = 1L<<23,
};
class Instruction {