diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/vperm-v4sf-1.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/vperm-v4sf-1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/vperm-v4sf-1.c b/gcc/testsuite/gcc.target/i386/vperm-v4sf-1.c index b9fc9b172fe..23608b3cf0a 100644 --- a/gcc/testsuite/gcc.target/i386/vperm-v4sf-1.c +++ b/gcc/testsuite/gcc.target/i386/vperm-v4sf-1.c @@ -1,7 +1,9 @@ /* { dg-do run } */ /* { dg-options "-O -msse" } */ +/* { dg-require-effective-target sse } */ #include "isa-check.h" +#include "sse-os-support.h" typedef float S; typedef float V __attribute__((vector_size(16))); @@ -26,6 +28,11 @@ extern int memcmp (const void *, const void *, __SIZE_TYPE__); int main() { + check_isa (); + + if (!sse_os_support ()) + exit (0); + i[0].s[0] = 0; i[0].s[1] = 1; i[0].s[2] = 2; |