aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2012-06-27 16:45:55 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2012-06-27 16:45:55 +0200
commitb585a51fb9b8c310ec7877bd7f0a93626b1d822a (patch)
treee05ab8e6a74448de98137a02b01e51a0fdd968d3
parentc523fc894c10ae63f3031ef918284f83257aec5c (diff)
downloadgcc-b585a51fb9b8c310ec7877bd7f0a93626b1d822a.zip
gcc-b585a51fb9b8c310ec7877bd7f0a93626b1d822a.tar.gz
gcc-b585a51fb9b8c310ec7877bd7f0a93626b1d822a.tar.bz2
sse4_1-pmuldq.c (TEST): Initialize even src1.i and src2.i fields even in the second half of the arrays.
* 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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/i386/sse4_1-pmuldq.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b65c2df..0c85963 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-pmuldq.c b/gcc/testsuite/gcc.target/i386/sse4_1-pmuldq.c
index dda1ba3..fc3830a 100644
--- a/gcc/testsuite/gcc.target/i386/sse4_1-pmuldq.c
+++ b/gcc/testsuite/gcc.target/i386/sse4_1-pmuldq.c
@@ -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;