[RS6000] dimode_off.c test
authorAlan Modra <amodra@gmail.com>
Thu, 22 Oct 2020 02:12:36 +0000 (12:42 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 26 Oct 2020 22:45:52 +0000 (09:15 +1030)
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.

gcc/testsuite/gcc.target/powerpc/dimode_off.c

index 19ca40c..12718ea 100644 (file)
@@ -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; }