This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, testsuite] Patch for PR middle-end/39579, xfail IA64
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: irar at il dot ibm dot com, janis187 at us dot ibm dot com, rguenther at suse dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Apr 2009 13:40:08 -0700 (PDT)
- Subject: [patch, testsuite] Patch for PR middle-end/39579, xfail IA64
- Reply-to: sje at cup dot hp dot com
This patch XFAIL's two tests for IA64. They both fail to vectorize a
loop on IA64 due to missing instructiosn, vect-35.c because it is
missing a vectorized conversion and fast-math-pr38968.f90 because it is
missing a REALPART_EXPR instruction.
> vect-35.c:18: note: not vectorized: relevant stmt not supported: D.2145_5 = (unsigned char) i_26;
> fast-math-pr38968.f90:12: note: not vectorized: relevant stmt not supported: D.752_18 = REALPART_EXPR <c[D.726_12]>;
I could create special procs to check for this functionality (like
vect_uintfloat_cvt or vect_extract_even_odd or the other vect tests we
already have) but unless another platform needs the same test it seems
easier to just check the platform.
Tested on IA64 HP-UX and Linux.
OK to checkin?
Steve Ellcey
sje@cup.hp.com
2009-04-30 Steve Ellcey <sje@cup.hp.com>
PR middle-end/39579
* gcc.dg/vect/vect-35.c: XFAIL for IA64.
* gfortran.dg/vect/fast-math-pr38968.f90: Ditto.
Index: gcc.dg/vect/vect-35.c
===================================================================
--- gcc.dg/vect/vect-35.c (revision 146995)
+++ gcc.dg/vect/vect-35.c (working copy)
@@ -45,6 +45,6 @@ int main (void)
}
-/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail ia64-*-* } } } */
/* { dg-final { scan-tree-dump-times "can't determine dependence between" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
Index: gfortran.dg/vect/fast-math-pr38968.f90
===================================================================
--- gfortran.dg/vect/fast-math-pr38968.f90 (revision 146995)
+++ gfortran.dg/vect/fast-math-pr38968.f90 (working copy)
@@ -17,5 +17,5 @@ program mymatmul
end program mymatmul
-! { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } }
+! { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { xfail ia64-*-* } } }
! { dg-final { cleanup-tree-dump "vect" } }