projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9843a0d
)
Allocate register pair for 64-bit registers on 32-bit host.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Jun 2008 11:03:34 +0000
(11:03 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Jun 2008 11:03:34 +0000
(11:03 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4730
c046a42c
-6fe2-441c-8c8c-
71466251a162
tcg/tcg.c
patch
|
blob
|
history
diff --git
a/tcg/tcg.c
b/tcg/tcg.c
index b4b8d8ea22fdd4887fab706c05277056801bdf90..e976054110d92f2803784a68e5d5b4077170f28a 100644
(file)
--- a/
tcg/tcg.c
+++ b/
tcg/tcg.c
@@
-423,7
+423,7
@@
TCGv tcg_temp_new_internal(TCGType type, int temp_local)
idx = s->nb_temps;
#if TCG_TARGET_REG_BITS == 32
if (type == TCG_TYPE_I64) {
- tcg_temp_alloc(s, s->nb_temps +
1
);
+ tcg_temp_alloc(s, s->nb_temps +
2
);
ts = &s->temps[s->nb_temps];
ts->base_type = type;
ts->type = TCG_TYPE_I32;
@@
-1961,7
+1961,7
@@
static inline int tcg_gen_code_common(TCGContext *s, uint8_t *gen_code_buf,
break;
}
args += def->nb_args;
- next:
;
+ next:
if (search_pc >= 0 && search_pc < s->code_ptr - gen_code_buf) {
return op_index;
}