diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-16 11:04:43 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-16 11:04:43 +0000 |
commit | bd9f94da25369572a53625c18684e528a0e79e90 (patch) | |
tree | dcd8140c786fa617a23bf201b0dfad1d3eaad533 /gcc/testsuite/gcc.target/i386/20060512-3.c | |
parent | cdc701cb50e5339c6a1a9eedcc3aaabed06bf571 (diff) | |
download | gcc-bd9f94da25369572a53625c18684e528a0e79e90.tar.gz |
* gcc.target/i386/fastcall-sseregparm.c: Include sse-check.h.
(main): Change to void and rename to sse_test.
* gcc.target/i386/pr24306.c: Ditto.
* gcc.target/i386/pr32065-2.c: Ditto.
* gcc.target/i386/20060512-1.c: Include sse2-check.h.
(main): Change to void and rename to sse2_test.
* gcc.target/i386/20060512-3.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132365 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/20060512-3.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/20060512-3.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/20060512-3.c b/gcc/testsuite/gcc.target/i386/20060512-3.c index d0fd45bce0c..5ffa8129e38 100644 --- a/gcc/testsuite/gcc.target/i386/20060512-3.c +++ b/gcc/testsuite/gcc.target/i386/20060512-3.c @@ -1,7 +1,11 @@ /* { dg-do run } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-std=gnu99 -msse2 -mstackrealign" } */ + +#include "sse2-check.h" + #include <emmintrin.h> + __m128i __attribute__ ((__noinline__)) vector_using_function () { @@ -17,8 +21,9 @@ self_aligning_function (int x, int y) } int g_1 = 20; int g_2 = 22; -int -main () + +static void +sse2_test (void) { int result; asm ("pushl %esi"); /* Disalign runtime stack. */ |