aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/vec-setup-double.c
blob: 1f6d6fddc62d436e43f68a4514b791e3fa4545f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do run } */
/* { 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 double datatype and the default endian
   order.  */

#define DO_DOUBLE

#include "vec-setup.h"