From nobody Thu Dec 18 22:25:39 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1560784265; cv=none; d=zoho.com; s=zohoarc; b=ceYVOjmE32gIN45y6gN3HUzdwHuSx/qMBTj6k+oE5Q/EVyI0n7sre9yU7dv3Fm6+vvrWRysGwsg4C5gAz/H8DRWMmUenp+IxIdt+M1KMiDt1bDNcahpPUkd/v12aToOYKbu2f7V95hCUDI7VcIPBxbNiyA3/hIKaseKDGdHqoeQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560784265; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=HRNOi6ICfUn/2quaFaB6uVzcnt5OTh3SvAEE3S908PQ=; b=OZh25pFltra+tYuwQt6xhVUMm3gUk/7YnSblXFRC4vmTyhqSPv5PFD1A2WzauI89mrTeZVVn0s1XQKvr06KJvAwHRts1Bc8xvHW9t7tj/Fkz4N9vnJdf/iHOQwzB/39NKod0gd0IuU7e9pwFPgQdu14sTudaDJPC6+dMhEW6ftI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1560784265014927.920258763888; Mon, 17 Jun 2019 08:11:05 -0700 (PDT) Received: from localhost ([::1]:48336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hctHb-0002PX-UX for importer@patchew.org; Mon, 17 Jun 2019 11:10:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46913) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcsib-0003pu-QL for qemu-devel@nongnu.org; Mon, 17 Jun 2019 10:34:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcsia-0008I0-2y for qemu-devel@nongnu.org; Mon, 17 Jun 2019 10:34:45 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:33205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcsiX-0008Ff-LA for qemu-devel@nongnu.org; Mon, 17 Jun 2019 10:34:42 -0400 Received: by mail-wr1-x429.google.com with SMTP id n9so10259275wru.0 for ; Mon, 17 Jun 2019 07:34:40 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id a67sm13819985wmh.40.2019.06.17.07.34.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 07:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=HRNOi6ICfUn/2quaFaB6uVzcnt5OTh3SvAEE3S908PQ=; b=rVHp5i6mIKYkQ0TlSbSVOO5oo2WrzkzdJgj6SOLL6kAWn2xmQ1w57jkpU7hz5cWdnp Jq09qll9pCgO/PP8cNu4M1s4lm7dJowW++VyONJGNG0eGtcn8fxL+Qj/a11mGBAa2G9V 7OxanCZI2qDVUY9f66kv5qzi2mAeTQ+3nXs2rZnzhvL3bg/vcAM+2hyI4F7ReUOtA+Hx JlpjN9X3KXTKTFH13GQNC8aDM8Aaihj6dL3lJwclQyxLGIGQZJPbUj1l/V34nngHOkOy vSZsq+qOND4chLwnPS0zFQ1UpFi+586RHuMDxP3mofMzeOBIEoDfJcaSrSqtPesQZERo XiSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HRNOi6ICfUn/2quaFaB6uVzcnt5OTh3SvAEE3S908PQ=; b=EZNWDlya3fIu/+KAnla+VUe31dqQe3P+L+QQe5MtPmWx2hlz/amTEpammMUl4pIOPB dY1syLLMQnXyRumsDdQgNW5bM1EPnBOe6/QRVaFHExVzd61YSSVrdOgseQMZCQQICmv2 Ql728/xlfhVzdHG/geo9iGf5HDXvxVP9XfsWh0gfO1d9H99aAkqfsYhc1yH5ODjYih8W szh0ZDl9Kz+2GYY/DdWOZul6/nWnfT+bV8peVj7UDUvPm2/2ZP4olw1kHjBTOKcxcNx6 4kIlxRVm6DmyV9CZUmSjCXdCavC6bm5F9GJIWja3D1OyaDDsiPNj6uZtOH51mQRGGtUa DDvA== X-Gm-Message-State: APjAAAVylMkTlv3uEyDSJ8qGLrWO1wXaEHMmqZepdwebmTAlfMpeiVqC SngN2wqnvEtd5dkNjnlk1sEuEXS3nprrIw== X-Google-Smtp-Source: APXvYqxEoOqpoz0lysC9VREAN1dyH8CQWi1QKEwHcY1hlrKttOsx+YwIQCnLIfvGouRpBpjnoFlfvQ== X-Received: by 2002:adf:cf0a:: with SMTP id o10mr14240622wrj.37.1560782079347; Mon, 17 Jun 2019 07:34:39 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 17 Jun 2019 15:34:11 +0100 Message-Id: <20190617143412.5734-24-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190617143412.5734-1-peter.maydell@linaro.org> References: <20190617143412.5734-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 Subject: [Qemu-devel] [PULL 23/24] target/arm: Fix typos in trans function prototypes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) In several places cut and paste errors meant we were using the wrong type for the 'arg' struct in trans_ functions called by the decodetree decoder, because we were using the _sp version of the struct in the _dp function. These were harmless, because the two structs were identical and so decodetree made them typedefs of the same underlying structure (and we'd have had a compile error if they were not harmless), but we should clean them up anyway. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20190614104457.24703-2-peter.maydell@linaro.org --- target/arm/translate-vfp.inc.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/target/arm/translate-vfp.inc.c b/target/arm/translate-vfp.inc.c index 8b732761f26..390441a1104 100644 --- a/target/arm/translate-vfp.inc.c +++ b/target/arm/translate-vfp.inc.c @@ -868,7 +868,7 @@ static bool trans_VMOV_64_sp(DisasContext *s, arg_VMOV_= 64_sp *a) return true; } =20 -static bool trans_VMOV_64_dp(DisasContext *s, arg_VMOV_64_sp *a) +static bool trans_VMOV_64_dp(DisasContext *s, arg_VMOV_64_dp *a) { TCGv_i32 tmp; =20 @@ -943,7 +943,7 @@ static bool trans_VLDR_VSTR_sp(DisasContext *s, arg_VLD= R_VSTR_sp *a) return true; } =20 -static bool trans_VLDR_VSTR_dp(DisasContext *s, arg_VLDR_VSTR_sp *a) +static bool trans_VLDR_VSTR_dp(DisasContext *s, arg_VLDR_VSTR_dp *a) { uint32_t offset; TCGv_i32 addr; @@ -1533,7 +1533,7 @@ static void gen_VMLA_dp(TCGv_i64 vd, TCGv_i64 vn, TCG= v_i64 vm, TCGv_ptr fpst) tcg_temp_free_i64(tmp); } =20 -static bool trans_VMLA_dp(DisasContext *s, arg_VMLA_sp *a) +static bool trans_VMLA_dp(DisasContext *s, arg_VMLA_dp *a) { return do_vfp_3op_dp(s, gen_VMLA_dp, a->vd, a->vn, a->vm, true); } @@ -1571,7 +1571,7 @@ static void gen_VMLS_dp(TCGv_i64 vd, TCGv_i64 vn, TCG= v_i64 vm, TCGv_ptr fpst) tcg_temp_free_i64(tmp); } =20 -static bool trans_VMLS_dp(DisasContext *s, arg_VMLS_sp *a) +static bool trans_VMLS_dp(DisasContext *s, arg_VMLS_dp *a) { return do_vfp_3op_dp(s, gen_VMLS_dp, a->vd, a->vn, a->vm, true); } @@ -1613,7 +1613,7 @@ static void gen_VNMLS_dp(TCGv_i64 vd, TCGv_i64 vn, TC= Gv_i64 vm, TCGv_ptr fpst) tcg_temp_free_i64(tmp); } =20 -static bool trans_VNMLS_dp(DisasContext *s, arg_VNMLS_sp *a) +static bool trans_VNMLS_dp(DisasContext *s, arg_VNMLS_dp *a) { return do_vfp_3op_dp(s, gen_VNMLS_dp, a->vd, a->vn, a->vm, true); } @@ -1647,7 +1647,7 @@ static void gen_VNMLA_dp(TCGv_i64 vd, TCGv_i64 vn, TC= Gv_i64 vm, TCGv_ptr fpst) tcg_temp_free_i64(tmp); } =20 -static bool trans_VNMLA_dp(DisasContext *s, arg_VNMLA_sp *a) +static bool trans_VNMLA_dp(DisasContext *s, arg_VNMLA_dp *a) { return do_vfp_3op_dp(s, gen_VNMLA_dp, a->vd, a->vn, a->vm, true); } @@ -1657,7 +1657,7 @@ static bool trans_VMUL_sp(DisasContext *s, arg_VMUL_s= p *a) return do_vfp_3op_sp(s, gen_helper_vfp_muls, a->vd, a->vn, a->vm, fals= e); } =20 -static bool trans_VMUL_dp(DisasContext *s, arg_VMUL_sp *a) +static bool trans_VMUL_dp(DisasContext *s, arg_VMUL_dp *a) { return do_vfp_3op_dp(s, gen_helper_vfp_muld, a->vd, a->vn, a->vm, fals= e); } @@ -1681,7 +1681,7 @@ static void gen_VNMUL_dp(TCGv_i64 vd, TCGv_i64 vn, TC= Gv_i64 vm, TCGv_ptr fpst) gen_helper_vfp_negd(vd, vd); } =20 -static bool trans_VNMUL_dp(DisasContext *s, arg_VNMUL_sp *a) +static bool trans_VNMUL_dp(DisasContext *s, arg_VNMUL_dp *a) { return do_vfp_3op_dp(s, gen_VNMUL_dp, a->vd, a->vn, a->vm, false); } @@ -1691,7 +1691,7 @@ static bool trans_VADD_sp(DisasContext *s, arg_VADD_s= p *a) return do_vfp_3op_sp(s, gen_helper_vfp_adds, a->vd, a->vn, a->vm, fals= e); } =20 -static bool trans_VADD_dp(DisasContext *s, arg_VADD_sp *a) +static bool trans_VADD_dp(DisasContext *s, arg_VADD_dp *a) { return do_vfp_3op_dp(s, gen_helper_vfp_addd, a->vd, a->vn, a->vm, fals= e); } @@ -1701,7 +1701,7 @@ static bool trans_VSUB_sp(DisasContext *s, arg_VSUB_s= p *a) return do_vfp_3op_sp(s, gen_helper_vfp_subs, a->vd, a->vn, a->vm, fals= e); } =20 -static bool trans_VSUB_dp(DisasContext *s, arg_VSUB_sp *a) +static bool trans_VSUB_dp(DisasContext *s, arg_VSUB_dp *a) { return do_vfp_3op_dp(s, gen_helper_vfp_subd, a->vd, a->vn, a->vm, fals= e); } @@ -1711,7 +1711,7 @@ static bool trans_VDIV_sp(DisasContext *s, arg_VDIV_s= p *a) return do_vfp_3op_sp(s, gen_helper_vfp_divs, a->vd, a->vn, a->vm, fals= e); } =20 -static bool trans_VDIV_dp(DisasContext *s, arg_VDIV_sp *a) +static bool trans_VDIV_dp(DisasContext *s, arg_VDIV_dp *a) { return do_vfp_3op_dp(s, gen_helper_vfp_divd, a->vd, a->vn, a->vm, fals= e); } @@ -1774,7 +1774,7 @@ static bool trans_VFM_sp(DisasContext *s, arg_VFM_sp = *a) return true; } =20 -static bool trans_VFM_dp(DisasContext *s, arg_VFM_sp *a) +static bool trans_VFM_dp(DisasContext *s, arg_VFM_dp *a) { /* * VFNMA : fd =3D muladd(-fd, fn, fm) @@ -2214,7 +2214,7 @@ static bool trans_VRINTR_sp(DisasContext *s, arg_VRIN= TR_sp *a) return true; } =20 -static bool trans_VRINTR_dp(DisasContext *s, arg_VRINTR_sp *a) +static bool trans_VRINTR_dp(DisasContext *s, arg_VRINTR_dp *a) { TCGv_ptr fpst; TCGv_i64 tmp; @@ -2270,7 +2270,7 @@ static bool trans_VRINTZ_sp(DisasContext *s, arg_VRIN= TZ_sp *a) return true; } =20 -static bool trans_VRINTZ_dp(DisasContext *s, arg_VRINTZ_sp *a) +static bool trans_VRINTZ_dp(DisasContext *s, arg_VRINTZ_dp *a) { TCGv_ptr fpst; TCGv_i64 tmp; --=20 2.20.1