target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors
authorMaciej W. Rozycki <macro@codesourcery.com>
Sat, 20 Dec 2014 23:00:25 +0000 (23:00 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Fri, 13 Feb 2015 14:09:28 +0000 (14:09 +0000)
Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
target-mips/translate_init.c

index 1543f6c..9e8433a 100644 (file)
@@ -474,7 +474,7 @@ static const mips_def_t mips_defs[] =
         .CP0_LLAddr_shift = 4,
         .SYNCI_Step = 32,
         .CCRes = 2,
-        .CP0_Status_rw_bitmask = 0x32F8FFFF,
+        .CP0_Status_rw_bitmask = 0x12F8FFFF,
         .SEGBITS = 42,
         .PABITS = 36,
         .insn_flags = CPU_MIPS64,
@@ -575,7 +575,7 @@ static const mips_def_t mips_defs[] =
         .CP0_LLAddr_shift = 4,
         .SYNCI_Step = 32,
         .CCRes = 2,
-        .CP0_Status_rw_bitmask = 0x32F8FFFF,
+        .CP0_Status_rw_bitmask = 0x12F8FFFF,
         .SEGBITS = 42,
         .PABITS = 36,
         .insn_flags = CPU_MIPS64R2,