From patchwork Wed Jul 6 08:23:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 587722 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1ec:0:0:0:0 with SMTP id 12csp2551617map; Wed, 6 Jul 2022 02:01:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uki0JuM4F5G+hOKIkb7ed0mIgMGyps5BWb1wltDzo5H7C6Jw/0ioKC1VG2TCRIzclHwmDN X-Received: by 2002:ac8:5a92:0:b0:31a:b4ce:166f with SMTP id c18-20020ac85a92000000b0031ab4ce166fmr32046954qtc.239.1657098119833; Wed, 06 Jul 2022 02:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657098119; cv=none; d=google.com; s=arc-20160816; b=PCVHrdoab1SZuab36VUbazDnfC7v/a8TN8z8yDEftpzCSoh8bPiVNCNEFtJxgzs0lZ CEgWJS/hr9IaAXPZ0tDU7u7UPaxsf4uZ1ad7KCsQsSvvCYVsDk9yoHmim4lAC5msU9cD Y6701sqlP1wnQhaWmuWyJO0BjHkFV0JRo6j4oJ83UOxa5pk2BHkr1Qvu27z3w5aDQxJp oErljvfdm+ctMynHtdSE+PRNzGzGGXxXkSExJBqtBZvEFHT5Nkg713WkwYYIeEluZZ3D vsAGv7lp21i8akVX+FORcQMtkjCVzZMsXg1cEQ/HZgFtE79GrP3nNWPm75ZlDIddEgG6 r6hQ== 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=3fycTpR631CAyDn0p7xxlDZ9oFm740riIb23T+ghRkc=; b=KgTJaTXaRb3e85lXnRhlSUe7EhaHYwjo0ENbplf5om2ep3ddeG7kcDCrxoe9YMDXoT WDaFoNZxp/v/NGj1kmU7Fl1eH5MLj+tiASp3R+imTwJReWrbvDW/7MA04LM0GrgcDo1G hYX4WCXcqXEBnfXyJMhnMOD7TgNERRxv+InaOqEE1zSfQ8mHABkEr21hA28O7wa654bp Ad4cwnclppSazPgzgPu3C4Gg7POpRR4ce2yo28TKrlVVULJ9B+y/S4QEZXwhCegfsDia edj2HODAccsy+oVEPRea0eHt0CIC2bQSQFO5qbYR85BHPHC4BhM2dHJVKaRFmp7Jh6yr NxaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GkfpssZ3; 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 h18-20020ac85852000000b00317ca6f541dsi15672156qth.518.2022.07.06.02.01.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jul 2022 02:01: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=GkfpssZ3; 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]:40650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o90v1-0004My-DF for patch@linaro.org; Wed, 06 Jul 2022 05:01:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o90LA-00060e-Bk for qemu-devel@nongnu.org; Wed, 06 Jul 2022 04:24:56 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:39445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o90L6-0000PU-S7 for qemu-devel@nongnu.org; Wed, 06 Jul 2022 04:24:55 -0400 Received: by mail-pj1-x1029.google.com with SMTP id v4-20020a17090abb8400b001ef966652a3so5142449pjr.4 for ; Wed, 06 Jul 2022 01:24:50 -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=3fycTpR631CAyDn0p7xxlDZ9oFm740riIb23T+ghRkc=; b=GkfpssZ3zDqg3a2hEsIIUnMan3aEYwz0l+ZG8gYBuXNobkfxMOLo4SmeK92tLQ218i 1b6RLycoN5u/BryOhh7+vmbieDN/twcdUmyH3aWardqGV5vWm+XZ2nndcSeIh2Y+HZrW FopuesK7mJ8M6RebWkA66PTfgurKpfo+XG5TJ2AYxVeeYLI9kQNtQesZCXKrT4RjNS73 65QBswAvBob3eFpE6ce2L8mPbmdrLINcD5tUAYVpcYRbi3RX8UG8BsFG10H+AbYcYy61 rCE+pB9+BZ57t7QJTxAnYX3zOZTkTEWU8NqoYWkh+ttIkZTaPVvyo4Cihv6fREQtPSk5 7liA== 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=3fycTpR631CAyDn0p7xxlDZ9oFm740riIb23T+ghRkc=; b=AKhCg3ONaJUN45zHBpaNIkQuE/sosWNrG8D/Adx2dUH15YRWDshW+vyUZ7GyHqzlFa RF4XYjpOKgFbIK4D53rp988r+g6klU0bh/t10zANT/I27jfbVuGu+NA+0ICQIZJx1qFM k8pwHQejjuNR3aQKtBa1i5BTey2cPd6sj4ixzezbqt8ap84KBZOA9GhmLdkNlyHOZ1OL kw/YBw1AwSlhVwT69O6hBGWRNxq06J3qvd6lHUiPWXOzdGA2mRKY/w0dGUXSB4uAV8Iu +3ZtY9JSmA76V/5Yes7jwPacQI3oK8QGwklJTrvAbZJkdisXC9x3oYFrjqI0Wq4e7wA6 /8sw== X-Gm-Message-State: AJIora+xClYguGcV2OKQ7tE+UgOYTF2VnV6bgBbVpEbi89vMfdVkcFU/ 3XCc8GUNIvLm1Ui1hreTbV+lDvZG5ZFUFMgi X-Received: by 2002:a17:90b:343:b0:1ef:b65d:f4d8 with SMTP id fh3-20020a17090b034300b001efb65df4d8mr1902757pjb.187.1657095889488; Wed, 06 Jul 2022 01:24:49 -0700 (PDT) Received: from stoup.. ([122.255.60.245]) by smtp.gmail.com with ESMTPSA id t17-20020a170902e85100b00162529828aesm25199256plg.109.2022.07.06.01.24.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 01:24:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell Subject: [PATCH v5 13/45] target/arm: Mark LDFF1 and LDNF1 as non-streaming Date: Wed, 6 Jul 2022 13:53:39 +0530 Message-Id: <20220706082411.1664825-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220706082411.1664825-1-richard.henderson@linaro.org> References: <20220706082411.1664825-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1029.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 | 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 7d4c33fb5b..2b5432bf85 100644 --- a/target/arm/sme-fa64.decode +++ b/target/arm/sme-fa64.decode @@ -59,7 +59,5 @@ FAIL 0001 1110 0111 1110 0000 00-- ---- ---- # FJCVTZS # --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- -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 bbf3bf2119..5182ee4c06 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];