From patchwork Thu Jun 13 16:39:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 166727 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1102485ilk; Thu, 13 Jun 2019 11:47:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjGljLPAj3v7Htn1/FN3LJHMWHsaB5jNSAo099mKSvAe+mo6PVJPtOFHgd4aZU68flcabv X-Received: by 2002:a37:a9c3:: with SMTP id s186mr20931050qke.190.1560451654038; Thu, 13 Jun 2019 11:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560451654; cv=none; d=google.com; s=arc-20160816; b=l00XnLyxYz2uc2hQ0aoUi0y+mKqWUnzbRAlv2RB5kWHOZ6twq4pcIK18L6TtJAtkpU zRNPTZTiUF+v4JC8kEy+/z5mY8IiAbNRNeYjuCEoOFnpBnPFtT66kUiaAE9GGtCVh8k7 YMIP5UBTVRgZAlGMdafBRRm2e0v34snzXcM4PW64t4D64ZEusW478XrZDC9WGUSsa8Ed t4UK3KoeOZfyv30ovdGqwLW2Eed9xYxuL94EKbSBOv1c75Nx1LVX+5t59O1Pw5bLAl5F FjwUjYnYKZLHLXBUIFdLcfTJipBIUWAtaGGc4nIB12s8LpuUuh1/LxfY0KhEzVdotFG9 F7+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=rimcTwT3jseYgOecETEoK3gV+MP4oaaAWnNA90CS1sc=; b=ZZRX8hnOkuEVQYSr+3chT72nPDeIQKDmXNlUB1b1u45BMk8Ngh78xDazLBTYKWSx5H ujwPZk0j/xyb0QANrqh+/DyL/fJhi+vYc2K3VQ1hR/hQDeU3M6I+8uzssJ68CgWIUOek 7AkBDJQKjO1iEb4/mP7YJtQY1J4jStVgHvAbJ1WeYTuEaeOH38tYXYRAfdHTbLiWsHxy AVIzND3B+YVUi7ui7B3cqZcZjPDG7DkN3KpvptpryRD3Xmb2JKv5ho33MgAM0vYGYKdn Y5e5qfeks4AvxQGZmcl/xqR87lQJqp0kqJILENN3SVayUk7CLxasysh9F7W5oC9i862O y8MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="WUC/NR/r"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n48si297831qtc.312.2019.06.13.11.47.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Jun 2019 11:47:34 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="WUC/NR/r"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbUl3-00011G-E5 for patch@linaro.org; Thu, 13 Jun 2019 14:47:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53848) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbSlK-00049x-PM for qemu-devel@nongnu.org; Thu, 13 Jun 2019 12:39:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbSlG-0003OS-IX for qemu-devel@nongnu.org; Thu, 13 Jun 2019 12:39:42 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:45093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbSlG-0002Nk-0M for qemu-devel@nongnu.org; Thu, 13 Jun 2019 12:39:38 -0400 Received: by mail-wr1-x441.google.com with SMTP id f9so21465419wre.12 for ; Thu, 13 Jun 2019 09:39:26 -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=rimcTwT3jseYgOecETEoK3gV+MP4oaaAWnNA90CS1sc=; b=WUC/NR/reoeIEelJq/6TVn2rSH/Q5u9ChWO0s5e5z2VaAs/2A6a5/RRqKidEVi6T8J EeG6g1KJ3Ynlg5Cms0UYtrCGGGMty1ukQmn9FxJW6qv+RJ5vD1xcNLMPmdrHMYNjwloG e9wO83nv4MVf45s3I6/kEt8WTSY1kCjuuYWRNtn1qjUlRujjhE3Vdk0AVRwiuDQqC9gU kz8CWoLZdOY4Je9mwOORyOViqWL4xuGhLqoU5zXu2p51MJ84KWzY86jVieZJhliATfCx ZdpKJaue3OMzZ1X0eHS+8UAD8La9ESQQKAP5HbYtIuKrosQrkCbWEsOl7qZGgLDroTg7 XeEQ== 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=rimcTwT3jseYgOecETEoK3gV+MP4oaaAWnNA90CS1sc=; b=A+qcaLeNkRE6uXU0OPrxh49TtSrXkF69GndC9JA5qKI4V7Yt2lmEM+ySN9ZzAgy604 Ye00uEYfTdDK0MfzAZeqOQHUb1XkmPdBsji9Iw31bFnEMSd1Tnqk4yZdKxrJ5rvQbBZc FtGcZY5ZAngNPVDIM83s+TJgzR47pj3N/XStTc0ew+6l0kbiJZS3tfl06EpReW3Px3wE wfj5aXMkBAHCuR6JjR5BCK0cK/PaeGNCFlogVpkTlqW+W3KEPaTJ+T1sd3jvId+8sj5g FQNTPYPhghP5mIpwWkYtoC5IgnKdkthENJ/6eOwVbl48smhSHiN2kOiDyyLZ1Wl/ZRkg HmJQ== X-Gm-Message-State: APjAAAUUnoaCE515yOKfCWoMxoIjWyHuQHgjbwywbxlLjAIEiQ3H+EXK xA/K4Ly8hxyoOUe/vdXyfLcg/g== X-Received: by 2002:adf:e9c3:: with SMTP id l3mr37413931wrn.148.1560443965631; Thu, 13 Jun 2019 09:39:25 -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.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 09:39:25 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Date: Thu, 13 Jun 2019 17:39:11 +0100 Message-Id: <20190613163917.28589-7-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 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 06/12] 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: , Cc: Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Stop using cpu_F0s for the NEON_2RM_VCVT[ANPM][US] ops. Signed-off-by: Peter Maydell --- target/arm/translate.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.20.1 Reviewed-by: Richard Henderson 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); }