On 11/13/26 08:11, Philippe Mathieu-Daudé wrote:
The nanoMIPS BREAK[32] and BREAK[16] decoders call
generate_exception_end() and drop the break code, leaving a
stale env->error_code for linux-user. Pass the encoded 'code'
19 bits for BREAK[32], 3 bits for BREAK[16] (MD01247 rev 01.01,
p.59).

Complete 6f3533dd1b6a ("target/mips: Extract break code into
env->error_code").

Fixes: c02809830346 ("target/mips: Add emulation of some nanoMIPS 32-bit")
Fixes: 8869ad02bfd9 ("target/mips: Add emulation of nanoMIPS 16-bit misc")
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  target/mips/tcg/nanomips_translate.c.inc | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to