aboutsummaryrefslogtreecommitdiff
path: root/target/mips
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips')
-rw-r--r--target/mips/translate.c4
-rw-r--r--target/mips/translate.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c
index 67418621bc..0f1f89af84 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -28659,7 +28659,7 @@ static bool gen_msa_BxZ(DisasContext *ctx, int df, int wt, int s16, bool if_not)
return true;
}
-static void gen_msa_branch(DisasContext *ctx, uint32_t op1)
+void gen_msa_branch(DisasContext *ctx, uint32_t op1)
{
uint8_t df = (ctx->opcode >> 21) & 0x3;
uint8_t wt = (ctx->opcode >> 16) & 0x1f;
@@ -30435,7 +30435,7 @@ static void gen_msa_vec(DisasContext *ctx)
}
}
-static void gen_msa(DisasContext *ctx)
+void gen_msa(DisasContext *ctx)
{
uint32_t opcode = ctx->opcode;
diff --git a/target/mips/translate.h b/target/mips/translate.h
index 190d415c3b..ea9c18029d 100644
--- a/target/mips/translate.h
+++ b/target/mips/translate.h
@@ -174,5 +174,7 @@ extern TCGv bcond;
/* MSA */
void msa_translate_init(void);
+void gen_msa(DisasContext *ctx);
+void gen_msa_branch(DisasContext *ctx, uint32_t op1);
#endif