This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed, testsuite] Add call to check_vect to gcc.dg/vect/slp-perm-*.c tests.
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 4 Sep 2008 13:44:17 +0300
- Subject: [committed, testsuite] Add call to check_vect to gcc.dg/vect/slp-perm-*.c tests.
Hi,
This patch adds a forgotten call to check_vect to gcc.dg/vect/slp-perm-*.c
tests.
Checked on x86_64-linux.
Committed as obvious (revision 139982).
Ira
testsuite/ChangeLog:
* gcc.dg/vect/slp-perm-1.c: Add call to check_vect.
* gcc.dg/vect/slp-perm-2.c, gcc.dg/vect/slp-perm-3.c,
gcc.dg/vect/slp-perm-4.c, gcc.dg/vect/slp-perm-5.c,
gcc.dg/vect/slp-perm-6.c, gcc.dg/vect/slp-perm-7.c,
gcc.dg/vect/slp-perm-8.c, gcc.dg/vect/slp-perm-9.c: Likewise.
Index: testsuite/gcc.dg/vect/slp-perm-7.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-7.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-7.c (working copy)
@@ -50,6 +50,8 @@.
int input2[N], output2[N];
int check_results2[N] = {0, 405, 810, 1215, 1620, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0};
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i%256;
Index: testsuite/gcc.dg/vect/slp-perm-8.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-8.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-8.c (working copy)
@@ -27,6 +27,8 @@.
unsigned char input[N], output[N], i;
unsigned char check_results[N];
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i;;
Index: testsuite/gcc.dg/vect/slp-perm-1.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-1.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-1.c (working copy)
@@ -37,6 +37,8 @@.
unsigned int input[N], output[N], i;
unsigned int check_results[N] = {1470, 395, 28271, 5958, 1655, 111653,
10446, 2915, 195035, 14934, 4175, 278417, 19422, 5435, 361799, 0};
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i%256;
Index: testsuite/gcc.dg/vect/slp-perm-9.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-9.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-9.c (working copy)
@@ -27,6 +27,8 @@.
unsigned short input[N], output[N], i;
unsigned short check_results[N];
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i;;
Index: testsuite/gcc.dg/vect/slp-perm-2.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-2.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-2.c (working copy)
@@ -32,6 +32,8 @@.
unsigned int input[N], output[N], i;
unsigned int check_results[N] = {1322, 13, 4166, 471, 7010, 929, 9854,
1387, 12698, 1845, 15542, 2303, 18386, 2761, 21230, 3219};
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i%256;
Index: testsuite/gcc.dg/vect/slp-perm-3.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-3.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-3.c (working copy)
@@ -46,6 +46,8 @@.
unsigned int input[N], output[N], i;
unsigned int check_results[N] = {1872, 746, 28304, 4815, 8392, 2894,
139524, 18411, 14912, 5042, 250744, 32007, 21432, 7190, 361964, 45603};
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i%256;
Index: testsuite/gcc.dg/vect/slp-perm-4.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-4.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-4.c (working copy)
@@ -61,6 +61,8 @@.
unsigned int input[N], output[N], i;
unsigned int check_results[N] = {3208, 1334, 28764, 35679, 2789, 13028,
4754, 168364, 91254, 12399, 22848, 8174, 307964, 146829, 22009, 0};;
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i%256;
Index: testsuite/gcc.dg/vect/slp-perm-5.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-5.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-5.c (working copy)
@@ -51,6 +51,10 @@
int input2[N], output2[N];
int check_results2[N] = {4322, 135, 13776, 629, 23230, 1123, 32684,
1617, 42138, 2111, 0, 0, 0, 0, 0, 0};,
+ check_vect ();
+
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i%256;
Index: testsuite/gcc.dg/vect/slp-perm-6.c
===================================================================
--- testsuite/gcc.dg/vect/slp-perm-6.c (revision 139981)
+++ testsuite/gcc.dg/vect/slp-perm-6.c (working copy)
@@ -52,6 +52,8 @@.
int input2[N], output2[N];
int check_results2[N] = {0, 112, 810, 336, 1620, 560, 2430, 784, 3240,
1008, 0, 0, 0, 0, 0, 0};
+ check_vect ();
+
for (i = 0; i < N; i++)
{
input[i] = i%256;
Index: testsuite/ChangeLog
===================================================================
--- testsuite/ChangeLog (revision 139981)
+++ testsuite/ChangeLog (working copy)
@@ -1,3 +1,11 @@
+2008-09-03 Ira Rosen <irar@il.ibm.com>
+
+ * gcc.dg/vect/slp-perm-1.c: Add call to check_vect.
+ * gcc.dg/vect/slp-perm-2.c, gcc.dg/vect/slp-perm-3.c,
+ gcc.dg/vect/slp-perm-4.c, gcc.dg/vect/slp-perm-5.c,
+ gcc.dg/vect/slp-perm-6.c, gcc.dg/vect/slp-perm-7.c,
+ gcc.dg/vect/slp-perm-8.c, gcc.dg/vect/slp-perm-9.c: Likewise.
+
2008-09-03 Jan Hubicka <jh@suse.cz>
PR tree-optimization/37345.