summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-02-18 09:45:44 +0100
committerPhilippe Mathieu-Daudé2021-03-13 23:42:55 +0100
commite31b43ec507ba35a804f6323d94522c5a2e5581a (patch)
treefec93e4ba7486dfeb266ba665c6132b145d9c814
parenttarget/mips: Move MUL opcode check from decode_mxu() to decode_legacy() (diff)
downloadqemu-e31b43ec507ba35a804f6323d94522c5a2e5581a.tar.gz
qemu-e31b43ec507ba35a804f6323d94522c5a2e5581a.tar.xz
qemu-e31b43ec507ba35a804f6323d94522c5a2e5581a.zip
target/mips: Rename decode_opc_mxu() as decode_ase_mxu()
Use "decode_{isa,ase,ext}_$name()" function name pattern for public decodetree entrypoints. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210226093111.3865906-10-f4bug@amsat.org>
-rw-r--r--target/mips/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c
index 17cf608d0b..5c1909f0ba 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -25779,7 +25779,7 @@ static void decode_opc_mxu__pool19(DisasContext *ctx)
/*
* Main MXU decoding function
*/
-static void decode_opc_mxu(DisasContext *ctx, uint32_t insn)
+static void decode_ase_mxu(DisasContext *ctx, uint32_t insn)
{
uint32_t opcode = extract32(insn, 0, 6);
@@ -26984,7 +26984,7 @@ static bool decode_opc_legacy(CPUMIPSState *env, DisasContext *ctx)
if (MASK_SPECIAL2(ctx->opcode) == OPC_MUL) {
gen_arith(ctx, OPC_MUL, rd, rs, rt);
} else {
- decode_opc_mxu(ctx, ctx->opcode);
+ decode_ase_mxu(ctx, ctx->opcode);
}
break;
}