From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 9BFDC385843D for ; Mon, 28 Feb 2022 09:15:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9BFDC385843D Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D1ABD1F3A7 for ; Mon, 28 Feb 2022 09:15:51 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BE97112FC5 for ; Mon, 28 Feb 2022 09:15:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +OdrLceSHGLcTwAAMHmgww (envelope-from ) for ; Mon, 28 Feb 2022 09:15:51 +0000 Date: Mon, 28 Feb 2022 10:15:50 +0100 From: Tom de Vries To: gcc-patches@gcc.gnu.org Subject: [committed][nvptx, testsuite] Add -misa=sm_30 in nvptx/atomic-store-3.c Message-ID: <20220228091548.GA5850@delia.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2022 09:15:53 -0000 Hi, When running with target board nvptx-none-run/-misa=sm_70 I run into: ... FAIL: gcc.target/nvptx/atomic-store-3.c scan-assembler-times st.global.u32 1 FAIL: gcc.target/nvptx/atomic-store-3.c scan-assembler-times st.global.u64 1 ... Fix this by adding an explicit -misa=sm_30 in the test-case. Tested on nvptx. Committed to trunk. Thanks, - Tom [nvptx, testsuite] Add -misa=sm_30 in nvptx/atomic-store-3.c gcc/testsuite/ChangeLog: 2022-02-28 Tom de Vries * gcc.target/nvptx/atomic-store-3.c: Add -misa=sm_30. --- gcc/testsuite/gcc.target/nvptx/atomic-store-3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/nvptx/atomic-store-3.c b/gcc/testsuite/gcc.target/nvptx/atomic-store-3.c index cc0264f2b06..5d417b84b3e 100644 --- a/gcc/testsuite/gcc.target/nvptx/atomic-store-3.c +++ b/gcc/testsuite/gcc.target/nvptx/atomic-store-3.c @@ -1,7 +1,7 @@ /* Test the atomic store expansion, global state space. */ /* { dg-do compile } */ -/* { dg-additional-options "-Wno-long-long" } */ +/* { dg-additional-options "-Wno-long-long -misa=sm_30" } */ enum memmodel {