From patchwork Tue Nov 14 03:21:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "juzhe.zhong@rivai.ai" X-Patchwork-Id: 164710 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1623653vqg; Mon, 13 Nov 2023 19:21:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4m7N6AU1xNYDWrYh+/St/IX+KAeCcjyd/h9piDLTxjTDqWh6SeitmPQLxLnpwVgazHvYZ X-Received: by 2002:a05:6214:22:b0:66d:1f11:8b85 with SMTP id b2-20020a056214002200b0066d1f118b85mr1138471qvr.13.1699932113877; Mon, 13 Nov 2023 19:21:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699932113; cv=pass; d=google.com; s=arc-20160816; b=dXu874gzbrjpFA8dOZFVzIygdvE7nk+AsEQWMuAbpE0qm4Q0Y6Q49spnC4Ly3ESBgd doP+fOCyZiNrtQyPf1yJEX3+wxN9FdAuwvPSxQpa7aHl9nem9Rvjwlzv4L9ZTV1qu2I8 J0U4vN5O5OeGhZBJVj0ppfBXPleIXsNvwpbluP+6iaFc9wH7DHzQbqPOdFbOagmjs40Z 2iu9AVAPtpLFdut1O4fIB3JduXAVorKWUonWqs8ZKL6EA3dnzM4wBrpnxQRzuB+/cNv1 IPtyWrlTVMAtMf/AJ25chya3MWPz6rDsFfmQeIrZifK8Ik4vbqrvlFWGzTVhkAzsGvLi TmCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:arc-filter:dmarc-filter:delivered-to; bh=X9gT64NkHrWlkSuj6C7kKvhwI0+RBpHimCHBP6V+heQ=; fh=idvV5TQ1gmHAoU8u1GUGfjilVySOK+BR5TeZLoSouN8=; b=rv7+qA0eGRJBvRNJPYsnF41mdhy8r6qUyAW0aKkVqYwW4nit1THQ4qZmM5RlU27sG9 VV1GPZZ3CQ2hjJ33Xtl682dk/SocOlZYr/hIYQEeNDTviVIF4PFqopvVxYQr2o2nZo5L Z1liV45hzZKxjUzeuG6ZhiBGK7KNNsZAIrPDYgBapHJIQaiT/pmrQaB9ZDFpzLll+DdU 6vmI8haVBtoh+zg7Pl2K0y36pz8nehizIo+HPl/BDnMc4KbolipxUskruKTQZ1W+8dGY FF4atHqLDUiWZq9WkALxNtCy/ucbkupY6l29W3M7NIfQ74Mso0US2YCMof1qQ6tkajui IKGA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id qs14-20020a05620a394e00b0077898e33d26si5585450qkn.232.2023.11.13.19.21.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 19:21:53 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A24D73845165 for ; Tue, 14 Nov 2023 03:21:53 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgsg1.qq.com (smtpbgsg1.qq.com [54.254.200.92]) by sourceware.org (Postfix) with ESMTPS id AC6873858C01 for ; Tue, 14 Nov 2023 03:21:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC6873858C01 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AC6873858C01 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.254.200.92 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699932089; cv=none; b=E1ZN88rooJuVZWHrVemu3fgzOlKWaeSsFOfgZ71boIUkaWYMQeX8Gk1mL4hNgOk3fwHGE1BSNxQlKuhX20WeB7Z1pAjtqmKqiUhHqyCjuUIRs9VGsF7h0DlpMJ1ZslOkVRO6WQvnlRWyxLDROXIvQCASAGl2rzoFK75tJ193HL0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699932089; c=relaxed/simple; bh=2PgbqCeuzpiMv1FBfwFE9Jz18x0JWSQt0ad/YFE+JyU=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=MQVjbHhZK31ooI2Hk4CbsfIoQldB7Z7DA0EonAJYU5HgbxvPjXvR7pyBQ73nFOGHCI6fXb3yxQXevbzmknNG6TUULsvRTK85uqagpDS/8n7NRCw1FzSSYkaKZTH50Uy+rPAJDp1ul6jGIpJRloKtjnqWTywE5GLhu3dYpF4dYfA= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp82t1699932079t3bb11xl Received: from rios-cad122.hadoop.rioslab.org ( [58.60.1.26]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 14 Nov 2023 11:21:17 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: mRz6/7wsmIg59Q14kXZN/tpvVl3l/j0qgTfRFEGeLX0mo5V+367JvnRLx58FH sUge76opst+vfJ9eyXLhDun9WwR6Im0jDm1qeY58aZ6nz/qFecO9afzHVZu1n9gbHRJf1Q0 77IbGZE+XqqKGIWpS903NK720KNcll2300l8V7vK35KB90frEPIehjzjozwytPdVFfUnMXA hK4ywtvMHDFd9h4PcChtGL1e++ZQCb1Q835wXHQ21dLLpOTN3sNvkPKH7zN8CUssh//ZYaM WSpf62aY9kqkEBQQ5BcS9az8qKREi/ghqjJtpR4HdeVXF8qAjNlZZCipVpmtxpcbFM1tycw paKaKllcpMXsBU93+y9BtMt1a3XEVUu6ZrbVx30URo/aSQn79Q= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 3762470175630713946 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: Juzhe-Zhong Subject: [Committed] RISC-V: Fix init-2.c assembly check Date: Tue, 14 Nov 2023 11:21:16 +0800 Message-Id: <20231114032116.3273076-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782508015893103075 X-GMAIL-MSGID: 1782508015893103075 Notice the assembly check of init-2.c is wrong. Committed. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/vls/init-2.c: Fix vid.v check. --- gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/init-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/init-2.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/init-2.c index f27c395441b..ae31e227ad1 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/init-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls/init-2.c @@ -45,4 +45,4 @@ DEF_INIT (v128uhi, uint16_t, 128, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127) -/* { dg-final { scan-assembler-times {vid\.vx} 494 } } */ +/* { dg-final { scan-assembler-times {vid\.v} 14 } } */