projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9d607
)
Allocate a register pair instead of a single register.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 7 Jun 2008 04:31:49 +0000
(
04:31
+0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 7 Jun 2008 04:31:49 +0000
(
04:31
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4688
c046a42c
-6fe2-441c-8c8c-
71466251a162
tcg/tcg.c
patch
|
blob
|
history
diff --git
a/tcg/tcg.c
b/tcg/tcg.c
index
ef4460d
..
b4b8d8e
100644
(file)
--- a/
tcg/tcg.c
+++ b/
tcg/tcg.c
@@
-353,7
+353,7
@@
TCGv tcg_global_mem_new(TCGType type, int reg, tcg_target_long offset,
#if TCG_TARGET_REG_BITS == 32
if (type == TCG_TYPE_I64) {
char buf[64];
- tcg_temp_alloc(s, s->nb_globals +
1
);
+ tcg_temp_alloc(s, s->nb_globals +
2
);
ts = &s->temps[s->nb_globals];
ts->base_type = type;
ts->type = TCG_TYPE_I32;