sse4_1-pmuldq.c (TEST): Initialize even src1.i and src2.i fields even in the second...
authorJakub Jelinek <jakub@redhat.com>
Wed, 27 Jun 2012 14:45:55 +0000 (16:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 27 Jun 2012 14:45:55 +0000 (16:45 +0200)
* gcc.target/i386/sse4_1-pmuldq.c (TEST): Initialize
even src1.i and src2.i fields even in the second half of the arrays.

From-SVN: r189018

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/sse4_1-pmuldq.c

index b65c2df..0c85963 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.target/i386/sse4_1-pmuldq.c (TEST): Initialize
+       even src1.i and src2.i fields even in the second half of the arrays.
+
 2012-06-27  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
 
        PR c++/51033.
index dda1ba3..fc3830a 100644 (file)
@@ -32,7 +32,7 @@ TEST (void)
   int i, sign = 1;
   long long value;
 
-  for (i = 0; i < NUM; i += 2)
+  for (i = 0; i < NUM * 2; i += 2)
     {
       src1.i[i] = i * i * sign;
       src2.i[i] = (i + 20) * sign;