On 11/13/26 08:11, Philippe Mathieu-Daudé wrote:
The BPOSGE32C offset is a signed value s[14:1], with s[14] stored in instruction bit 0 (MD01249 rev 0.04, "BPOSGE32C", printed page 88). The decoder zero-extended it, so backward branches went to the wrong target.Reuse the sign-extended offset already computed by the P.BR3A pool. Fixes: 6d033ca7513d ("target/mips: Add emulation of DSP ASE for nanoMIPS") Signed-off-by: Philippe Mathieu-Daudé<[email protected]> --- target/mips/tcg/nanomips_translate.c.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
