| Index: gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
|
| diff --git a/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c b/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
|
| index 96c1111fddcdb5f79d8ea7e3721af2f332a3e0b0..8457e5aedc35a755626f5a3503b70df0f6710386 100644
|
| --- a/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
|
| +++ b/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
|
| @@ -1,11 +1,11 @@
|
| /* { dg-skip-if "test SSE2 support" { ! { i?86-*-* x86_64-*-* } } } */
|
| +/* { dg-require-effective-target sse2 } */
|
| +/* { dg-require-effective-target sse2_runtime } */
|
|
|
| /* Test compatibility of vector types: layout between separately-compiled
|
| modules, parameter passing, and function return. This test uses
|
| vectors of floating points values. */
|
|
|
| -#include "cpuid.h"
|
| -
|
| extern void vector_2_x (void);
|
| extern void exit (int);
|
| int fails;
|
| @@ -13,14 +13,6 @@ int fails;
|
| int
|
| main ()
|
| {
|
| - unsigned int eax, ebx, ecx, edx;
|
| -
|
| - if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
|
| - return 0;
|
| -
|
| - /* Run SSE vector test only if host has SSE2 support. */
|
| - if (edx & bit_SSE2)
|
| - vector_2_x ();
|
| -
|
| + vector_2_x ();
|
| exit (0);
|
| }
|
|
|