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

#define DO_DOUBLE

#include "vec-setup.h"