public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Uros Bizjak <ubizjak@gmail.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [PATCH, testsuite]: Adapt c-c++-common/patchable_function_entry-*.c for alpha
Date: Wed, 16 Aug 2017 19:47:00 -0000	[thread overview]
Message-ID: <CAFULd4bq980oPrB0KBW-F_XBB+ZkNx8B49cqfp4K6kXD0NonLw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

2017-08-16  Uros Bizjak  <ubizjak@gmail.com>

    * c-c++-common/patchable_function_entry-decl.c (dg-final): Adapt
    scan-assembler-times for alpha*-*-*.
    * c-c++-common/patchable_function_entry-default.c (dg-final): Ditto.
    * c-c++-common/patchable_function_entry-definition.c (dg-final): Ditto.

Tested on alphaev68-linux-gnu and x86_64-linux-gnu.

Committed to mainline SVN.

Uros.

[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 1848 bytes --]

Index: c-c++-common/patchable_function_entry-decl.c
===================================================================
--- c-c++-common/patchable_function_entry-decl.c	(revision 251122)
+++ c-c++-common/patchable_function_entry-decl.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-do compile { target { ! nvptx*-*-* } } } */
 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
-/* { dg-final { scan-assembler-times "nop" 2 } } */
+/* { dg-final { scan-assembler-times "nop" 2 { target { ! alpha*-*-* } } } } */
+/* { dg-final { scan-assembler-times "bis" 2 { target alpha*-*-* } } } */
 
 extern int a;
 
Index: c-c++-common/patchable_function_entry-default.c
===================================================================
--- c-c++-common/patchable_function_entry-default.c	(revision 251122)
+++ c-c++-common/patchable_function_entry-default.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-do compile { target { ! nvptx*-*-* } } } */
 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
-/* { dg-final { scan-assembler-times "nop" 3 } } */
+/* { dg-final { scan-assembler-times "nop" 3 { target { ! alpha*-*-* } } } } */
+/* { dg-final { scan-assembler-times "bis" 3 { target alpha*-*-* } } } */
 
 extern int a;
 
Index: c-c++-common/patchable_function_entry-definition.c
===================================================================
--- c-c++-common/patchable_function_entry-definition.c	(revision 251122)
+++ c-c++-common/patchable_function_entry-definition.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-do compile { target { ! nvptx*-*-* } } } */
 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
-/* { dg-final { scan-assembler-times "nop" 1 } } */
+/* { dg-final { scan-assembler-times "nop" 1 { target { ! alpha*-*-* } } } } */
+/* { dg-final { scan-assembler-times "bis" 1 { target alpha*-*-* } } } */
 
 extern int a;
 

                 reply	other threads:[~2017-08-16 18:46 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=CAFULd4bq980oPrB0KBW-F_XBB+ZkNx8B49cqfp4K6kXD0NonLw@mail.gmail.com \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@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).