From patchwork Tue Oct 8 01:10:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Zeng X-Patchwork-Id: 98468 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EED573857000 for ; Tue, 8 Oct 2024 01:11:23 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from zg8tmja2lje4os4yms4ymjma.icoremail.net (zg8tmja2lje4os4yms4ymjma.icoremail.net [206.189.21.223]) by sourceware.org (Postfix) with ESMTP id 49BD73858C98 for ; Tue, 8 Oct 2024 01:10:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 49BD73858C98 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=eswincomputing.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eswincomputing.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 49BD73858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=206.189.21.223 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728349851; cv=none; b=GLhIAjdFv23eY+XrAbOyMoTcoxXIYMh2pjS0ScJXvwAxIlwERoGUoFqhCbvJZQV5wDUlahDu8j83NQZwhBNaAjAAJRl6zkdmcQ99eNn9TK3l8s4Fvi76qfZdKlOndzdcHNuZe+IZE7hXeSFtTzXZjkBhgrUbVmfDRA56/dfIRRY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728349851; c=relaxed/simple; bh=TWiQN8sEhEpmZTqPQYCPWiVYGe7cHWEtUXSxXnHAZpo=; h=From:To:Subject:Date:Message-Id; b=skxyQifdkLoJfc5zpDNx2NwHZhPnQKzKfHr9APUlNVqShkWRWvX/qSmQZ/2vy8NNn3HCv8e7TTg+utGZAbQvHxEm6BU5kn2b4ltNNFMHWMTzUEHE45u2hxwTGTWJhSi8KfEh8Pz+3ehfPG/OqaQm3MQt2HVZBlUYoG5u2vsJE5Y= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost.localdomain (unknown [10.12.130.38]) by app1 (Coremail) with SMTP id TAJkCgDnFuWNhgRnVzwMAA--.58719S4; Tue, 08 Oct 2024 09:10:37 +0800 (CST) From: Xiao Zeng To: binutils@sourceware.org Cc: kito.cheng@gmail.com, palmer@dabbelt.com, nelson@rivosinc.com, zhengyu@eswincomputing.com, jiawei@iscas.ac.cn, Xiao Zeng Subject: [PING] [PATCH] RISC-V: Fix implicit dependency of Zabha and Zacas Date: Tue, 8 Oct 2024 09:10:35 +0800 Message-Id: <20241008011035.3538-1-zengxiao@eswincomputing.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: TAJkCgDnFuWNhgRnVzwMAA--.58719S4 X-Coremail-Antispam: 1UD129KBjvJXoW7WrWUZr15Cw1kCw4fWFWrAFb_yoW8uw1kpr W7XF10k34kZFZ7AFsxAF1rurWqqw1kJr1Fkr4Iv34UWr4rJrZrXF9Iyw1rAF45JFy8Cr13 ua93KFWrZF10vaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUk214x267AKxVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK02 1l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4U JVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gc CE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E 2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJV W8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lc2xSY4AK6svPMxAI w28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr 4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxG rwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8Jw CI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2 z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjfUoOJ5UUUUU X-CM-SenderInfo: p2hqw5xldrqvxvzl0uprps33xlqjhudrp/ X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org 1 Zabha depends on Zaamo: 2 Zacas depends on Zaamo: bfd/ChangeLog: * elfxx-riscv.c: Zabha and Zacas implicitly depend on Zaamo. gas/ChangeLog: * testsuite/gas/riscv/imply.d: Updated. Signed-off-by: Xiao Zeng --- bfd/elfxx-riscv.c | 4 ++-- gas/testsuite/gas/riscv/imply.d | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index 26ec664d88a..4b48d8ee9f0 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -1182,8 +1182,8 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] = {"m", "+zmmul", check_implicit_always}, - {"zabha", "+a", check_implicit_always}, - {"zacas", "+a", check_implicit_always}, + {"zabha", "+zaamo", check_implicit_always}, + {"zacas", "+zaamo", check_implicit_always}, {"a", "+zaamo,+zalrsc", check_implicit_always}, {"xsfvcp", "+zve32x", check_implicit_always}, diff --git a/gas/testsuite/gas/riscv/imply.d b/gas/testsuite/gas/riscv/imply.d index 88b8c46bb89..26eff8c650a 100644 --- a/gas/testsuite/gas/riscv/imply.d +++ b/gas/testsuite/gas/riscv/imply.d @@ -15,8 +15,8 @@ SYMBOL TABLE: [0-9a-f]+ l .text 0+000 \$xrv32i2p1_zicntr2p0_zicsr2p0 [0-9a-f]+ l .text 0+000 \$xrv32i2p1_zicsr2p0_zihpm2p0 [0-9a-f]+ l .text 0+000 \$xrv32i2p1_m2p0_zmmul1p0 -[0-9a-f]+ l .text 0+000 \$xrv32i2p1_a2p1_zaamo1p0_zabha1p0_zalrsc1p0 -[0-9a-f]+ l .text 0+000 \$xrv32i2p1_a2p1_zaamo1p0_zacas1p0_zalrsc1p0 +[0-9a-f]+ l .text 0+000 \$xrv32i2p1_zaamo1p0_zabha1p0 +[0-9a-f]+ l .text 0+000 \$xrv32i2p1_zaamo1p0_zacas1p0 [0-9a-f]+ l .text 0+000 \$xrv32i2p1_a2p1_zaamo1p0_zalrsc1p0 [0-9a-f]+ l .text 0+000 \$xrv32i2p1_zicsr2p0_zve32x1p0_zvl32b1p0_xsfvcp1p0 [0-9a-f]+ l .text 0+000 \$xrv32i2p1_f2p2_d2p2_v1p0_zicsr2p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0