mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
target/mips/translate: Make gen_rdhwr() public
We will use gen_rdhwr() outside of translate.c, make it public. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210214175912.732946-28-f4bug@amsat.org>
This commit is contained in:
parent
1f9408d550
commit
f9fa53f197
@ -12349,7 +12349,7 @@ static void gen_flt3_arith(DisasContext *ctx, uint32_t opc,
|
||||
}
|
||||
}
|
||||
|
||||
static void gen_rdhwr(DisasContext *ctx, int rt, int rd, int sel)
|
||||
void gen_rdhwr(DisasContext *ctx, int rt, int rd, int sel)
|
||||
{
|
||||
TCGv t0;
|
||||
|
||||
|
@ -148,6 +148,8 @@ void gen_op_addr_add(DisasContext *ctx, TCGv ret, TCGv arg0, TCGv arg1);
|
||||
bool gen_lsa(DisasContext *ctx, int rd, int rt, int rs, int sa);
|
||||
bool gen_dlsa(DisasContext *ctx, int rd, int rt, int rs, int sa);
|
||||
|
||||
void gen_rdhwr(DisasContext *ctx, int rt, int rd, int sel);
|
||||
|
||||
extern TCGv cpu_gpr[32], cpu_PC;
|
||||
#if defined(TARGET_MIPS64)
|
||||
extern TCGv_i64 cpu_gpr_hi[32];
|
||||
|
Loading…
Reference in New Issue
Block a user