aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr104482.c
blob: 92191265e4c68bcebbd5b0234b56d6f37b87151b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-mvsx" } */

/* It's to verify no ICE here, ignore error messages about
   mismatch argument number since they are not test points
   here.  */
/* { dg-excess-errors "pr104482" } */

__attribute__ ((altivec (vector__))) int vsi;

double
testXXPERMDI (void)
{
  return __builtin_vsx_xxpermdi (vsi, vsi, 2, 4);
}