[testsuite, committed] Fix effective target for ivdep tests

Richard Sandiford rdsandiford@googlemail.com
Thu Jan 30 18:19:00 GMT 2014


The ivdep tests use int arrays but required vect_float rather than vect_int.

Tested on mipsisa64-sde-elf, where it fixes some spurious failures for
-mips32r2/-mfp64, and on mips64-linux-gnu.  Applied as obvious.

There are still some other vect failures for mipsisa64-sde-elf but
I'll look at them separately.

Thanks,
Richard


gcc/testsuite/
	* g++.dg/vect/pr33426-ivdep.cc, g++.dg/vect/pr33426-ivdep-2.cc,
	g++.dg/vect/pr33426-ivdep-3.cc, g++.dg/vect/pr33426-ivdep-4.cc,
	gcc.dg/vect/vect-ivdep-1.c, gcc.dg/vect/vect-ivdep-2.c: Require
	vect_int rather than vect_float.

Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc
===================================================================
--- gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc	2014-01-18 09:57:07.291548764 +0000
+++ gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc	2014-01-29 21:58:47.202500320 +0000
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_int } */
 /* { dg-additional-options "-O3 -fopt-info-vec-optimized -fdump-tree-original -fdump-tree-gimple" } */
 
 /* PR other/33426 */
Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc
===================================================================
--- gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc	2014-01-18 09:57:07.311548919 +0000
+++ gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc	2014-01-29 21:59:06.329719568 +0000
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_int } */
 /* { dg-additional-options "-std=c++11 -O3 -fopt-info-vec-optimized -fdump-tree-original -fdump-tree-gimple" } */
 
 /* PR other/33426 */
Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc
===================================================================
--- gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc	2014-01-18 09:57:07.312548926 +0000
+++ gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc	2014-01-29 21:59:14.418815930 +0000
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_int } */
 /* { dg-additional-options "-std=c++11 -O3 -fopt-info-vec-optimized -fdump-tree-original -fdump-tree-gimple" } */
 
 /* PR other/33426 */
Index: gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc
===================================================================
--- gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc	2014-01-18 09:57:07.311548919 +0000
+++ gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc	2014-01-29 21:58:39.500415778 +0000
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_int } */
 /* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */
 
 /* PR other/33426 */
Index: gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c	2014-01-18 09:57:06.969546279 +0000
+++ gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c	2014-01-29 22:01:02.099343944 +0000
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_int } */
 /* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */
 
 /* PR other/33426 */
Index: gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c	2014-01-18 09:57:06.970546286 +0000
+++ gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c	2014-01-29 22:01:07.113422701 +0000
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_int } */
 /* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */
 
 /* PR other/33426 */



More information about the Gcc-patches mailing list