aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/vec-setup-long.c
blob: 5588e1586f3c07b1230552c2e05ee8d692eadc65 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do run { target { powerpc*-*-linux* } } } */
/* { dg-require-effective-target vsx_hw } */
/* { dg-options "-O2 -mvsx" } */

/* Test various ways of creating vectors with 2 double words and accessing the
   elements.  This test uses the long (on 64-bit systems) or long long datatype
   (on 32-bit systems).  The default endian order is used.  */

#include "vec-setup.h"