On 11/13/26 08:11, Philippe Mathieu-Daudé wrote:
The Config3.ISA == 3 test ANDs bit 14 and bit 15 as two separate constants, so it is always false and no CPU resets into microMIPS mode. Test the 2-bit field instead.Config3.ISA == 3: both MIPS32 and microMIPS32 are implemented, with microMIPS32 used out of reset (MD00090 rev 6.02, Table 9.67, p. 248). Fixes: 0bbc0396809f ("target/mips: Prevent switching mode Config3 ISA bit nanoMIPS") Signed-off-by: Philippe Mathieu-Daudé<[email protected]> --- target/mips/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson <[email protected]> r~
