From patchwork Fri Jul 8 15:15:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 588526 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:bb16:0:0:0:0 with SMTP id jd22csp762120mab; Fri, 8 Jul 2022 08:28:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tVmFuHhXVzE58ybDTUSGn3Oc3tYJiQUtF1MIPSUMYYXRgAHmSRLz0RcODgxiX1XeVob7u2 X-Received: by 2002:ad4:4ea7:0:b0:473:444c:d522 with SMTP id ed7-20020ad44ea7000000b00473444cd522mr1837587qvb.44.1657294112173; Fri, 08 Jul 2022 08:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657294112; cv=none; d=google.com; s=arc-20160816; b=VqIrCfl2FPhTZYhBOFf/90UGysh3EsBB5E9Ewt6x4poKQF4dL27tOdz4QImOJCCr8P 0dOS2h3Np8UnOWh+ckOfK0KcSNATyY+Cv/xIIhNd1xnMQPNQd/uTNYO1lmU5sBJsY1CL 8DGHYEulCMyxQkVYTj33aV5vofnuiJbgqrswRsSaEQFHFVbUgmceCxToic+3WkZXsHqU gHd2Tr2ecng37onJGRyn+DMmyxrKQ7TAFHW2qFL6NljDqomDpupVtG2VY4G2owFGl0Us bFznRvFuvxgkspu6JJBt5nGi7CxckezXP12SZeEqv5s43DmokeQ4RWeAjdpJ+ZT5zSK3 X8iw== 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=Eedjnu3eOCixQFi7+Gzy6ksLbMXPKA3RAkF+Pv5QpfE=; b=oQns4mLoSMm3aKDuKouLdZo/kqqH6KJu0E/kzrqc2YwyWj1GAPYP+UPeZaHtlrfx8S NN0z7fINOOaqf5Wt5Qv/TlvjCxMHBnx8KkTUJOoWr+dDiizn6zYANlSj1uFE9GRfDu13 pjhQSB5f93opARB6oj3btkq+Ri2qkYlzHzlxMf12gHdAh0Er/Ra4w4f05tIzZFw+kYNF 37cqjc/vws50bBPdfS5qvTRZDnIA4LKUApRcCNu2hp8X+Nxz2s3yWoNUFjxhDEv7GD64 LBq96JXmLzJ2380RBvmrR72xf/3bEzw06qY9WeSLD87njhXt9AVk/LlmNgSvD+Y+/6ey bfDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RLRqYk0b; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ed7-20020ad44ea7000000b004702e7e6e9asi881024qvb.353.2022.07.08.08.28.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jul 2022 08:28:32 -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=RLRqYk0b; 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]:50126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9puB-0008VG-O6 for patch@linaro.org; Fri, 08 Jul 2022 11:28:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9pia-0002a3-2T for qemu-devel@nongnu.org; Fri, 08 Jul 2022 11:16:33 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:36817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9piX-0002IT-BQ for qemu-devel@nongnu.org; Fri, 08 Jul 2022 11:16:31 -0400 Received: by mail-pf1-x436.google.com with SMTP id g126so9355557pfb.3 for ; Fri, 08 Jul 2022 08:16:28 -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=Eedjnu3eOCixQFi7+Gzy6ksLbMXPKA3RAkF+Pv5QpfE=; b=RLRqYk0b4m+zHsufuHYy7XOLtTeQ7v56+VvEl5yg+lSfw6qbJ4ilGk7ZYhdn32RK5M pr0wasqrkSGUrSYVhAhZxQMc7QE2B6xQFOSSDr/aapx5k/21I265MGfmvty9TLYMmGmJ 2czn5Rj2eJlWml1W4DVmrh8dCYnyGWgPBBTWYOjKbDOqodo2HUwpSiYy4/pIqjevV6W1 /R9tAWpvvDN0yTLjfGDmJ8aHW2ynInnTso9T/tLEt+PqA/A84CU8BbWZfo0odlCylN36 T0AXt6IHEilZ1yYS+hndgmBcRWvT9iyA0GqOx3RzTnzqlNU2gMaeDrCSVhuzlpcINCWw Tx+g== 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=Eedjnu3eOCixQFi7+Gzy6ksLbMXPKA3RAkF+Pv5QpfE=; b=SNozmfF/FnvicNSGxda3bZ3jpgLlFFZHOwB34RV+BOq7ed5eTe+4Pgk54uiTB4StaR oMUwAKtXwOfZgQJIaP8tg8wHUnydYa3YXJC1AmdBW54sa8PQeH0ajsJeTyVwggBQ0BBg fAGkJ9Vbe3yXQIM62ZHu0YomQZ0uJ1UBsdwpG/Rk5dgzFJ4qGn8eeiQhA0veFXoQv4M4 HprJLorDhGF1wYJl7BoMc6nv5cYYpCVUan8/khfLFPLS7XxpSze3DJV3zelVv+P9Uu0G V4+DfLhNmjh70XpiDgj4ndZslG4JDdAUmEWH5dAfzCiUs0U2JqdBUJ5WYj082ERedag/ 7lGw== X-Gm-Message-State: AJIora/GiiG5s69tXV2/Kly6hs3R/szKuO8lzlR9+O4hlPjQd/Ox1/zg KN46S/1i9T2gRVDXTnCvugjw+EQ7O8V4WqM3 X-Received: by 2002:a05:6a00:124a:b0:525:894b:7924 with SMTP id u10-20020a056a00124a00b00525894b7924mr4324990pfi.31.1657293387932; Fri, 08 Jul 2022 08:16:27 -0700 (PDT) Received: from stoup.. ([122.255.60.245]) by smtp.gmail.com with ESMTPSA id n17-20020a056a0007d100b0051bada81bc7sm29085774pfu.161.2022.07.08.08.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 08:16:27 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell Subject: [PATCH v6 14/45] target/arm: Mark LD1RO as non-streaming Date: Fri, 8 Jul 2022 20:45:09 +0530 Message-Id: <20220708151540.18136-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220708151540.18136-1-richard.henderson@linaro.org> References: <20220708151540.18136-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x436.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=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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Mark these as a non-streaming instructions, which should trap if full a64 support is not enabled in streaming mode. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/arm/sme-fa64.decode | 3 --- target/arm/translate-sve.c | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/target/arm/sme-fa64.decode b/target/arm/sme-fa64.decode index 2b5432bf85..47708ccc8d 100644 --- a/target/arm/sme-fa64.decode +++ b/target/arm/sme-fa64.decode @@ -58,6 +58,3 @@ FAIL 0001 1110 0111 1110 0000 00-- ---- ---- # FJCVTZS # --11 1100 --0- ---- ---- ---- ---- ---- # Load/store FP register (unscaled imm) # --11 1100 --1- ---- ---- ---- ---- --10 # Load/store FP register (register offset) # --11 1101 ---- ---- ---- ---- ---- ---- # Load/store FP register (scaled imm) - -FAIL 1010 010- -01- ---- 000- ---- ---- ---- # SVE load & replicate 32 bytes (scalar+scalar) -FAIL 1010 010- -010 ---- 001- ---- ---- ---- # SVE load & replicate 32 bytes (scalar+imm) diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 5182ee4c06..96e934c1ea 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -5062,6 +5062,7 @@ static bool trans_LD1RO_zprr(DisasContext *s, arg_rprr_load *a) if (a->rm == 31) { return false; } + s->is_nonstreaming = true; if (sve_access_check(s)) { TCGv_i64 addr = new_tmp_a64(s); tcg_gen_shli_i64(addr, cpu_reg(s, a->rm), dtype_msz(a->dtype)); @@ -5076,6 +5077,7 @@ static bool trans_LD1RO_zpri(DisasContext *s, arg_rpri_load *a) if (!dc_isar_feature(aa64_sve_f64mm, s)) { return false; } + s->is_nonstreaming = true; if (sve_access_check(s)) { TCGv_i64 addr = new_tmp_a64(s); tcg_gen_addi_i64(addr, cpu_reg_sp(s, a->rn), a->imm * 32);