From 38674515b1629865be6aa271dbbcad1a8cc306a8 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Fri, 8 Feb 2019 14:41:41 +0100 Subject: Implement even deprecated BEQL, BNEL, BLEZL, BGTZL, BLTZL, BGEZL, BLTZALL, BGEZALL. GCC generates these opcodes for default compilation mode. Signed-off-by: Pavel Pisa --- qtmips_machine/instruction.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qtmips_machine/instruction.h') 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 { -- cgit v1.2.3