]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
patchable_function_entry-decl.c: Add regex to search for uppercase "NOP" instructions...
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 8 Nov 2018 16:31:27 +0000 (16:31 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Thu, 8 Nov 2018 16:31:27 +0000 (16:31 +0000)
2018-11-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* c-c++-common/patchable_function_entry-decl.c: Add regex to search for
uppercase "NOP" instructions in assembler output.
* c-c++-common/patchable_function_entry-default.c: Likewise.
* c-c++-common/patchable_function_entry-definition.c: Likewise.

From-SVN: r265927

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/patchable_function_entry-decl.c
gcc/testsuite/c-c++-common/patchable_function_entry-default.c
gcc/testsuite/c-c++-common/patchable_function_entry-definition.c

index 77e7e641774585081fd2af6038c676e4bcc3252f..6caf9bab6dde4f44abafa13fdaacf352246454a4 100644 (file)
@@ -1,3 +1,10 @@
+2018-11-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * c-c++-common/patchable_function_entry-decl.c: Add regex to search for
+       uppercase "NOP" instructions in assembler output.
+       * c-c++-common/patchable_function_entry-default.c: Likewise.
+       * c-c++-common/patchable_function_entry-definition.c: Likewise.
+
 2018-11-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * c-c++-common/pr27336.c: Skip test if the target keeps null pointer
index 32e2c06eae3932f16bdd910e8c6043ae6084675f..3bfb7568bee850815e82563a4641d7bd5683a4f8 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile { target { ! nvptx*-*-* } } } */
 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
-/* { dg-final { scan-assembler-times "nop" 2 { target { ! { alpha*-*-* visium-*-* } } } } } */
+/* { dg-final { scan-assembler-times "nop|NOP" 2 { target { ! { alpha*-*-* visium-*-* } } } } } */
 /* { dg-final { scan-assembler-times "bis" 2 { target alpha*-*-* } } } */
 /* { dg-final { scan-assembler-times "nop" 3 { target visium-*-* } } } */
 
index be88e431e30a36b64d684b53e71c042fc53f5c6a..bd7c6e98fc6586d8dbcd482e0b883bbff09ca838 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile { target { ! nvptx*-*-* } } } */
 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
-/* { dg-final { scan-assembler-times "nop" 3 { target { ! { alpha*-*-* visium-*-* } } } } } */
+/* { dg-final { scan-assembler-times "nop|NOP" 3 { target { ! { alpha*-*-* visium-*-* } } } } } */
 /* { dg-final { scan-assembler-times "bis" 3 { target alpha*-*-* } } } */
 /* { dg-final { scan-assembler-times "nop" 4 { target visium-*-* } } } */
 
index af18dbcd5e639f26b82783fb039f4028e850f366..709113890effc6642ad1d9931b7939b7c0bfd67f 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile { target { ! nvptx*-*-* } } } */
 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
-/* { dg-final { scan-assembler-times "nop" 1 { target { ! { alpha*-*-* visium-*-* } } } } } */
+/* { dg-final { scan-assembler-times "nop|NOP" 1 { target { ! { alpha*-*-* visium-*-* } } } } } */
 /* { dg-final { scan-assembler-times "bis" 1 { target alpha*-*-* } } } */
 /* { dg-final { scan-assembler-times "nop" 2 { target visium-*-* } } } */