From patchwork Fri Oct 29 08:59:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Chang X-Patchwork-Id: 12592423 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22CC1C433EF for ; Fri, 29 Oct 2021 10:32:39 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B60E361051 for ; Fri, 29 Oct 2021 10:32:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B60E361051 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:58104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgPBd-0007AQ-ER for qemu-devel@archiver.kernel.org; Fri, 29 Oct 2021 06:32:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgNo3-0001kW-LX for qemu-devel@nongnu.org; Fri, 29 Oct 2021 05:04:11 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:34440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgNo1-0006nl-30 for qemu-devel@nongnu.org; Fri, 29 Oct 2021 05:04:11 -0400 Received: by mail-pj1-x102f.google.com with SMTP id q2-20020a17090a2e0200b001a0fd4efd49so6999125pjd.1 for ; Fri, 29 Oct 2021 02:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uNKLb1QcQ6ASiCSf4LOijmdkFNA5PCo15wSKt6nPlVw=; b=ePH/bzwJTviuYdMcOKBR5ChZRfSdC8PMZrwUna6xU8T+JakC9CRn9/4cp2byJbVfnh MB8k8z4k0iKJ39Y2GGxPo1I4Mt58GTQ6cm7GhaieFyIbWes81r0T3dqpFCDgpq3jFQ80 8D99yvkB8tNcnarr9hprNFJB9IDe6zmlUXtXsQeCiUZjca7TZtc06xR6Y1+shpsU+IUi QWFbDQUWnM37HLsm/+7FpHfIbjM+7EthHMItCsZSLqju1FV9tfk/tRADPecLQP5W982Y v/9u5UO6FQ1i4BvmrIQM0DaaTb65lPTNnMgntz+m2KyEO59jx3yGNYnf1S4yReIAMrku Nc5A== 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=uNKLb1QcQ6ASiCSf4LOijmdkFNA5PCo15wSKt6nPlVw=; b=nCV6rQBCj14ygsB6FG7Kc9fYyMTpBKlX1ThBUoIqu/eRwqhckejtndmNB44KYM+fuZ 0vzBsK3C0DkYlEmngI+/k1r2vYJjebsaMeFXyNVxpkfNcXok1K3bZEKOSgO3VIUNvrxs wXuVWnNpWmGw6tjQThFJB036AIjKaNsZHH3IOs8xujV3pJoeJqDhQS4YRVOhbqQgWPYE fOoxXMrIYC4WQdUUEuKhPQTteSEULR67ga2wp1OV28TKqOeH65gvpDx9fiVwfolEonZ8 Yugjm64AKjMCMjEo+KlI9Rpgtj1lKMKiA8HbE0tL9pShaHu2b+kiAK9WeHsCaPgsp2I4 0z1g== X-Gm-Message-State: AOAM533T3wAYrXcA6mIgV37muWDpE7+o1zUvb+0fUfJxO9gAgaP/Zdno Tg51FFFe+fFlJLbRFT6FQGOSFjOpYXSt5Yol X-Google-Smtp-Source: ABdhPJyfrBuSKF6C35HzkJXh0LDEnf4gxl/7mUsVhaiMt4gllUv25x053wmf6VoORzW1s9LDJJ3eBA== X-Received: by 2002:a17:902:a5c2:b0:140:14bb:8efd with SMTP id t2-20020a170902a5c200b0014014bb8efdmr8805881plq.31.1635498247414; Fri, 29 Oct 2021 02:04:07 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:46b:ce55:983b:6962:38ac:e1b9]) by smtp.gmail.com with ESMTPSA id t13sm5081477pgn.94.2021.10.29.02.04.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 02:04:07 -0700 (PDT) From: frank.chang@sifive.com To: qemu-devel@nongnu.org Subject: [PATCH v9 71/76] target/riscv: rvv-1.0: rename r2_zimm to r2_zimm11 Date: Fri, 29 Oct 2021 16:59:16 +0800 Message-Id: <20211029085922.255197-72-frank.chang@sifive.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211029085922.255197-1-frank.chang@sifive.com> References: <20211029085922.255197-1-frank.chang@sifive.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=frank.chang@sifive.com; helo=mail-pj1-x102f.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Frank Chang , Alistair Francis , Bin Meng , qemu-riscv@nongnu.org, Palmer Dabbelt Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Frank Chang Rename r2_zimm to r2_zimm11 for the upcoming vsetivli instruction. vsetivli has 10-bits of zimm but vsetvli has 11-bits of zimm. Signed-off-by: Frank Chang Reviewed-by: Alistair Francis --- target/riscv/insn32.decode | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/riscv/insn32.decode b/target/riscv/insn32.decode index 952768f8ded..d7c6bc9af26 100644 --- a/target/riscv/insn32.decode +++ b/target/riscv/insn32.decode @@ -78,7 +78,7 @@ @r_vm ...... vm:1 ..... ..... ... ..... ....... &rmrr %rs2 %rs1 %rd @r_vm_1 ...... . ..... ..... ... ..... ....... &rmrr vm=1 %rs2 %rs1 %rd @r_vm_0 ...... . ..... ..... ... ..... ....... &rmrr vm=0 %rs2 %rs1 %rd -@r2_zimm . zimm:11 ..... ... ..... ....... %rs1 %rd +@r2_zimm11 . zimm:11 ..... ... ..... ....... %rs1 %rd @r2_s ....... ..... ..... ... ..... ....... %rs2 %rs1 @hfence_gvma ....... ..... ..... ... ..... ....... %rs2 %rs1 @@ -671,7 +671,7 @@ vsext_vf2 010010 . ..... 00111 010 ..... 1010111 @r2_vm vsext_vf4 010010 . ..... 00101 010 ..... 1010111 @r2_vm vsext_vf8 010010 . ..... 00011 010 ..... 1010111 @r2_vm -vsetvli 0 ........... ..... 111 ..... 1010111 @r2_zimm +vsetvli 0 ........... ..... 111 ..... 1010111 @r2_zimm11 vsetvl 1000000 ..... ..... 111 ..... 1010111 @r # *** RV32 Zba Standard Extension ***