mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 22:01:06 +00:00
target-mips: Set Config5.XNP for R6 cores
Set Config5.XNP for R6 cores to indicate the extended LL/SC family of instructions NOT present. Backports commit 35ac9e342e008e3d47ef18d33a6977fdb99de9cd from qemu
This commit is contained in:
parent
4a9cd8ec0b
commit
4544aa4134
|
@ -553,7 +553,7 @@ static const mips_def_t mips_defs[] =
|
|||
MIPS_CONFIG4 | (0xfc << CP0C4_KScrExist) |
|
||||
(3 << CP0C4_IE) | (1U << CP0C4_M),
|
||||
0,
|
||||
MIPS_CONFIG5 | (1 << CP0C5_LLB),
|
||||
MIPS_CONFIG5 | (1 << CP0C5_XNP) | (1 << CP0C5_LLB),
|
||||
(1 << CP0C5_SBRI) | (1 << CP0C5_FRE) | (1 << CP0C5_UFE),
|
||||
0,
|
||||
0,
|
||||
|
@ -788,7 +788,7 @@ static const mips_def_t mips_defs[] =
|
|||
(1 << CP0C3_RXI) | (1 << CP0C3_LPA),
|
||||
MIPS_CONFIG4 | (1U << CP0C4_M) | (3 << CP0C4_IE) |
|
||||
(0xfc << CP0C4_KScrExist),
|
||||
MIPS_CONFIG5 | (1 << CP0C5_LLB),
|
||||
MIPS_CONFIG5 | (1 << CP0C5_XNP) | (1 << CP0C5_LLB),
|
||||
(1 << CP0C5_MSAEn) | (1 << CP0C5_SBRI) |
|
||||
(1 << CP0C5_FRE) | (1 << CP0C5_UFE),
|
||||
0,
|
||||
|
|
Loading…
Reference in a new issue