]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Update 'gcc.dg/vect/vect-simd-clone-*.c' GCN 'dg-warning's
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 14 Dec 2023 09:47:35 +0000 (10:47 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 14 Dec 2023 21:03:01 +0000 (22:03 +0100)
Recent commit f5fc001a84a7dbb942a6252b3162dd38b4aae311
"aarch64: enable mixed-types for aarch64 simdclones" added lines to those
test cases and GCN-specific line numbers got out of sync, which had
originally gotten added in commit b73c49f6f88dd7f7569f9a72c8ceb04598d4c15c
"amdgcn: OpenMP SIMD routine support".

gcc/testsuite/
* gcc.dg/vect/vect-simd-clone-1.c: Update GCN 'dg-warning's.
* gcc.dg/vect/vect-simd-clone-2.c: Likewise.
* gcc.dg/vect/vect-simd-clone-3.c: Likewise.
* gcc.dg/vect/vect-simd-clone-4.c: Likewise.
* gcc.dg/vect/vect-simd-clone-5.c: Likewise.
* gcc.dg/vect/vect-simd-clone-8.c: Likewise.

gcc/testsuite/gcc.dg/vect/vect-simd-clone-1.c
gcc/testsuite/gcc.dg/vect/vect-simd-clone-2.c
gcc/testsuite/gcc.dg/vect/vect-simd-clone-3.c
gcc/testsuite/gcc.dg/vect/vect-simd-clone-4.c
gcc/testsuite/gcc.dg/vect/vect-simd-clone-5.c
gcc/testsuite/gcc.dg/vect/vect-simd-clone-8.c

index ec6d2daaa29ddc182f1b704d88bb598cc0eb6ad8..6bd4af36710984c3496e4a611c1590b8d423a74e 100644 (file)
@@ -21,6 +21,8 @@ int array[N];
 #endif
 __attribute__((noinline)) int
 foo (int a, int b, int c)
+/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } .-1 } */
+/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } .-2 } */
 {
   if (a < 30)
     return 5;
@@ -62,6 +64,3 @@ main ()
       abort ();
   return 0;
 }
-
-/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } 18 } */
-/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } 18 } */
index 13fc93614b4d06f4b441c5ce6931cd1576a2abc7..e31280ad15d3cf478ea7e9871dd8b555092e37ad 100644 (file)
@@ -21,6 +21,8 @@ int array[N] __attribute__((aligned (32)));
 #endif
 __attribute__((noinline)) void
 foo (int *a, int b, int c)
+/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } .-1 } */
+/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } .-2 } */
 {
   a[b] = c;
 }
@@ -55,6 +57,3 @@ main ()
       abort ();
   return 0;
 }
-
-/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } 18 } */
-/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } 18 } */
index fef48c5066918a42fa80f1e14f9800e28ddb2c96..45f0fb6125f5860e271e4da857ee8b43cf3323e9 100644 (file)
@@ -13,6 +13,7 @@ int d[N], e[N];
 #pragma omp declare simd simdlen(4) notinbranch uniform(b) linear(c:3)
 __attribute__((noinline)) int
 foo (int a, int b, int c)
+/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } .-1 } */
 {
   if (a < 30)
     return 5;
@@ -43,5 +44,3 @@ main ()
       abort ();
   return 0;
 }
-
-/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } 15 } */
index 2f9f8306d672d94dbceba46beb8f1f740774ed33..320ac7e6c2e4373e616055bfc9fac07babbaf815 100644 (file)
@@ -19,6 +19,7 @@ unsigned short f[N];
 #endif
 __attribute__((noinline)) float
 foo (float a, float b, float c)
+/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } .-1 } */
 {
   if (a < 30)
     return 5.0f;
@@ -50,5 +51,3 @@ main ()
       abort ();
   return 0;
 }
-
-/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } 17 } */
index 0970818972057f4468250d82f6756baeb5578d8c..b927f6e76989b1294e24bdc4aa9176f8c15bf980 100644 (file)
@@ -17,6 +17,7 @@ int d[N], e[N];
 #endif
 __attribute__((noinline)) long long int
 foo (int a, int b, int c)
+/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } .-1 } */
 {
   return a + b + c;
 }
@@ -45,5 +46,3 @@ main ()
       abort ();
   return 0;
 }
-
-/* { dg-warning {unsupported simdlen 4 \(amdgcn\)} "" { target amdgcn*-*-* } 15 } */
index 29842825584fee5aeec81d43bac8574cf6c0e917..8d7448f7cb3934fd1ed09b3fe86ffcaadac1f34f 100644 (file)
@@ -19,6 +19,7 @@ unsigned char d[N];
 #endif
 __attribute__((noinline)) int
 foo (long int a, int b, int c)
+/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } .-1 } */
 {
   return a + b + c;
 }
@@ -30,6 +31,7 @@ foo (long int a, int b, int c)
 #endif
 __attribute__((noinline)) long int
 bar (int a, int b, long int c)
+/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } .-1 } */
 {
   return a + b + c;
 }
@@ -101,6 +103,3 @@ main ()
       abort ();
   return 0;
 }
-
-/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } 17 } */
-/* { dg-warning {unsupported simdlen 8 \(amdgcn\)} "" { target amdgcn*-*-* } 24 } */