summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/vshuf-v16si.c
blob: eecb5468b3ba6eedbc66b2d445bf4ad21f42f45b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { 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_INT__ == 4
typedef unsigned int V __attribute__((vector_size(64)));
typedef V VI;
#elif __SIZEOF_LONG__ == 4
typedef unsigned long V __attribute__((vector_size(64)));
typedef V VI;
#else
# define UNSUPPORTED
#endif

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