projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
975e546
)
target-ppc: Fix 2nd parameter for tcg_gen_shri_tl
author
Stefan Weil
<sw@weilnetz.de>
Sun, 24 Jun 2012 04:18:41 +0000
(
04:18
+0000)
committer
Alexander Graf
<agraf@suse.de>
Sun, 24 Jun 2012 20:52:11 +0000
(22:52 +0200)
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>
target-ppc/translate_init.c
patch
|
blob
|
history
diff --git
a/target-ppc/translate_init.c
b/target-ppc/translate_init.c
index e6580ff27c584b18dc5813c3ce5064edac630753..5742229197f13640e1085d2512245a25634dea68 100644
(file)
--- a/
target-ppc/translate_init.c
+++ b/
target-ppc/translate_init.c
@@
-4475,7
+4475,7
@@
static void spr_write_mas73(void *opaque, int sprn, int gprn)
TCGv val = tcg_temp_new();
tcg_gen_ext32u_tl(val, cpu_gpr[gprn]);
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);
tcg_temp_free(val);
}