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:
a9e05a1
)
target-alpha: Use non-local temps for zero/sink
author
Richard Henderson
<rth@twiddle.net>
Fri, 21 Mar 2014 19:46:00 +0000
(12:46 -0700)
committer
Richard Henderson
<rth@twiddle.net>
Thu, 17 Apr 2014 18:47:42 +0000
(11:47 -0700)
These values are no longer live across branches.
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-alpha/translate.c
patch
|
blob
|
history
diff --git
a/target-alpha/translate.c
b/target-alpha/translate.c
index
2c77136
..
c5f2a8d
100644
(file)
--- a/
target-alpha/translate.c
+++ b/
target-alpha/translate.c
@@
-153,7
+153,7
@@
void alpha_translate_init(void)
static TCGv load_zero(DisasContext *ctx)
{
if (TCGV_IS_UNUSED_I64(ctx->zero)) {
- ctx->zero = tcg_const_
local_
i64(0);
+ ctx->zero = tcg_const_i64(0);
}
return ctx->zero;
}
@@
-161,7
+161,7
@@
static TCGv load_zero(DisasContext *ctx)
static TCGv dest_sink(DisasContext *ctx)
{
if (TCGV_IS_UNUSED_I64(ctx->sink)) {
- ctx->sink = tcg_temp_
local_
new();
+ ctx->sink = tcg_temp_new();
}
return ctx->sink;
}