Skip to content
Snippets Groups Projects
Commit 54ccff51 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé
Browse files

target/mips: Declare gen_msa/_branch() in 'translate.h'


Make gen_msa() and gen_msa_branch() public declarations
so we can keep calling them once extracted from the big
translate.c in the next commit.

Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20201215225757.764263-18-f4bug@amsat.org>
Tested-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
parent edb23847
No related branches found
No related tags found
No related merge requests found
......@@ -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;
 
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment