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: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20201215225757.764263-18-f4bug@amsat.org> Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
This commit is contained in:
parent
edb2384728
commit
54ccff5102
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user