diff mbox series

[testsuite] Small tweak for Visium

Message ID 3529050.HrMZkjoJ5K@polaris
State New
Headers show
Series [testsuite] Small tweak for Visium | expand

Commit Message

Eric Botcazou Dec. 10, 2018, 11:17 a.m. UTC
Tested on visium-elf and x86_64-suse-linux, applied on mainline and 8 branch.


2018-12-10  Eric Botcazou  <ebotcazou@adacore.com>

	* c-c++-common/patchable_function_entry-decl.c: Pass -mcpu=gr6 for
	Visium and remove other specific handling.
	* c-c++-common/patchable_function_entry-default.c: Likewise.
	* c-c++-common/patchable_function_entry-definition.c: Likewise.
diff mbox series

Patch

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