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

Submitted by Richard Guenther on April 8, 2013, 8:34 a.m.

Details

Message ID alpine.LNX.2.00.1304081032140.21094@zhemvz.fhfr.qr
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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 {