From nobody Mon May 6 12:20:33 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 1487346300077429.9367883221332; Fri, 17 Feb 2017 07:45:00 -0800 (PST) Received: from localhost ([::1]:54362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cekiQ-0001EE-K3 for importer@patchew.org; Fri, 17 Feb 2017 10:44:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cekgn-0000Hs-E4 for qemu-devel@nongnu.org; Fri, 17 Feb 2017 10:43:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cekgj-0007Lt-Fm for qemu-devel@nongnu.org; Fri, 17 Feb 2017 10:43:17 -0500 Received: from mail-yw0-x244.google.com ([2607:f8b0:4002:c05::244]:35724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cekgj-0007Li-An for qemu-devel@nongnu.org; Fri, 17 Feb 2017 10:43:13 -0500 Received: by mail-yw0-x244.google.com with SMTP id l16so3513274ywb.2 for ; Fri, 17 Feb 2017 07:43:13 -0800 (PST) Received: from localhost.localdomain (c-73-207-178-95.hsd1.ga.comcast.net. [73.207.178.95]) by smtp.gmail.com with ESMTPSA id a136sm3882649ywh.58.2017.02.17.07.43.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Feb 2017 07:43:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=DbWK6BfOREoF8ku6OnjMXUeOcCZDuBDIoi2Cm8g0Vrg=; b=Lix5OI5XwWA6qefB8kU9wK9/gqObWG6blQhesAdv/w19VLEdtmyXAeZ0oP+Y7I2DXX OdRTJ+fUunclGQ27J/aE4Qw8zC3cZ3pcvRdEsWyrx+B+d1l5zKH03whJc0xAAAtrPz4D ZBB/IwKm0O1hyx6oPovDWfAdRte/b6j0Onhx5LhAfu4Q7nNSYjHWtd4fPpf2amyjycq8 JdFW+3PItcSnolM2v6UFSbQA5vCaOTguozLmfNt44qa4HQufrVl81bmk/5nZpMJgyZ4U g58nunOkt6Me1slVwLvNnHtRTlk1YKasAzMjvtHeXlJUPwO7TWY/HnaSVfbCsZKS+3z9 KCsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DbWK6BfOREoF8ku6OnjMXUeOcCZDuBDIoi2Cm8g0Vrg=; b=FQPbfUUrZEJwockeh5JOXXmNH9jo2hDKFAOqMA4HLP22ZlDpXPLxYSwVdOgkuRFVKO mRNyLM+E6Jpt58234pQVoU+WbfNFNy46fwsz58cP4UsYRhqDxmoLnXxnjCewVpjqKPsj MZ/OPrtnyK5+d41hqC7BRlsDvh0iiA6eG+jajdaLCSsG/5b42wAIJnPMXAafllszOOiU w+vulToCF2HfV9Vjifa/HyeBneh49jArqLTpZBs1HGScU3zT9OJYGu0a/1ERzNLnIhv0 cij+KBrqjvDoXhwYqp8RxSWcikWiUgLd2bb1Zc1y0VBntpNr0mmsnLc6ALhAtl7K5JB/ wMqA== X-Gm-Message-State: AMke39lK2R4cdpVi7S6D0Bacwn6KnKcgvoXl+5KGdJAdD0ZsbJHdsWRnm3ljrEMhUfg2Bg== X-Received: by 10.129.99.198 with SMTP id x189mr6099229ywb.242.1487346192605; Fri, 17 Feb 2017 07:43:12 -0800 (PST) From: Pranith Kumar To: alex.bennee@linaro.org Date: Fri, 17 Feb 2017 10:43:11 -0500 Message-Id: <20170217154311.13920-1-bobby.prani@gmail.com> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::244 Subject: [Qemu-devel] [PATCH RESEND] 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, qemu-devel@nongnu.org, rth@twiddle.net 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" 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 --- 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 6d227a5a6a..290de6dae6 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.11.0