From nobody Tue Apr 30 07:24:23 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1488318339211363.3136414588595; Tue, 28 Feb 2017 13:45:39 -0800 (PST) Received: from localhost ([::1]:37134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cipaS-0005pC-QO for importer@patchew.org; Tue, 28 Feb 2017 16:45:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cipOs-0004c0-5M for qemu-devel@nongnu.org; Tue, 28 Feb 2017 16:33:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cipOq-0002lT-27 for qemu-devel@nongnu.org; Tue, 28 Feb 2017 16:33:38 -0500 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:34742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cipOp-0002lM-U0 for qemu-devel@nongnu.org; Tue, 28 Feb 2017 16:33:36 -0500 Received: by mail-pg0-x241.google.com with SMTP id s67so3059732pgb.1 for ; Tue, 28 Feb 2017 13:33:35 -0800 (PST) Received: from bigtime.twiddle.net ([161.43.123.202]) by smtp.gmail.com with ESMTPSA id e13sm6030852pgn.38.2017.02.28.13.33.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Feb 2017 13:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=5hhfk/UOkZKctTlyLUoFzuqH9hiKnCLMlRkPr1w3hpQ=; b=J+rX+qXLP/NuxWgTeEsAahmUlZIyXsGd0EdM1O230NDZlGKU4pRDoZR+YWcCVDRo68 bPm/pPw7Wzwfdtw34fbnowTasQAOD3WuT6B8XJH2V9/v+ne73kkzN9wCaHS+s7A8QdPZ 4sYvQFpsxhOmjpBxlsgZpHffdNx9TPyNn2NPXtqGV1EbOh1RtO8GlMPezauEaSTd5s38 SDlesZa/vkCL1Foc/W0NrN/hS5IckzMRLp6u7vnDF2JBF4kR4r61AQsafxvCk+kzAYRt w6ah5GVKNf1wVnKME+GDv3pk8jcR3eS64oXSGRVVeLpkmyZdunIJDuPNohUO9gbPKUdb qICA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=5hhfk/UOkZKctTlyLUoFzuqH9hiKnCLMlRkPr1w3hpQ=; b=ccT/RyqfedRfkliC629r7q+3O+OpuPB8K6bjOWH52kA4nJ0Rg1EuLUHIc0N4ASqLds oFnoOpG0dkG4FvDFfAfsgkmQo/ng6fP/0vNBEr2IhmAhMzYB4C/+GjNrjaAoEc3UGYVL Gk9MIkpawKpwbCCQq9SDyHe41a73s0dpx+3LnFYiasPDEDFMPUypWkJx/Eihrds2hbav m35gE0omae1Ybj/yDOG14xMHaGgya9Kii3RoKlnxjKWd0WIQ4LDS+9QuU/E1PDMyp6+5 wEDrcaRwTP4aMoVUDWTTCAgRrkg6GRDDy+fo8OFmspNeuVJcyCeus0pSvOxJ+VEart8d 8nRw== X-Gm-Message-State: AMke39lU2YIxglcWn5PPp9BwQrYPOIvDp0GUjhfvZQNGf9ixjMFIB13xn9rL9lj6gKEjmg== X-Received: by 10.98.72.88 with SMTP id v85mr4699195pfa.99.1488317615024; Tue, 28 Feb 2017 13:33:35 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 1 Mar 2017 08:33:24 +1100 Message-Id: <20170228213324.23510-2-rth@twiddle.net> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170228213324.23510-1-rth@twiddle.net> References: <20170228213324.23510-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::241 Subject: [Qemu-devel] [PULL] aarch64: Change ext type to TCGType to fix warnings X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Pranith Kumar Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Pranith Kumar To fix the following warnings: In file included from /users/pranith/qemu/tcg/tcg.c:255: /users/pranith/qemu/tcg/aarch64/tcg-target.inc.c:879:24: warning: implicit = conversion from enumeration type 'TCGMemOp' (aka 'enum TCGMemOp') to differ= ent enumeration type 'TCGType' (aka 'enum TCGType') [-Wenum-conversion] tcg_out_cmp(s, ext, a, b, b_const); ~~~~~~~~~~~ ^~~ /users/pranith/qemu/tcg/aarch64/tcg-target.inc.c:893:36: warning: implicit = conversion from enumeration type 'TCGMemOp' (aka 'enum TCGMemOp') to differ= ent enumeration type 'TCGType' (aka 'enum TCGType') [-Wenum-conversion] tcg_out_insn(s, 3201, CBZ, ext, a, offset); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /users/pranith/qemu/tcg/aarch64/tcg-target.inc.c:389:65: note: expanded fro= m macro 'tcg_out_insn' glue(tcg_out_insn_,FMT)(S, glue(glue(glue(I,FMT),_),OP), ## __VA_ARGS__) ^ /users/pranith/qemu/tcg/aarch64/tcg-target.inc.c:895:37: warning: implicit = conversion from enumeration type 'TCGMemOp' (aka 'enum TCGMemOp') to differ= ent enumeration type 'TCGType' (aka 'enum TCGType') [-Wenum-conversion] tcg_out_insn(s, 3201, CBNZ, ext, a, offset); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /users/pranith/qemu/tcg/aarch64/tcg-target.inc.c:389:65: note: expanded fro= m macro 'tcg_out_insn' glue(tcg_out_insn_,FMT)(S, glue(glue(glue(I,FMT),_),OP), ## __VA_ARGS__) ^ /users/pranith/qemu/tcg/aarch64/tcg-target.inc.c:1610:27: warning: implicit= conversion from enumeration type 'TCGType' (aka 'enum TCGType') to differe= nt enumeration type 'TCGMemOp' (aka 'enum TCGMemOp') [-Wenum-conversion] tcg_out_brcond(s, ext, a2, a0, a1, const_args[1], arg_label(args[3]= )); ~~~~~~~~~~~~~~ ^~~ Signed-off-by: Pranith Kumar Message-Id: <20170217154311.13920-1-bobby.prani@gmail.com> Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.inc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c index 6d227a5..290de6d 100644 --- a/tcg/aarch64/tcg-target.inc.c +++ b/tcg/aarch64/tcg-target.inc.c @@ -866,7 +866,7 @@ static inline void tcg_out_goto_label(TCGContext *s, TC= GLabel *l) } } =20 -static void tcg_out_brcond(TCGContext *s, TCGMemOp ext, TCGCond c, TCGArg = a, +static void tcg_out_brcond(TCGContext *s, TCGType ext, TCGCond c, TCGArg a, TCGArg b, bool b_const, TCGLabel *l) { intptr_t offset; @@ -937,7 +937,7 @@ static void tcg_out_addsubi(TCGContext *s, int ext, TCG= Reg rd, } } =20 -static inline void tcg_out_addsub2(TCGContext *s, int ext, TCGReg rl, +static inline void tcg_out_addsub2(TCGContext *s, TCGType ext, TCGReg rl, TCGReg rh, TCGReg al, TCGReg ah, tcg_target_long bl, tcg_target_long bh, bool const_bl, bool const_bh, bool sub) --=20 2.9.3