aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/vshuf-v8sf.c
blob: d11aa0c950a822e62faada80d96c1fe75e22f1db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do run } */
/* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
/* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
/* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */

#if __SIZEOF_FLOAT__ == 4
typedef float V __attribute__((vector_size(32)));
# if __SIZEOF_INT__ == 4
typedef unsigned int VI __attribute__((vector_size(32)));
# elif __SIZEOF_LONG__ == 4
typedef unsigned long VI __attribute__((vector_size(32)));
# else
#  define UNSUPPORTED
# endif
#else
# define UNSUPPORTED
#endif

#include "vshuf-8.inc"
#include "vshuf-main.inc"