From ce9782f40ac16660ea9437bfaa2c9c34d5ed8110 Mon Sep 17 00:00:00 2001 From: Leon Alrae Date: Thu, 4 Jun 2015 17:00:31 +0100 Subject: target-mips: add ERETNC instruction and Config5.LLB bit ERETNC is identical to ERET except that an ERETNC will not clear the LLbit that is set by execution of an LL instruction, and thus when placed between an LL and SC sequence, will never cause the SC to fail. Presence of ERETNC is denoted by the Config5.LLB. Signed-off-by: Leon Alrae Reviewed-by: Aurelien Jarno --- target-mips/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target-mips/cpu.h') diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 03eb888361..2c68782763 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -466,6 +466,7 @@ struct CPUMIPSState { #define CP0C5_UFE 9 #define CP0C5_FRE 8 #define CP0C5_SBRI 6 +#define CP0C5_LLB 4 #define CP0C5_UFR 2 #define CP0C5_NFExists 0 int32_t CP0_Config6; -- cgit v1.2.3