diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-07 10:56:44 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-07 10:56:44 +0000 |
commit | 70ef6c2b0a7a7c6853a21cf9d93d2a4e3dd82b2e (patch) | |
tree | d18ce95c065410ab83e4cfbfc73cce11d87de268 /gcc/testsuite/gcc.target/i386/avx-check.h | |
parent | abe29e88b27c952e49172033158b00b533d6dcbc (diff) | |
download | gcc-70ef6c2b0a7a7c6853a21cf9d93d2a4e3dd82b2e.tar.gz |
2010-06-07 Kai Tietz <kai.tietz@onevision.com>
PR target/44159
* gcc.target/i386/abi-2.c: Check sysv abi here.
* gcc.target/i386/aes-avx-check.h: Call test in noinline
function to avoid failures by different ABIs.
* gcc.target/i386/aes-check.h: Likewise.
* gcc.target/i386/avx-check.h: Likewise.
* gcc.target/i386/fma4-check.h: Likewise.
* gcc.target/i386/mmx-3dnow-check.h: Likewise.
* gcc.target/i386/mmx-check.h: Likewise.
* gcc.target/i386/pclmul-avx-check.h: Likewise.
* gcc.target/i386/pclmul-check.h: Likewise.
* gcc.target/i386/sse-check.h: Likewise.
* gcc.target/i386/sse2-check.h: Likewise.
* gcc.target/i386/sse3-check.h: Likewise.
* gcc.target/i386/sse4_1-check.h: Likewise.
* gcc.target/i386/sse4_2-check.h: Likewise.
* gcc.target/i386/sse4a-check.h: Likewise.
* gcc.target/i386/ssse3-check.h: Likewise.
* gcc.target/i386/xop-check.h: Likewise.
* gcc.target/i386/pr27971.c: Fix for LLP64.
* gcc.target/i386/pr39139.c: Likewise.
* gcc.target/i386/pr39315-check.c: Likewise.
* gcc.target/i386/vararg-1.c: Likewise.
* gcc.target/i386/vararg-2.c: Likewise.
Additional add dg-compile to avoid failure due
missing foo symbol.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx-check.h')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx-check.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx-check.h b/gcc/testsuite/gcc.target/i386/avx-check.h index 8db55a10357..7736fc9f40b 100644 --- a/gcc/testsuite/gcc.target/i386/avx-check.h +++ b/gcc/testsuite/gcc.target/i386/avx-check.h @@ -4,6 +4,13 @@ static void avx_test (void); +static void +__attribute__ ((noinline)) +do_test (void) +{ + avx_test (); +} + int main () { @@ -15,7 +22,7 @@ main () /* Run AVX test only if host has AVX support. */ if (ecx & bit_AVX) { - avx_test (); + do_test (); #ifdef DEBUG printf ("PASSED\n"); #endif |