------- Comment #1 from irar at il dot ibm dot com  2009-05-26 08:58 -------
(In reply to comment #0)
> On Linux/ia64, revision 147829:
> http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00806.html
> caused:
> FAIL: Matrix4f -O3 compilation from source

Could you please provide some information, it doesn't fail on x86_64...

> FAIL: gcc.dg/vect/bb-slp-10.c scan-tree-dump-times slp "unsupported alignment
> in basic block." 1
> FAIL: gcc.dg/vect/bb-slp-4.c scan-tree-dump-times slp "basic block vectorized
> using SLP" 0

I think they can be fixed as following. Could you please check?

Index: testsuite/gcc.dg/vect/bb-slp-4.c
===================================================================
--- testsuite/gcc.dg/vect/bb-slp-4.c    (revision 147862)
+++ testsuite/gcc.dg/vect/bb-slp-4.c    (working copy)
@@ -18,14 +18,10 @@ main1 ()

   *pout++ = *pin++;
   *pout++ = *pin++;
-  *pout++ = *pin++;
-  *pout++ = *pin++;

   /* Check results.  */
   if (out[0] != in[0]
-      || out[1] != in[1]
-      || out[2] != in[2]
-      || out[3] != in[3])
+      || out[1] != in[1])
     abort();

   return 0;
Index: testsuite/gcc.dg/vect/bb-slp-10.c
===================================================================
--- testsuite/gcc.dg/vect/bb-slp-10.c   (revision 147862)
+++ testsuite/gcc.dg/vect/bb-slp-10.c   (working copy)
@@ -14,7 +14,7 @@ main1 (unsigned int x, unsigned int y)
 {
   int i;
   unsigned int *pin = &in[0];
-  unsigned int *pout = &out[2];
+  unsigned int *pout = &out[1];
   unsigned int a0, a1, a2, a3;

   /* Misaligned store.  */
@@ -29,10 +29,10 @@ main1 (unsigned int x, unsigned int y)
   *pout++ = a3 * y;

   /* Check results.  */
-  if (out[2] != (in[0] + 23) * x
-      || out[3] != (in[1] + 142) * y
-      || out[4] != (in[2] + 2) * x
-      || out[5] != (in[3] + 31) * y)
+  if (out[1] != (in[0] + 23) * x
+      || out[2] != (in[1] + 142) * y
+      || out[3] != (in[2] + 2) * x
+      || out[4] != (in[3] + 31) * y)
     abort();

   return 0;

Thanks,
Ira


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40244

Reply via email to