Message ID | 20220527181907.189259-62-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:8607:0:0:0:0 with SMTP id bb7csp937693mab; Fri, 27 May 2022 12:55:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIiQXel6p36lCvOK3+/vZ2LZvPuRvDYbVtrvN65KHF/1w6My46t2oZZlIYq5d4MREI0A3D X-Received: by 2002:a05:6214:2388:b0:460:2238:5996 with SMTP id fw8-20020a056214238800b0046022385996mr36707270qvb.44.1653681359199; Fri, 27 May 2022 12:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653681359; cv=none; d=google.com; s=arc-20160816; b=I5EuxEbGVPYJgGFpS++ekbcluNo1L+iiUwp+9wIcA14w7crOTA4srrX8FXBGXUnM/G cXPq4XuvThcSRm0o81phpX51p1ueLBL1PTTjBJ0ExfpnLJ1UJnAKFXRglwTFueeu4W7x oGzhWiwNInt+oBRet9WlNl1qgtuj2NsxYu8kihsVgjnO/L+9hU6YUfLoHFKw/KOjnH8j dFnOGM9rn/TImCMmpX6qQsbAn/kKc/c1viOucLJrwZzFsMq9dL/nMDvxMUSHojxgrWle cWOFd7TEsMTo95FaT2QuWrpOoscNnC+Eh8i/xzn6IZ3obfqUPePmkPsIOj0p9eQcbkyC 2zYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=02JdN4H2o9VVqutTBt0Mh0X95ZgODcZg43p8fFQRzHM=; b=DpP+v9URvthxjJD+ImG49dILgtA0mvLdXYmENYCTDIe5R9PZT0Vshc+Sna39Lv2S+B 0JsHEYqSNG+JZ2ng4mSpRMqJrwA02f/a0sEHVpxqFWuQGd7ec5Ti76OFVvVLlv466FV1 zoZ5WK51W4EbFFojqrhcm4vuDtBOHoLMRQJaTRVZfVwQUhvhkVIUnrNOp8e80iXPfCEN KH3ReNq3UtGzamqLkopjgenXRDKeGDZsaZtNq6LZEdh9bXYOfHVGQlkhOCfDi81yjOon cjUaDcZkorXOxNzcx+UbBdcge+rc4oV/IHP/DGjF4FykiZa7idJ8nL2tkOcgEb/Gn4k/ HVIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OJdTzXZD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a20-20020a05622a065400b002f3d35fcb9csi3538901qtb.378.2022.05.27.12.55.59 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 May 2022 12:55:59 -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=pass header.i=@linaro.org header.s=google header.b=OJdTzXZD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nug3y-0002P9-PQ for patch@linaro.org; Fri, 27 May 2022 15:55:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nuecQ-0003h2-51 for qemu-devel@nongnu.org; Fri, 27 May 2022 14:23:28 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:34710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nuec9-0004RT-IL for qemu-devel@nongnu.org; Fri, 27 May 2022 14:23:25 -0400 Received: by mail-pg1-x52c.google.com with SMTP id g184so4605935pgc.1 for <qemu-devel@nongnu.org>; Fri, 27 May 2022 11:23:06 -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=02JdN4H2o9VVqutTBt0Mh0X95ZgODcZg43p8fFQRzHM=; b=OJdTzXZDnRXl5kF7BnDeRyw3dqW5oZx9eRV5aNjMU9GBAjeHIB3iepqhnNaPYhRP6H 91jVFRxaA0jwwM6oRV3nwOtNR+7eEk8WrNfhNE2kBbEqSouwpWMMx1N9xvazkOG9eWtl A4FqTucj0xqOgv7NX+TaZVUKWb6Rrbc08MZq7ti4idlloy++E1BLe12VSJkk5PZSuPsw ntDiXvnN7D/OOoxmRG7liic9npNluLWQ4rpP070SRVpTCTIn3b/K8ocL+Nw26feJhV8n 2PjvseHl6oym7BzJyCmBlBcXB/ineY2XILCYLShBmFiRZSIEytRO0rxzSuUpRxOIp60c Fsdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=02JdN4H2o9VVqutTBt0Mh0X95ZgODcZg43p8fFQRzHM=; b=0DJIHy9qYJ5kKDcqQBJyJFHC/CjYnHVADk2Vj1OO4ZQ8sKow3hhcSm2eINnQOorZn+ 3oQhz8sNlAvvaPGpRIJft8WFQx8TCW7cG3LzfwhTQ70W3XOZ4dOZcY893A9rusUa+Aek ZgG5kBBqIvbJoBQqFpOs+FmQ6zAIqImj2SJF6Acr89NihCJHfTJymTYT9uhKTVfJWE3K rsBuGVrBrqRiWyCRnIVaxWCvgWGVtsA9Wcegnfrsbow5I93zrMk9ZQ01MJSfJyeV/he2 AUY1etO+7a5x4+XtPQzwHnCnNDEH1LM0ZQn7D2bM3iBdvQpn581Duza8OIOJKm9Lov1u Mtfw== X-Gm-Message-State: AOAM533YDWGGtDkmcmEwD4e1gy9lQqGzhq1WsvjRo/YN0eg1uICBFRyU 1A49GGll8h7VpKHgCwsY2Nixzz/GDn8DUA== X-Received: by 2002:a05:6a00:3023:b0:518:4721:13c6 with SMTP id ay35-20020a056a00302300b00518472113c6mr41382051pfb.34.1653675785497; Fri, 27 May 2022 11:23:05 -0700 (PDT) Received: from stoup.. (174-21-71-225.tukw.qwest.net. [174.21.71.225]) by smtp.gmail.com with ESMTPSA id b15-20020a170903228f00b00163552a0953sm4033534plh.159.2022.05.27.11.23.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 11:23:05 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 061/114] target/arm: Use TRANS_FEAT for do_clast_fp Date: Fri, 27 May 2022 11:18:14 -0700 Message-Id: <20220527181907.189259-62-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220527181907.189259-1-richard.henderson@linaro.org> References: <20220527181907.189259-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52c.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Rewrite sve feature tests
|
expand
|
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 5135866798..21c2bd099d 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -2542,15 +2542,8 @@ static bool do_clast_fp(DisasContext *s, arg_rpr_esz *a, bool before) return true; } -static bool trans_CLASTA_v(DisasContext *s, arg_rpr_esz *a) -{ - return do_clast_fp(s, a, false); -} - -static bool trans_CLASTB_v(DisasContext *s, arg_rpr_esz *a) -{ - return do_clast_fp(s, a, true); -} +TRANS_FEAT(CLASTA_v, aa64_sve, do_clast_fp, a, false) +TRANS_FEAT(CLASTB_v, aa64_sve, do_clast_fp, a, true) /* Compute CLAST for a Xreg. */ static bool do_clast_general(DisasContext *s, arg_rpr_esz *a, bool before)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/translate-sve.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)