OSDN Git Service

* gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Remove.
authorirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jul 2010 06:48:32 +0000 (06:48 +0000)
committerirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jul 2010 06:48:32 +0000 (06:48 +0000)
* gcc.dg/vect/costmodel/ppc/costmodel-vect-76a.c: Increase loop bound.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Likewise.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c: Remove.
* gcc.dg/vect/pr35821-altivec.c, gcc.dg/vect/pr35821-spu.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161819 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c [deleted file]
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c [deleted file]
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76a.c
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c
gcc/testsuite/gcc.dg/vect/pr35821-altivec.c [deleted file]
gcc/testsuite/gcc.dg/vect/pr35821-spu.c [deleted file]

index e8b0959..86f3de9 100644 (file)
@@ -1,3 +1,11 @@
+2010-07-05  Ira Rosen  <irar@il.ibm.com>
+
+       * gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Remove.
+       * gcc.dg/vect/costmodel/ppc/costmodel-vect-76a.c: Increase loop bound.
+       * gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Likewise.
+       * gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c: Remove.
+       * gcc.dg/vect/pr35821-altivec.c, gcc.dg/vect/pr35821-spu.c: Likewise.
+
 2010-07-05  Shujing Zhao  <pearly.zhao@oracle.com>
 
        PR c++/22138
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c
deleted file mode 100644 (file)
index d9ea5d1..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/* { dg-require-effective-target vect_int } */
-
-#include <stdarg.h>
-#include "../../tree-vect.h"
-
-#define N 5 
-
-struct t{
-  int k[N];
-  int l; 
-};
-  
-struct s{
-  char a;      /* aligned */
-  char b[N-1];  /* unaligned (offset 1B) */
-  char c[N];    /* aligned (offset NB) */
-  struct t d;   /* aligned (offset 2NB) */
-  struct t e;   /* unaligned (offset 2N+4N+4 B) */
-};
-
-int main1 ()
-{  
-  int i;
-  struct s tmp;
-
-  /* unaligned */
-  for (i = 0; i < N; i++)
-    {
-      tmp.e.k[i] = 8;
-    }
-
-  /* check results:  */
-  for (i = 0; i < N; i++)
-    {
-      if (tmp.e.k[i] != 8)
-        abort ();
-    }
-
-  return 0;
-}
-
-int main (void)
-{ 
-  check_vect ();
-  
-  return main1 ();
-} 
-
-/* { dg-final { scan-tree-dump-times "vectorization not profitable" 1 "vect" } } */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */
-/* { dg-final { cleanup-tree-dump "vect" } } */
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c
deleted file mode 100644 (file)
index 7fc2594..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/* { dg-require-effective-target vect_int } */
-
-#include <stdarg.h>
-#include "../../tree-vect.h"
-
-#define N 11 
-
-struct s{
-  int m;
-  int n[N][N][N];
-};
-
-struct test1{
-  struct s a; /* array a.n is unaligned */
-  int b;
-  int c;
-  struct s e; /* array e.n is aligned */
-};
-
-int main1 ()
-{  
-  int i,j;
-  struct test1 tmp1;
-
-  /* 4. unaligned */
-  for (i = 3; i < N-3; i++)
-    {
-      tmp1.e.n[1][2][i] = 8;
-    }
-  /* check results:  */
-  for (i = 3; i <N-3; i++)
-    {
-      if (tmp1.e.n[1][2][i] != 8)
-        abort ();
-    }
-
-  return 0;
-}
-
-int main (void)
-{ 
-  check_vect ();
-  
-  return main1 ();
-} 
-
-/* { dg-final { scan-tree-dump-times "vectorization not profitable" 1 "vect" } } */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */
-/* { dg-final { cleanup-tree-dump "vect" } } */
index 41fe3ae..d11a9a2 100644 (file)
@@ -3,7 +3,7 @@
 #include <stdarg.h>
 #include "../../tree-vect.h"
 
-#define N 8
+#define N 16 
 #define OFF 4
 
 /* Check handling of accesses for which the "initial condition" -
index 8723d26..d716b61 100644 (file)
@@ -3,7 +3,7 @@
 #include <stdarg.h>
 #include "../../tree-vect.h"
 
-#define N 8
+#define N 16 
 #define OFF 4
 
 /* Check handling of accesses for which the "initial condition" -
diff --git a/gcc/testsuite/gcc.dg/vect/pr35821-altivec.c b/gcc/testsuite/gcc.dg/vect/pr35821-altivec.c
deleted file mode 100644 (file)
index 79fa926..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* { dg-do compile { target { powerpc_altivec_ok } } } */
-
-#include "altivec.h"
-
-void
-foo (float f_gain1, int n_tail, float * __restrict__ f_in_hptr,
-     float * __restrict__ f_out_hptr)
-{
-  int i;
-  vector float *v_f_in_hptr, *v_f_out_hptr;
-
-  f_in_hptr = ( float* )v_f_in_hptr;
-  f_out_hptr = ( float* )v_f_out_hptr;
-
-  for( i = 0 ; i < n_tail ; i++ ) {
-   f_out_hptr[0] = f_in_hptr[0] * f_gain1;
-   f_in_hptr++;
-   f_out_hptr++;
-  }
-}
-
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
-/* { dg-final { cleanup-tree-dump "vect" } } */
-
diff --git a/gcc/testsuite/gcc.dg/vect/pr35821-spu.c b/gcc/testsuite/gcc.dg/vect/pr35821-spu.c
deleted file mode 100644 (file)
index 4cc255f..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* { dg-do compile { target { spu-*-* } } } */
-
-void
-foo (float f_gain1, int n_tail, float * __restrict__ f_in_hptr,
-     float * __restrict__ f_out_hptr)
-{
-  int i;
-  __attribute__((__spu_vector__)) float *v_f_in_hptr, *v_f_out_hptr;
-
-  f_in_hptr = ( float* )v_f_in_hptr;
-  f_out_hptr = ( float* )v_f_out_hptr;
-
-  for( i = 0 ; i < n_tail ; i++ ) {
-   f_out_hptr[0] = f_in_hptr[0] * f_gain1;
-   f_in_hptr++;
-   f_out_hptr++;
-  }
-}
-
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
-/* { dg-final { cleanup-tree-dump "vect" } } */
-