Patchwork Adjust g++.dg/vect/slp-pr56812.cc

login
register
mail settings
Submitter Richard Guenther
Date April 8, 2013, 8:34 a.m.
Message ID <alpine.LNX.2.00.1304081032140.21094@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/234600/
State New
Headers show

Comments

Richard Guenther - April 8, 2013, 8:34 a.m.
This adjusts g++.dg/vect/slp-pr56812.cc for targets that cannot
handle HW misaligned vector loads.

Tested on x86_64-unknown-linux-gnu, confirmed by Andreas that it
helps ia64 / powerpc.

Richard.

2013-04-08  Richard Biener  <rguenther@suse.de>

	* g++.dg/vect/slp-pr56812.cc: Adjust.

Patch

Index: gcc/testsuite/g++.dg/vect/slp-pr56812.cc
===================================================================
--- gcc/testsuite/g++.dg/vect/slp-pr56812.cc	(revision 197480)
+++ gcc/testsuite/g++.dg/vect/slp-pr56812.cc	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_hw_misalign } */
 /* { dg-additional-options "-O3 -funroll-loops -fvect-cost-model" } */
 
 class mydata {