Message ID | 20220527181907.189259-61-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 bb7csp923511mab; Fri, 27 May 2022 12:33:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhKpkus6Xe0V6kpoWo1+EoiU4mPjXfN4skNHQ63bmCoUoiPn1ITgH7gXdabBxRX1UMKf8N X-Received: by 2002:a05:6214:2389:b0:435:ba04:8f18 with SMTP id fw9-20020a056214238900b00435ba048f18mr36497056qvb.4.1653679981618; Fri, 27 May 2022 12:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653679981; cv=none; d=google.com; s=arc-20160816; b=n86JmFVOPTsfeY56watWWFg9u1ecaBnvlDpOsazLBxtQ+IOloMa+NZQ5ODaNbvc0d7 kS4qr4Kf35Lei/ta93EaXO9dXj9QdtXsOCD2K5IcUs6ZdnpuYN6PORf4215rqvkeEjef SIpoqNIau5F4bM2Act7IImA+508aiS08fk/xTAdH+uKvj043mpKr6qL5T5YQId8v6bmz aXpjUnfMvhgv85SSSJTQKGaPzwvkFliUb6ZOjyxTPcGc5mmmappl2vNx74s+0rIfCJnd YVd4e6GcC4GanCTf8fa0te5sugzKroXcZaMuXL7c8w5/K0Sf0R+WhNqwEMQ83wRgy3fq S9Pw== 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=mOVNnulMY9/cI7p7C/1byK8K0DnOS+U6K67oQeWaeLQ=; b=SmrNHbY5JJhUYam6pMXXOOjWRw1bmvkZ5nwt4bYp7WXnehqQEXaDX6pt90+9wy6PWj WsWrcKEWqy8g+2qSkfMGIIuT71ycJ+vAnbYKHGiNRFmotX5zemsY+NTCTcdaHUZd7c70 ILqXBkUqANqtNv1LvATIhWZT0lx2yp++NVMkTVpLNo20oB6iCNP1epok64WIIbRIk9Lw DEV7TpNpOxa/jlo3Fy3F0Tba0cf2Xi1eBVGqPm8kwSVuBQcuRPonG+m/GfV0WBsVrb6H 479wC1QIKa8uPacFm6RR592OeGW3IKVq8+vN5QJkhzw8XhoCTs/azOKuB2oSxoctmElt kI/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ikO8/36A"; 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 y8-20020a05620a44c800b006a3af1c4f1csi4110253qkp.468.2022.05.27.12.33.01 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 May 2022 12:33:01 -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="ikO8/36A"; 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]:39470 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 1nufhl-0003xh-6M for patch@linaro.org; Fri, 27 May 2022 15:33:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43948) 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 1nuecL-0003c4-Ts for qemu-devel@nongnu.org; Fri, 27 May 2022 14:23:22 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:40614) 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-0004RL-Gf for qemu-devel@nongnu.org; Fri, 27 May 2022 14:23:21 -0400 Received: by mail-pg1-x534.google.com with SMTP id x12so4560796pgj.7 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=mOVNnulMY9/cI7p7C/1byK8K0DnOS+U6K67oQeWaeLQ=; b=ikO8/36AV7pPnNzZCIXZObumHQrq24CqYwtqsuNR5guYElIIBKyVT76YiiKnqazcaU odDJg4N9qseBzQb/JeA+SrZO3FkkQxBDKO0IFNik7PjTD9GeoouhSsiJMgwel+buANpM n5JsW82rwDy2NPgb2aAx+92vOaI/qZNWNc/Gw52OON5ONXHGiAvCQL6mgxbqqmYZh6Lc awH8/gf8eU18ATaK/WiCH0dk4AtSo5i75Zj5e5b1BsDwA4paPBZccQPd47MJPHN0dSr6 Cb4YlGer0K9FcqFL0+bAkOPkxU2UzVwI5mkJsV+W21y6lnx5RqkHU8NwGQDc2ANCVh9k qPvA== 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=mOVNnulMY9/cI7p7C/1byK8K0DnOS+U6K67oQeWaeLQ=; b=hi0A8igCq06YQGTiLEYLlTqaGGbSS5EzbuF7xtiazoMd+kOP2fJsQ/zpZlJXOv+Ppy n02rwLi27LSTq0Mth1C4Eon/uonX52ejGtFMFx3M/Lm8tej11Qwi4LCdysSb/q+Jhvky ShYfC0+6NbaXSiZnCDXO9Svgk3kDOVT3T0LPMFtv7NuHgV/AeTvxC6tPNrXaLOiihGbp /JZCstgq0f3/Cx9tHA1fXRRvXnRXvyqiliC6Hg+VkRT7qKboMfDPdJcQWBx4RuyV0OsG J8qAVbJEmfVzBm7IyQ3V50CJhFOU+/s4qlK6q7/bXkLGuBOZH979ZN5u1c+xLEvFwpRF 33aw== X-Gm-Message-State: AOAM532+BBRwZSE9WRnrleD14KpK8kGGHyApfuqzvNPwHRp9gPfSjYKa TSRib9FqqTYN3VHromh+tBhmQPM52QjD2w== X-Received: by 2002:a05:6a00:14c8:b0:518:7789:d33b with SMTP id w8-20020a056a0014c800b005187789d33bmr35640010pfu.36.1653675784707; Fri, 27 May 2022 11:23:04 -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:04 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 060/114] target/arm: Use TRANS_FEAT for do_clast_vector Date: Fri, 27 May 2022 11:18:13 -0700 Message-Id: <20220527181907.189259-61-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::534; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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=unavailable 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 7c9deb267f..5135866798 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -2492,15 +2492,8 @@ static bool do_clast_vector(DisasContext *s, arg_rprr_esz *a, bool before) return true; } -static bool trans_CLASTA_z(DisasContext *s, arg_rprr_esz *a) -{ - return do_clast_vector(s, a, false); -} - -static bool trans_CLASTB_z(DisasContext *s, arg_rprr_esz *a) -{ - return do_clast_vector(s, a, true); -} +TRANS_FEAT(CLASTA_z, aa64_sve, do_clast_vector, a, false) +TRANS_FEAT(CLASTB_z, aa64_sve, do_clast_vector, a, true) /* Compute CLAST for a scalar. */ static void do_clast_scalar(DisasContext *s, int esz, int pg, int rm,
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/translate-sve.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)