From nobody Mon Feb 9 22:37:59 2026 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=1560451224; cv=none; d=zoho.com; s=zohoarc; b=dz8Crvl2iXGsHasqM76buMkCMkCrSMb12H72QXIAvYEZDmamVmwSMenR70zZKahUDeDZN121IIa6yX2KUIbOLNllxE5ZhEiytnH8ok0x/HFoOq+ZkAn7b3vDQaSr+nLALZKeANqO6zXfUuw2MqoFJAcNKJdOI+5Jizza3BiUgYY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560451224; h=Content-Transfer-Encoding:Cc: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=qQmS7fDlwcZP6vIBxbHDINfjc+89reFKqPWwOYK60Kw=; b=R+sOnIelcP8gRdOHSa3rPTYj31RcsDgUBepClPGNQ5bJBZPB6qXJsB9gEREL2HpBu2J9OCKUUoKvBUI5ThP+bT0IXIpa2xzmIQGy3XEVy0+q03I3EQXZSrTTzolBnps370ixzJt9l3XCdzCjq/5MK5ZiTzM9fbeOtbfuTR0sE0k= 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 (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1560451224768320.7322646725065; Thu, 13 Jun 2019 11:40:24 -0700 (PDT) Received: from localhost ([::1]:43554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbUe3-0002iB-SA for importer@patchew.org; Thu, 13 Jun 2019 14:40:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53683) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbSlF-0003w4-F5 for qemu-devel@nongnu.org; Thu, 13 Jun 2019 12:39:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbSlA-00033x-MP for qemu-devel@nongnu.org; Thu, 13 Jun 2019 12:39:35 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:38271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbSl6-0002Af-Ej for qemu-devel@nongnu.org; Thu, 13 Jun 2019 12:39:29 -0400 Received: by mail-wr1-x441.google.com with SMTP id d18so21500527wrs.5 for ; Thu, 13 Jun 2019 09:39:24 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id f197sm358747wme.39.2019.06.13.09.39.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 09:39:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qQmS7fDlwcZP6vIBxbHDINfjc+89reFKqPWwOYK60Kw=; b=QnQyS2gW36bnd6wnT+pgY0HZvam4SnFDo8x+J+U42SyswUpYxC5kMsF21UMuvCCjj6 YltiJgyuxWAOEI4oOA35JGtRo2UxTb7XWL3iazQgEpacyGkp1csmzew5cIPTHaQer+Na 2r5X40QFKU9XqPu9E0WP5sOHJ4ZCgFgTIUGgsyoKh+emPMB2la2bC9roKu3hDRLOWz42 CBUa1OE7r0A4jLGXByW5dlxnrm2iiQJ5NfWKgpG3AKVZLXKqjY1vEetKoH4x/wBPFNDd 0uKaT4EQSKDCvMaRxsqUgTdwIpHk1osdZKVg5tgZEg5vmi7Nt33wgzmVr4OTG1fzRKPd i2FQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=qQmS7fDlwcZP6vIBxbHDINfjc+89reFKqPWwOYK60Kw=; b=Lep0E6vldjO4Wm0c6Cr0L26bVqXV/xl8tPdx6L6C2YO7LhvWFYhMp1GlvSDGOANzYx tWrS5ohh/3BCglpMfxhbTcRPubSK5WPA+M1ZxW9P41QMUtfWHfPrwst4TIf/DS1k9ptN MuwHUHiHwB4AL0cQhYMJKG1CoCHJE737co+OXu0OHLv4VdiGJWzXdwrp0FBjv1hPg7rR XqK9ZABUxDmnnnJaPqe2U8JakaP/kZcK/D0nIEgqW7orUQ+a90jj5nJjxuXLtSVObLZL X3YrgHw9w0UBgSVwjw0Z53j1cbkNTqEZ4EsA2jhwWlyME73TzuQ6/TM0MBzAxCxCVXTv boNA== X-Gm-Message-State: APjAAAWDuLVBbR4JXcUR+0cNbq0xEuH11MYM77K3rYXZsW0AyZ97PeB/ oTnxtX94n52QulJu6dU5gjW5cg== X-Google-Smtp-Source: APXvYqz6QwyNRKFwz4NtEUtYtS96gWZtYLjOPQBySR1Rr2Qn/QAPAemVdAN+WM2mX4I6GlkF6Uy3Vw== X-Received: by 2002:adf:a509:: with SMTP id i9mr49822524wrb.269.1560443963612; Thu, 13 Jun 2019 09:39:23 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Date: Thu, 13 Jun 2019 17:39:09 +0100 Message-Id: <20190613163917.28589-5-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190613163917.28589-1-peter.maydell@linaro.org> References: <20190613163917.28589-1-peter.maydell@linaro.org> MIME-Version: 1.0 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::441 Subject: [Qemu-devel] [PATCH 04/12] target/arm: Stop using cpu_F0s for NEON_2RM_VNEG_F 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: , Cc: Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Switch NEON_2RM_VABS_F away from using cpu_F0s. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson --- target/arm/translate.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/target/arm/translate.c b/target/arm/translate.c index a10fded1f39..a006ab498e7 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -1374,14 +1374,6 @@ static TCGv_ptr get_fpstatus_ptr(int neon) return statusptr; } =20 -static inline void gen_vfp_neg(int dp) -{ - if (dp) - gen_helper_vfp_negd(cpu_F0d, cpu_F0d); - else - gen_helper_vfp_negs(cpu_F0s, cpu_F0s); -} - #define VFP_GEN_ITOF(name) \ static inline void gen_vfp_##name(int dp, int neon) \ { \ @@ -4189,8 +4181,7 @@ static int neon_2rm_is_float_op(int op) * what we are asking here is "does the code for this case in * the Neon for-each-pass loop use cpu_F0s?". */ - return (op =3D=3D NEON_2RM_VNEG_F || - (op >=3D NEON_2RM_VRINTN && op <=3D NEON_2RM_VRINTZ) || + return ((op >=3D NEON_2RM_VRINTN && op <=3D NEON_2RM_VRINTZ) || op =3D=3D NEON_2RM_VRINTM || (op >=3D NEON_2RM_VRINTP && op <=3D NEON_2RM_VCVTMS) || op >=3D NEON_2RM_VRECPE_F); @@ -6761,7 +6752,7 @@ static int disas_neon_data_insn(DisasContext *s, uint= 32_t insn) gen_helper_vfp_abss(tmp, tmp); break; case NEON_2RM_VNEG_F: - gen_vfp_neg(0); + gen_helper_vfp_negs(tmp, tmp); break; case NEON_2RM_VSWP: tmp2 =3D neon_load_reg(rd, pass); --=20 2.20.1