summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/vec-extract-v16qi.c
blob: a28cb2f986a8c437295f605213d329defd1fcfa8 (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" } */

#define TYPE signed char
#define ELEMENTS 16
#define INITIAL \
  {  10,  -20,  30,  -40, 50, -60, 70, -80, \
     90, -100, 110, -120, 30, -40, 50, -60 }

#include "vec-extract.h"