Patchwork PATCH: Add more 256bit AVX testcases

login
register
mail settings
Submitter H.J. Lu
Date Oct. 14, 2010, 8:35 a.m.
Message ID <20101014083501.GA9974@intel.com>
Download mbox | patch
Permalink /patch/67790/
State New
Headers show

Comments

H.J. Lu - Oct. 14, 2010, 8:35 a.m.
On Wed, Oct 13, 2010 at 07:44:00PM -0700, H.J. Lu wrote:
> Hi,
> 
> I checked in this patch to add more 256bit AVX testcases.
> 
> H.J.
> ---
> 2010-10-13  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	* gcc.target/i386/recip-vec-sqrtf-avx.c: New.
> 	* gcc.target/i386/recip-vec-divf-avx.c: Likewise.
> 	* gcc.target/i386/vectorize4-avx.c: Likewise.
> 

Hi,

Trunk failed to vectorize gcc.target/i386/vectorize4-avx.c with
256bit vector instruction. I checked in this patch to check and xfail it.


H.J.
---

Patch

Index: gcc.target/i386/vectorize4-avx.c
===================================================================
--- gcc.target/i386/vectorize4-avx.c	(revision 165455)
+++ gcc.target/i386/vectorize4-avx.c	(working copy)
@@ -11,4 +11,4 @@  calc_freq (int *dest)
     dest[i] = sqrt (tmp_out[i]);
 }
 
-/* { dg-final { scan-assembler "vsqrtpd" } } */
+/* { dg-final { scan-assembler "vsqrtpd\[ \\t\]+\[^\n\]*%ymm" { xfail *-*-* } } } */
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 165456)
+++ ChangeLog	(working copy)
@@ -1,5 +1,11 @@ 
 2010-10-14  H.J. Lu  <hongjiu.lu@intel.com>
 
+	PR middle-end/46011
+	* gcc.target/i386/vectorize4-avx.c: Scan 256bit AVX register
+	and xfail.
+
+2010-10-14  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* gcc.target/i386/recip-vec-sqrtf-avx.c: Scan 256bit AVX
 	register.
 	* gcc.target/i386/recip-vec-divf-avx.c: Likewise.