mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
tcg_temp_local_new should take no parameter
This patch removes useless type information in some calls to tcg_temp_local_new. It also removes the parameter from the macro declaration; if a target has to use a specific non-default size then it should use tcg_temp_local_new_{i32,i64}. Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6146 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c6945b153c
commit
df9247b264
3 changed files with 9 additions and 9 deletions
|
@ -6350,7 +6350,7 @@ static always_inline void gen_##name (DisasContext *ctx) \
|
|||
TCGv_i32 t0 = tcg_temp_local_new_i32(); \
|
||||
TCGv_i32 t1 = tcg_temp_local_new_i32(); \
|
||||
TCGv_i32 t2 = tcg_temp_local_new_i32(); \
|
||||
TCGv_i64 t3 = tcg_temp_local_new(TCG_TYPE_I64); \
|
||||
TCGv_i64 t3 = tcg_temp_local_new(); \
|
||||
tcg_gen_trunc_i64_i32(t0, cpu_gpr[rA(ctx->opcode)]); \
|
||||
tcg_gen_trunc_i64_i32(t2, cpu_gpr[rB(ctx->opcode)]); \
|
||||
tcg_op(t0, t0, t2); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue