Message ID | 20250621235037.74091-54-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e506:0:b0:3a6:d909:26ce with SMTP id j6csp316459wrm; Sat, 21 Jun 2025 16:59:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWSAEWJygAePbw/sLNKeUDHCdxq0Sp3bmjmFIUDb4Bia9sn0+5TE0Yz/d3uFbv10N47SfbAjQ==@linaro.org X-Google-Smtp-Source: AGHT+IEsbNO19LB6nBTZaz1QcTBScPjps2P23Zr+x5Q8Wz56ixCQNzPB+McLazgHvI4XZ2DXb+fQ X-Received: by 2002:a05:620a:2605:b0:7c5:3e89:c6df with SMTP id af79cd13be357-7d3f98ca8bfmr1045189285a.12.1750550360295; Sat, 21 Jun 2025 16:59:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1750550360; cv=none; d=google.com; s=arc-20240605; b=lBd2PhDI8ozG8Ok1kaZWS3m9D29U0YAjXDj2DnW6InTslkLTlxjROO3lOqV/bQ9Y1Z vrxUFLBFGkWsVWqeQ77LvjiTpw+5ts8LlU9Xd37wsyHK7UgX3dusv4DwPUOo2BD5Go8a XYNfuo5uWu+jm+4nVQKoJCpU8eis68gca9PhQ0zUvh5FQ45F90Wl5ctuq0Hyq7jajbB7 tWyz8FzmpI1AH1TT58o9Z+Gk/E61+RWZv9QzSqOHDRgnWss+3p73DCSg0PahAQ95Es+7 Rp67+cIDNS9QpRh5QKrEoGpOQqWZUCVWuZI98+FFmKbkpo/rtEuwx6ahi3TaF8VHmsYf BWiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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:to:from :dkim-signature; bh=Croxoi24OBzjfvFxMgTgJ8IA4W9SbfzKMH+Zp+glJxA=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=a1llILt45ZqPtJUu3Gr0quqgyBF3VnsHLNt8XeOMPElVOQ8BiF15v3M8td6eSGjNf4 r9rSeukUznTCaKu6BWkriqc/ZY9anif3RyGagia3OJ0AIyTYGoaurp+z8irRs6yAAwZ1 bNot18VYTOCNBU9rCvfpIRrZsqzYpFUbrtoNJP5thF7jwTT1LWr8h6qZxDmKMxMbTor+ K8pgnhF3IUjZsn+7/+LFeAqv7C5FWoY4YdLWpRx8wPmMOc47O/ILgWeACfnVl6jMQsXF +A0ITqQTyFCT3htLOjPEhzMqXAeEjARlnK+SuhbKsJ2/z53hkomM6fe2hQFSmMrUtwYs U3Tg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RqBDgG6w; 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; dara=neutral header.i=@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 af79cd13be357-7d3f9a17136si470215385a.494.2025.06.21.16.59.20 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Jun 2025 16:59:20 -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=RqBDgG6w; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1uT82W-0002do-39; Sat, 21 Jun 2025 19:54:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) 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 1uT82K-00025n-Q6 for qemu-devel@nongnu.org; Sat, 21 Jun 2025 19:54:17 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) 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 1uT82I-00051F-AG for qemu-devel@nongnu.org; Sat, 21 Jun 2025 19:54:16 -0400 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-7490cb9a892so1131405b3a.0 for <qemu-devel@nongnu.org>; Sat, 21 Jun 2025 16:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1750550053; x=1751154853; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Croxoi24OBzjfvFxMgTgJ8IA4W9SbfzKMH+Zp+glJxA=; b=RqBDgG6wqLZK9ekYP0u4m1417fR/vHcP+qwz0QRSi0mthuut7dUlitb4xc5YQyKmGJ JCN1tkfc5/od41vi/A3LfXcysDw4vpMKdONV/7PxFI4eFGufA1aLcWIRu2Ub7W1ss53k Km4RI2qBNb8j5WThF74a9/OIkF2tPIAPlweULhqtTKyTaC9PzSzMGBu9TQMelWaGHbQU 3081+rN1iPA2XsuT495B7570kp/gS8OGpr5/HegExS+HaTxipcTFsFGds7jCnT1cCqB7 GeC39ZI+eeb/0nH/mS0GJ9ALQbYKGvDiMO4Dy/1VAxsAWMOEgvDZoQzW0F9ohDtyKUAW Acgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750550053; x=1751154853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Croxoi24OBzjfvFxMgTgJ8IA4W9SbfzKMH+Zp+glJxA=; b=TCVKy9BjiqlrKZ2ztjUBdwtF5Xy79Tc/aUoVhhYz9byO4+gP/sc7WeKdlekPACTCz5 F+M9P+PclaHJL0UPIiSx//Awd1R+d7tKrAx0N/VFETBVLtCxvAR65iY7ygv3bCF2XUhL lh9R/MHaKwbkUjp9cJZ8kRXDx0QchFMlk1vCf9xrwb6ZG4t3s/BV4XBnteeuPFpQl8fb BZx1/7v9dL/pIxPc51yi8Lz2gfBpkIEF/7iI5TyIrWVz2LhYhNPnlo98FOIhvmBF1moT 8ItDOtfHy4tsE3cV19pc+z0O5dDqf2MnYDmgoF+99KfmDcjK2S5wbuDJfSrLI4fZD4m5 63/w== X-Gm-Message-State: AOJu0YzeoqL61Inr+wJUHfYgxoRHToal6LKPw45FNQFgudDELF7Ltz/o 2oOgD2wk9jAd43roJxuW60zZWKfkjbugcwoUpykm9llR92FO1Wh+D6+HY3x2U031U2DD+YLXKGt He4mZVDw= X-Gm-Gg: ASbGncvibF43S8W4hOXNsbFL7ejP2J4R0dOpRwrbB2khUpsrMuBmWunuPP0cSEbGcy7 3/ocFyztMVc0/TMCEEIgE4/jd0JBqRCWqqCX6pJkKHke4PJx295uZ3ungH+CLco1bA94jWBR9Vx HhulJu9E5lbyorn97RLdnn9yLz993I/P5Ytw8zQ5Mv3dKPO5VSfHLnJOYOJ1A/rcgqlMSyEnzsy 0IFq6TK6DN+srR48t5HKE1tcmJeEZm8KXcpFoyiK6+jhrXfzIf3/KgDQo4qDe+c3fclezBVvVTN j32/6LKhcbPVhHkBFOls1FXFewyJrCFIfq1nAbtwYdBKag6HHwZVkkYYaRatP+X57YcMf9fK+IE no2p+W38EZ78bP59SSFen X-Received: by 2002:a05:6a00:14cf:b0:749:540:ca72 with SMTP id d2e1a72fcca58-7490daedb0fmr12551669b3a.24.1750550052945; Sat, 21 Jun 2025 16:54:12 -0700 (PDT) Received: from stoup.. (174-21-67-243.tukw.qwest.net. [174.21.67.243]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7490a46b590sm4970051b3a.27.2025.06.21.16.54.12 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Jun 2025 16:54:12 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 053/101] target/arm: Implement SME2 FCVTZS, FCVTZU Date: Sat, 21 Jun 2025 16:49:49 -0700 Message-ID: <20250621235037.74091-54-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250621235037.74091-1-richard.henderson@linaro.org> References: <20250621235037.74091-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42e.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 autolearn=ham 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-bounces+patch=linaro.org@nongnu.org |
Series |
target/arm: Implement FEAT_SME2p1
|
expand
|
diff --git a/target/arm/tcg/translate-sme.c b/target/arm/tcg/translate-sme.c index 60ce5b518f..e5694a398d 100644 --- a/target/arm/tcg/translate-sme.c +++ b/target/arm/tcg/translate-sme.c @@ -1293,3 +1293,8 @@ TRANS_FEAT(FCVT_w, aa64_sme2_f16f16, do_zz_fpst, a, 0, FPST_A64_F16, gen_helper_sme2_fcvt_w) TRANS_FEAT(FCVTL, aa64_sme2_f16f16, do_zz_fpst, a, 0, FPST_A64_F16, gen_helper_sme2_fcvtl) + +TRANS_FEAT(FCVTZS, aa64_sme2, do_zz_fpst, a, 0, + FPST_A64, gen_helper_gvec_vcvt_rz_fs) +TRANS_FEAT(FCVTZU, aa64_sme2, do_zz_fpst, a, 0, + FPST_A64, gen_helper_gvec_vcvt_rz_fu) diff --git a/target/arm/tcg/sme.decode b/target/arm/tcg/sme.decode index 644794bdc1..bb985f6f61 100644 --- a/target/arm/tcg/sme.decode +++ b/target/arm/tcg/sme.decode @@ -727,6 +727,10 @@ FMLS_nx_d 11000001 1101 .... 1 .. 00. ...00 10 ... @azx_4x1_i1_o3 &zz_n n=1 zn=%zn_ax2 @zz_2x1 ........ ... ..... ...... zn:5 ..... \ &zz_n n=1 zd=%zd_ax2 +@zz_2x2 ........ ... ..... ...... .... . ..... \ + &zz_n n=2 zd=%zd_ax2 zn=%zn_ax2 +@zz_4x4 ........ ... ..... ...... .... . ..... \ + &zz_n n=4 zd=%zd_ax4 zn=%zn_ax4 BFCVT 11000001 011 00000 111000 ....0 ..... @zz_1x2 BFCVTN 11000001 011 00000 111000 ....1 ..... @zz_1x2 @@ -736,3 +740,8 @@ FCVTN 11000001 001 00000 111000 ....1 ..... @zz_1x2 FCVT_w 11000001 101 00000 111000 ..... ....0 @zz_2x1 FCVTL 11000001 101 00000 111000 ..... ....1 @zz_2x1 + +FCVTZS 11000001 001 00001 111000 ....0 ....0 @zz_2x2 +FCVTZS 11000001 001 10001 111000 ...00 ...00 @zz_4x4 +FCVTZU 11000001 001 00001 111000 ....1 ....0 @zz_2x2 +FCVTZU 11000001 001 10001 111000 ...01 ...00 @zz_4x4
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/tcg/translate-sme.c | 5 +++++ target/arm/tcg/sme.decode | 9 +++++++++ 2 files changed, 14 insertions(+)