From patchwork Tue Jun 28 04:20:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 585457 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp405134mab; Mon, 27 Jun 2022 21:27:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t45RQubVsAji9aoEYZcfQbb9Q5fL7FCQL5VJGLwQPLGADPS4q60+Gey8AOlolsyIv8DM1t X-Received: by 2002:a05:622a:1651:b0:304:f530:e7db with SMTP id y17-20020a05622a165100b00304f530e7dbmr11332108qtj.55.1656390436130; Mon, 27 Jun 2022 21:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656390436; cv=none; d=google.com; s=arc-20160816; b=ewLS6gY4pEZxTFtk5qlFFmoE5nq6Ozbl6bJZB9oXkY920xHXhrV5+7LpYjQfUgsabI shs+yz48l6uhhp8Pz50SNNc+UPr0j8dxLDP05DZDi40kPXhENOfHz8Lct8EXS6oH4xgy k3G70ToETd8VvR59EJ+J8dJKSCP8Q1hUxrt71pAi9wyjlxRtn0UBigZ2EJSrqWLeGsOB E7ynXBhzc4Z2GeXLFSDPrvKMa4oT65Waf6KY+lzcHSaLTxA5GgtkIVD2OSEMegJeFyRV OwdUqsluMSHxEu9+KuwtRwMKhNAUEHAUd1fR6VNf0DXpQa7h9aEb8FI+sJTz/rUm954v DZdA== 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=ewoMQrcRLuqtJpk7AHvndmHZpifGgijfN++hOt6mk5U=; b=JbsSZKYVZXZjaSmc77j083jsHUK7TeXuEQLQMtes4VSzGcyRnbqcXVUZps+wB54NSQ R/etfaKTepsZWEwQ0BeTIUrRtYPAK1EcOkDDrGA4hMBV4Uth2Xv7UvqFCdvitO0xolja DDAWEl6o4RtRH093MR1/63g5/9ptYRGa9Hwcq0bEMAvopcXC83Nkp9Ex1fpM1hd1a2AC voS3jWnOR8m7o3BPEVko3ZMmEHJHT/1CdDVZD49Fr3oQWymxgifEctZE47XwsRKpJY5v dvJdAB1hnRql1uItPpAo7Z8+Nvzvt4VMOikPdf9wV9++y/7FVLeUvmRRgQQfFnmknHgL CZOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hmlhXEz7; 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 jr14-20020a0562142a8e00b0047068ebd850si6337724qvb.44.2022.06.27.21.27.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Jun 2022 21:27:16 -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=hmlhXEz7; 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]:57186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o62ol-0007jb-MS for patch@linaro.org; Tue, 28 Jun 2022 00:27:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o62jb-0001n2-Tb for qemu-devel@nongnu.org; Tue, 28 Jun 2022 00:21:55 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:33530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o62jZ-0003i0-FK for qemu-devel@nongnu.org; Tue, 28 Jun 2022 00:21:55 -0400 Received: by mail-pf1-x42a.google.com with SMTP id n12so10953124pfq.0 for ; Mon, 27 Jun 2022 21:21:53 -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=ewoMQrcRLuqtJpk7AHvndmHZpifGgijfN++hOt6mk5U=; b=hmlhXEz7ZlaZDgoZZ/fyNZGKrln05fNAtB6JQFL79YkQduFR2UDup2d0b73YQsqYpk DsS0KxIGMHNY2v0V+hHPFK1m8HHnKt56tFYBnCVg33NLn/OKZag2YmWu+KDyrZccH9nw v0EsfCTmgLOlNdKgAZe3Zj2R069MSbvY0RIDLcmTJP1G0nH5V/iXI5OajD2Tm5b9L9mP yHm1Powygo2Sbhxi4hFEcUS3QE8RBSotykokwitYupV9WT9AEtB3spVvwtH/sZ/Eho9y 6JNzV239weLm6lunpA57z8u9IsuOZLtFX+gImnxlNKU+j+PwcfvmOGUwZ76ObBpd2EgJ v7eg== 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=ewoMQrcRLuqtJpk7AHvndmHZpifGgijfN++hOt6mk5U=; b=oa+Cb+u/CmCWgJVs22eRh2aaEYsfyJ/ZnvqDDupVTPoVtz4md5Zh8gO4Cg3EZywIIj ddgNGNL6LDBU1QlMcWRa3/8rmS7pMK4QrL3cVHaXheFk5nAl16jULLw4JNSfUD2ZpjqQ s5BuVx5OiL5GUuVFOqixcYOjW5oUrEokVpKhMjGzswBoRWoyDSTiat/pbTzpjszlKSe2 CWrWRb8eY6Q/6As8XeswR9Oo3U7/0t/vKUg5HsZkSVXPYEl7bg3Z3/rgpJfyWhesqrAR kizBS8hcDwitPu1/A9OuhIn8Fd5Foiv5Jhz4SCTJ8LUmopUmz1v5p1WjcxrUSOPWzQPn uxyg== X-Gm-Message-State: AJIora/55NIuz1rCAfnjcd2sHWn48B+v/WtVQupZBipUX+puIgEpMl+r HI8mGohYGlDpxjbXq0atWUBdc37TgSc6YQ== X-Received: by 2002:a63:b91c:0:b0:40c:9df7:400f with SMTP id z28-20020a63b91c000000b0040c9df7400fmr15295001pge.509.1656390112098; Mon, 27 Jun 2022 21:21:52 -0700 (PDT) Received: from stoup.. ([122.255.60.245]) by smtp.gmail.com with ESMTPSA id jg6-20020a17090326c600b0016a087cfad8sm7994929plb.264.2022.06.27.21.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 21:21:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH v4 13/45] target/arm: Mark LDFF1 and LDNF1 as non-streaming Date: Tue, 28 Jun 2022 09:50:45 +0530 Message-Id: <20220628042117.368549-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220628042117.368549-1-richard.henderson@linaro.org> References: <20220628042117.368549-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42a.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: 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. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- target/arm/sme-fa64.decode | 2 -- target/arm/translate-sve.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/arm/sme-fa64.decode b/target/arm/sme-fa64.decode index bc41aa2e2a..7a0b05cf2c 100644 --- a/target/arm/sme-fa64.decode +++ b/target/arm/sme-fa64.decode @@ -58,7 +58,5 @@ FAIL 1100 1110 ---- ---- ---- ---- ---- ---- # Advanced SIMD cryptography e # --11 1100 --1- ---- ---- ---- ---- --10 # Load/store FP register (register offset) # --11 1101 ---- ---- ---- ---- ---- ---- # Load/store FP register (scaled imm) -FAIL 1010 010- ---- ---- 011- ---- ---- ---- # SVE contiguous FF load (scalar+scalar) -FAIL 1010 010- ---1 ---- 101- ---- ---- ---- # SVE contiguous NF load (scalar+imm) FAIL 1010 010- -10- ---- 000- ---- ---- ---- # SVE load & replicate 32 bytes (scalar+scalar) FAIL 1010 010- -100 ---- 001- ---- ---- ---- # SVE load & replicate 32 bytes (scalar+imm) diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 9c58902b6e..11874a8e77 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -4805,6 +4805,7 @@ static bool trans_LDFF1_zprr(DisasContext *s, arg_rprr_load *a) if (!dc_isar_feature(aa64_sve, s)) { 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)); @@ -4906,6 +4907,7 @@ static bool trans_LDNF1_zpri(DisasContext *s, arg_rpri_load *a) if (!dc_isar_feature(aa64_sve, s)) { return false; } + s->is_nonstreaming = true; if (sve_access_check(s)) { int vsz = vec_full_reg_size(s); int elements = vsz >> dtype_esz[a->dtype];