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 77e7e64..6caf9ba 100644 (file)
@@ -1,5 +1,12 @@
 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
        checks.
        * gcc.dg/addr_equal-1.c: Likewise.
index 32e2c06..3bfb756 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 be88e43..bd7c6e9 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 af18dbc..7091138 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-*-* } } } */