Commit ba64a93462 for qemu.org
commit ba64a93462881db6c16196ef17f9a65873ac0d49
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date: Thu Nov 12 16:10:09 2026 +0100
target/mips: Fix microMIPS BC2NEZC POOL32I minor opcode
BC2NEZC is POOL32I minor opcode 0x0b (bits 25:21 = 01011);
0x0a is BC2EQZC. See MD00582 rev 6.04 p. 131 and MD00594
rev 6.04 p. 145.
Both constants are unreferenced, so there is no functional change.
Fixes: 3a1f426828cd ("target-mips: add microMIPS32 R6 opcode enum")
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20261113161158.25811-8-philmd@oss.qualcomm.com>
diff --git a/target/mips/tcg/micromips_translate.c.inc b/target/mips/tcg/micromips_translate.c.inc
index d6a5c2263b..4ad2b69961 100644
--- a/target/mips/tcg/micromips_translate.c.inc
+++ b/target/mips/tcg/micromips_translate.c.inc
@@ -513,7 +513,7 @@ enum {
TLTIU = 0x0a,
BC2EQZC = 0x0a,
TGEIU = 0x0b,
- BC2NEZC = 0x0a,
+ BC2NEZC = 0x0b,
TNEI = 0x0c,
R6_SYNCI = 0x0c,
LUI = 0x0d,