target-ppc: Fix 2nd parameter for tcg_gen_shri_tl

This fixes a compiler error when QEMU was configured with --enable-debug.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Stefan Weil 2012-06-24 04:18:41 +00:00 committed by Alexander Graf
parent 975e546358
commit cfee021849
1 changed files with 1 additions and 1 deletions

View File

@ -4475,7 +4475,7 @@ static void spr_write_mas73(void *opaque, int sprn, int gprn)
TCGv val = tcg_temp_new(); TCGv val = tcg_temp_new();
tcg_gen_ext32u_tl(val, cpu_gpr[gprn]); tcg_gen_ext32u_tl(val, cpu_gpr[gprn]);
gen_store_spr(SPR_BOOKE_MAS3, val); gen_store_spr(SPR_BOOKE_MAS3, val);
tcg_gen_shri_tl(val, gprn, 32); tcg_gen_shri_tl(val, cpu_gpr[gprn], 32);
gen_store_spr(SPR_BOOKE_MAS7, val); gen_store_spr(SPR_BOOKE_MAS7, val);
tcg_temp_free(val); tcg_temp_free(val);
} }