mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
tcg: Rename cpu_env to tcg_env
Allow the name 'cpu_env' to be used for something else. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a953b5fa15
commit
ad75a51e84
91 changed files with 3818 additions and 3819 deletions
|
@ -169,8 +169,8 @@ static bool trans_mulhu(DisasContext *ctx, arg_mulhu *a)
|
|||
static void gen_div_i128(TCGv rdl, TCGv rdh,
|
||||
TCGv rs1l, TCGv rs1h, TCGv rs2l, TCGv rs2h)
|
||||
{
|
||||
gen_helper_divs_i128(rdl, cpu_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, cpu_env, offsetof(CPURISCVState, retxh));
|
||||
gen_helper_divs_i128(rdl, tcg_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, tcg_env, offsetof(CPURISCVState, retxh));
|
||||
}
|
||||
|
||||
static void gen_div(TCGv ret, TCGv source1, TCGv source2)
|
||||
|
@ -212,8 +212,8 @@ static bool trans_div(DisasContext *ctx, arg_div *a)
|
|||
static void gen_divu_i128(TCGv rdl, TCGv rdh,
|
||||
TCGv rs1l, TCGv rs1h, TCGv rs2l, TCGv rs2h)
|
||||
{
|
||||
gen_helper_divu_i128(rdl, cpu_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, cpu_env, offsetof(CPURISCVState, retxh));
|
||||
gen_helper_divu_i128(rdl, tcg_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, tcg_env, offsetof(CPURISCVState, retxh));
|
||||
}
|
||||
|
||||
static void gen_divu(TCGv ret, TCGv source1, TCGv source2)
|
||||
|
@ -244,8 +244,8 @@ static bool trans_divu(DisasContext *ctx, arg_divu *a)
|
|||
static void gen_rem_i128(TCGv rdl, TCGv rdh,
|
||||
TCGv rs1l, TCGv rs1h, TCGv rs2l, TCGv rs2h)
|
||||
{
|
||||
gen_helper_rems_i128(rdl, cpu_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, cpu_env, offsetof(CPURISCVState, retxh));
|
||||
gen_helper_rems_i128(rdl, tcg_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, tcg_env, offsetof(CPURISCVState, retxh));
|
||||
}
|
||||
|
||||
static void gen_rem(TCGv ret, TCGv source1, TCGv source2)
|
||||
|
@ -289,8 +289,8 @@ static bool trans_rem(DisasContext *ctx, arg_rem *a)
|
|||
static void gen_remu_i128(TCGv rdl, TCGv rdh,
|
||||
TCGv rs1l, TCGv rs1h, TCGv rs2l, TCGv rs2h)
|
||||
{
|
||||
gen_helper_remu_i128(rdl, cpu_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, cpu_env, offsetof(CPURISCVState, retxh));
|
||||
gen_helper_remu_i128(rdl, tcg_env, rs1l, rs1h, rs2l, rs2h);
|
||||
tcg_gen_ld_tl(rdh, tcg_env, offsetof(CPURISCVState, retxh));
|
||||
}
|
||||
|
||||
static void gen_remu(TCGv ret, TCGv source1, TCGv source2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue