public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tom de Vries <vries@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-7402] [nvptx, testsuite] Add -misa=sm_35 in nvptx/rotate.c
Date: Mon, 28 Feb 2022 09:14:14 +0000 (GMT)	[thread overview]
Message-ID: <20220228091414.BDDB03858C83@sourceware.org> (raw)

https://gcc.gnu.org/g:cac67bee90a53ce06177df81f2addf91faa1d84a

commit r12-7402-gcac67bee90a53ce06177df81f2addf91faa1d84a
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Feb 25 16:13:09 2022 +0100

    [nvptx, testsuite] Add -misa=sm_35 in nvptx/rotate.c
    
    When running with target board nvptx-none-run/-misa=sm_30 we run into:
    ...
    FAIL: gcc.target/nvptx/rotate.c scan-assembler-times shf.l.wrap.b32 1
    FAIL: gcc.target/nvptx/rotate.c scan-assembler-times shf.r.wrap.b32 1
    FAIL: gcc.target/nvptx/rotate.c scan-assembler-not and.b32
    ...
    
    Fix this by adding an explicit -misa=sm_35 in the test-case.
    
    Tested on nvptx.
    
    gcc/testsuite/ChangeLog:
    
    2022-02-28  Tom de Vries  <tdevries@suse.de>
    
            * gcc.target/nvptx/rotate.c: Add -misa=sm_35.

Diff:
---
 gcc/testsuite/gcc.target/nvptx/rotate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/nvptx/rotate.c b/gcc/testsuite/gcc.target/nvptx/rotate.c
index 1c9b83b4809..a6045166b57 100644
--- a/gcc/testsuite/gcc.target/nvptx/rotate.c
+++ b/gcc/testsuite/gcc.target/nvptx/rotate.c
@@ -1,5 +1,5 @@
 /* { dg-do assemble } */
-/* { dg-options "-O2 -save-temps" } */
+/* { dg-options "-O2 -save-temps -misa=sm_35" } */
 
 #define MASK 0x1f


                 reply	other threads:[~2022-02-28  9:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220228091414.BDDB03858C83@sourceware.org \
    --to=vries@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).