qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 37/40] target-alpha: Use non-local temps for zero/si


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 37/40] target-alpha: Use non-local temps for zero/sink
Date: Thu, 17 Apr 2014 12:33:12 -0700

These values are no longer live across branches.

Signed-off-by: Richard Henderson <address@hidden>
---
 target-alpha/translate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 2c77136..c5f2a8d 100644
--- 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;
 }
-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]