From 2561061945212a65885c3e5922e64ca620ab5c7b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 10 Aug 2011 15:38:18 +0000 Subject: [PATCH] Initialize src3 with random value. 2011-08-10 H.J. Lu * gcc.target/i386/sse4_1-blendps-2.c: Include . (sse4_1_test): Initialize src3 with random value. From-SVN: r177628 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/sse4_1-blendps-2.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b4b76d5a8a6..03c7c016edf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-08-10 H.J. Lu + + * gcc.target/i386/sse4_1-blendps-2.c: Include . + (sse4_1_test): Initialize src3 with random value. + 2011-08-10 Artjoms Sinkarovs * gcc.c-torture/execute/scal-to-vec1.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-blendps-2.c b/gcc/testsuite/gcc.target/i386/sse4_1-blendps-2.c index b66bbfd3b8c..af56e149acf 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-blendps-2.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-blendps-2.c @@ -6,6 +6,7 @@ #include #include +#include #define NUM 20 @@ -52,11 +53,15 @@ sse4_1_test (void) { __m128 x; float f[4]; + int i[4]; } src3; int i; init_blendps (src1.f, src2.f); + for (i = 0; i < 4; i++) + src3.i[i] = (int) random (); + /* Check blendps imm8, m128, xmm */ for (i = 0; i < NUM; i++) { -- 2.30.2