From patchwork Mon Mar 17 12:23:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 330927 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1804F2C00CD for ; Mon, 17 Mar 2014 23:26:08 +1100 (EST) Received: from localhost ([::1]:57197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPWcH-0007hI-4r for incoming@patchwork.ozlabs.org; Mon, 17 Mar 2014 08:26:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPWa1-0004DT-WE for qemu-devel@nongnu.org; Mon, 17 Mar 2014 08:23:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPWZw-0003U1-5p for qemu-devel@nongnu.org; Mon, 17 Mar 2014 08:23:45 -0400 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:35167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPWZw-0003Tv-1Y for qemu-devel@nongnu.org; Mon, 17 Mar 2014 08:23:40 -0400 Received: by mail-qg0-f50.google.com with SMTP id q108so16331226qgd.9 for ; Mon, 17 Mar 2014 05:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=0HZPpzDP0a5fmwNm8hHg6Ez5HxtMLfzCnqsa3l6H5ms=; b=SowwNLMI/f9jP1fen7VqQu92UVYVPClIvNtlIrvsPr+uaqfn9Tusc1eXqMDCUhOmgk G7ypdbLNOD6xJxEbg3DpPRbl/RYDt89LTUqI3ORcwdVIlskluXSfzpXTaf/MFDD07pxv XVsgjjQfC+cbUqazbg1TbXyR74W5xXBLPdce4uWusLgURwShb4sNmyX2cFzU6YUdCnrb YsUnyc3M+KzGoiqqAD0/PDf96cwCT2Yh2GKnHOeofWP/aBDwguNeVBS1CwrVyifU8aob uxNINJZ4kgl9FcbLQXzxhX2L6WZ7jZcGcnwFpbganOQoa2QGOsFIO/pgu71cWofBDY4W W2lw== X-Received: by 10.140.104.230 with SMTP id a93mr917953qgf.113.1395059019625; Mon, 17 Mar 2014 05:23:39 -0700 (PDT) Received: from yakj.usersys.redhat.com (net-37-117-154-249.cust.vodafonedsl.it. [37.117.154.249]) by mx.google.com with ESMTPSA id u15sm20813967qge.2.2014.03.17.05.23.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Mar 2014 05:23:39 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 17 Mar 2014 13:23:16 +0100 Message-Id: <1395058997-19660-4-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1395058997-19660-1-git-send-email-pbonzini@redhat.com> References: <1395058997-19660-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::232 Subject: [Qemu-devel] [PULL 3/4] target-alpha: fix subl and s8subl indentation 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 Two missing braces, one close and one open, fabulously let the code compile. Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- target-alpha/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index a9ef1a7..e7e319b 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -1927,6 +1927,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn) else { tcg_gen_neg_i64(cpu_ir[rc], cpu_ir[rb]); tcg_gen_ext32s_i64(cpu_ir[rc], cpu_ir[rc]); + } } } break; @@ -1991,7 +1992,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn) } else { if (islit) tcg_gen_movi_i64(cpu_ir[rc], -lit); - else + else { tcg_gen_neg_i64(cpu_ir[rc], cpu_ir[rb]); tcg_gen_ext32s_i64(cpu_ir[rc], cpu_ir[rc]); }