From patchwork Tue Oct 16 09:32:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 191782 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 33C222C009A for ; Tue, 16 Oct 2012 21:41:54 +1100 (EST) Received: from localhost ([::1]:36845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO4au-0005Gn-BW for incoming@patchwork.ozlabs.org; Tue, 16 Oct 2012 06:41:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO3Wq-0004Yt-1z for qemu-devel@nongnu.org; Tue, 16 Oct 2012 05:33:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TO3Wk-00019G-2K for qemu-devel@nongnu.org; Tue, 16 Oct 2012 05:33:35 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:46360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO3Wj-00012t-O7 for qemu-devel@nongnu.org; Tue, 16 Oct 2012 05:33:29 -0400 Received: by mail-pa0-f45.google.com with SMTP id fb10so5685847pad.4 for ; Tue, 16 Oct 2012 02:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=ef4BZbGkSxwAXnPLonVHXJLjlUAnZLd2wdB98z6yFEs=; b=Brm/pKxgFhn6LdGkGzTii5umB/OxyJEcrdA/5SA9cJvJZXZtNLjZNVXY4m78T5mkJy ZOTf3d2GfIvLV/3DgilDNFj+9T4BaRkaxPSkBOeBl0SGoV+b32oLQxwHkIqW9vJ/iEDC vm2gRMd6DTe6l7rZklK4oAzX4S8131VzBQ9g5afdIKRKkt8dRUjYRE6BC0dcH9g1dbW5 eLSnxe1auHVbFws0h1G+CGjm5KftgU+W0Rnw0wxj2Lu7riTl+Y8Cu2+THRbJXPt3irXS HHIb6oM58dlA5ccHm74H67vw8J4LabrAIhwG5/Jy61GumsR/da7AavU8eYVJEbSV8EX4 V7/w== Received: by 10.66.90.65 with SMTP id bu1mr40229715pab.31.1350380009051; Tue, 16 Oct 2012 02:33:29 -0700 (PDT) Received: from pebble.twiddle.home ([1.141.46.32]) by mx.google.com with ESMTPS id n7sm10568078pav.26.2012.10.16.02.33.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Oct 2012 02:33:28 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 16 Oct 2012 19:32:27 +1000 Message-Id: <1350379951-17615-17-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1350379951-17615-1-git-send-email-rth@twiddle.net> References: <1350379951-17615-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.45 Cc: blauwirbel@gmail.com Subject: [Qemu-devel] [PATCH 16/20] target-sparc: Remove cpu_tmp64 use from softint insns X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The use of "tl" functions and a tmp64 is logically incompatible. Use cpu_tmp0 instead. Signed-off-by: Richard Henderson --- target-sparc/translate.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 00ceb9d..64feaa3 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -3655,20 +3655,20 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn) case 0x14: /* Softint set */ if (!supervisor(dc)) goto illegal_insn; - tcg_gen_xor_tl(cpu_tmp64, cpu_src1, cpu_src2); - gen_helper_set_softint(cpu_env, cpu_tmp64); + tcg_gen_xor_tl(cpu_tmp0, cpu_src1, cpu_src2); + gen_helper_set_softint(cpu_env, cpu_tmp0); break; case 0x15: /* Softint clear */ if (!supervisor(dc)) goto illegal_insn; - tcg_gen_xor_tl(cpu_tmp64, cpu_src1, cpu_src2); - gen_helper_clear_softint(cpu_env, cpu_tmp64); + tcg_gen_xor_tl(cpu_tmp0, cpu_src1, cpu_src2); + gen_helper_clear_softint(cpu_env, cpu_tmp0); break; case 0x16: /* Softint write */ if (!supervisor(dc)) goto illegal_insn; - tcg_gen_xor_tl(cpu_tmp64, cpu_src1, cpu_src2); - gen_helper_write_softint(cpu_env, cpu_tmp64); + tcg_gen_xor_tl(cpu_tmp0, cpu_src1, cpu_src2); + gen_helper_write_softint(cpu_env, cpu_tmp0); break; case 0x17: /* Tick compare */ #if !defined(CONFIG_USER_ONLY)