Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C4EBC31E5B for ; Mon, 17 Jun 2019 15:41:09 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE1402084A for ; Mon, 17 Jun 2019 15:41:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JDGyteuB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE1402084A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:48606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hctkq-0003H7-3j for qemu-devel@archiver.kernel.org; Mon, 17 Jun 2019 11:41:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46790) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcsiR-0003lL-Fj for qemu-devel@nongnu.org; Mon, 17 Jun 2019 10:34:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcsiQ-0008BU-DM for qemu-devel@nongnu.org; Mon, 17 Jun 2019 10:34:35 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:46872) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcsiP-0008AY-CD for qemu-devel@nongnu.org; Mon, 17 Jun 2019 10:34:33 -0400 Received: by mail-wr1-x431.google.com with SMTP id n4so10192468wrw.13 for ; Mon, 17 Jun 2019 07:34:33 -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=WgJ3ME0OmnuR5vXoFEmNb/znccvEB85oUYK/SkfReNM=; b=JDGyteuBzIO3dbyIaAuGqdrz+6oWE2pE2PW+qbpygxPfeh7TMUCWsPQqqatjF0pqAW Ov7td4gRgYCHke9GiN/RrRTQkQv3h/EMh7X7Z0V+tYz2kj6NYg3+w3Mixp+QwHYjTqYE iEdqUJRP1Pu4xBWiymS5gXm/1CjkJWjPo6xUVpAXgAgPihtJAGLeELx2toD0+YIcRDCB xdpS6PCiR2WqHy7M/F/Ino/YRu4bdeUKREzzECfyjGuaOH0ELdMIVCsQdJ8ie7EIiqM2 sWu7zCAOi0xoxEnQXZPDsgXyr/MCiTtsZydKgKmFtv3AHAV1fojkYKqd0k+FKKnlvurN Pt3g== 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=WgJ3ME0OmnuR5vXoFEmNb/znccvEB85oUYK/SkfReNM=; b=kIfArr+hlpzJ4dYrE/kcYrR/mg8P1JWr89m+ovlUPiPfX1BEG2EX0GNxYt0d8pyOO8 W7KMJ0zho+yG4jA26VM0Jg7q7xcr5NGkgORSySzi0EX89UvD9vhIrYhladRLk0MRUo9c rkJS73ONwyhqy6FR/haiI0Bqbrvgs3ayqeXGufe00o+OTOpTdatWMtuRdM5+FfY6tK33 AsH51X9x7V1tj+gez6DW5BvsBEjenMZ7RtFndeaqNf5/LDgVe2qhON6IYzwH136JgdwG mfJV1j3+QERhXBvno50/aYm7Ds6WdlMTX3E/tb3XL3dbj90DC+e7pNV6nulSND1NLI7m o2+g== X-Gm-Message-State: APjAAAUN0lc4XxnHQqNDu+PBaXSlFvFhmxCVhTvpXX+09bF3Vw4HCGBA qTfu/B801SdmPAQQ9Assy44XUiW9JGlSBA== X-Google-Smtp-Source: APXvYqxvzUnp7fzLm/7wyx5rAjZzLq0DIto9+DYkXcw3HJoUui/MD9hlLAMnYEeC58jApriC6sTqiw== X-Received: by 2002:adf:ea92:: with SMTP id s18mr53023420wrm.257.1560782072100; Mon, 17 Jun 2019 07:34:32 -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.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 07:34:31 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 17 Jun 2019 15:34:04 +0100 Message-Id: <20190617143412.5734-17-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: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 Subject: [Qemu-devel] [PULL 16/24] target/arm: Stop using cpu_F0s for NEON_2RM_VCVT[ANPM][US] 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Stop using cpu_F0s for the NEON_2RM_VCVT[ANPM][US] ops. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Tested-by: Philippe Mathieu-Daudé Message-id: 20190613163917.28589-7-peter.maydell@linaro.org --- target/arm/translate.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/target/arm/translate.c b/target/arm/translate.c index 243dbee8357..124045a9ef6 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -4181,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 >= NEON_2RM_VCVTAU && op <= NEON_2RM_VCVTMS) || - op >= NEON_2RM_VRECPE_F); + return op >= NEON_2RM_VRECPE_F; } static bool neon_2rm_is_v8_op(int op) @@ -6818,10 +6817,10 @@ static int disas_neon_data_insn(DisasContext *s, uint32_t insn) cpu_env); if (is_signed) { - gen_helper_vfp_tosls(cpu_F0s, cpu_F0s, + gen_helper_vfp_tosls(tmp, tmp, tcg_shift, fpst); } else { - gen_helper_vfp_touls(cpu_F0s, cpu_F0s, + gen_helper_vfp_touls(tmp, tmp, tcg_shift, fpst); } -- 2.20.1