OSDN Git Service

target/mips: Fix trans_mult_acc return
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 25 Feb 2023 05:35:02 +0000 (19:35 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:08 +0000 (13:44 -0800)
Success from trans_* subroutines should be true.

Fixes: 5fa38eedbd ("target/mips: Convert Vr54xx MACC* opcodes to decodetree")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/mips/tcg/vr54xx_translate.c

index 3e2c98f..a7d241e 100644 (file)
@@ -53,7 +53,7 @@ static bool trans_mult_acc(DisasContext *ctx, arg_r *a,
     tcg_temp_free(t0);
     tcg_temp_free(t1);
 
-    return false;
+    return true;
 }
 
 TRANS(MACC,     trans_mult_acc, gen_helper_macc);