diff mbox series

[RS6000] dimode_off.c test

Message ID 20201022065949.GJ4898@bubble.grove.modra.org
State New
Headers show
Series [RS6000] dimode_off.c test | expand

Commit Message

Alan Modra Oct. 22, 2020, 6:59 a.m. UTC
This tests behaviour near the limit of 16-bit signed offsets.  If
power10 prefix instructions are enabled, no such testing occurs.

	* gcc.target/powerpc/dimode_off.c: Add -mno-prefixed to options.

Regstrapped powerpc64le-linux power10 and power8.  OK?

Comments

Segher Boessenkool Oct. 26, 2020, 8:24 p.m. UTC | #1
On Thu, Oct 22, 2020 at 05:29:49PM +1030, Alan Modra wrote:
> This tests behaviour near the limit of 16-bit signed offsets.  If
> power10 prefix instructions are enabled, no such testing occurs.
> 
> 	* gcc.target/powerpc/dimode_off.c: Add -mno-prefixed to options.
> 
> Regstrapped powerpc64le-linux power10 and power8.  OK?

Yes please.  Thanks!


Segher
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/powerpc/dimode_off.c b/gcc/testsuite/gcc.target/powerpc/dimode_off.c
index 19ca40c508b..12718eafdd3 100644
--- a/gcc/testsuite/gcc.target/powerpc/dimode_off.c
+++ b/gcc/testsuite/gcc.target/powerpc/dimode_off.c
@@ -1,5 +1,5 @@ 
 /* { dg-do assemble } */
-/* { dg-options "-O2 -fno-align-functions -fno-asynchronous-unwind-tables -mtraceback=no -save-temps" } */
+/* { dg-options "-O2 -fno-align-functions -fno-asynchronous-unwind-tables -mtraceback=no -mno-prefixed -save-temps" } */
 
 void w1 (void *x, long long y) { *(long long *) (x + 32767) = y; }
 void w2 (void *x, long long y) { *(long long *) (x + 32766) = y; }