aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/spe1.c
blob: 9ce56e08d547635186dc9bf659c30dd35b833bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile { target powerpc-*-eabi* } } */
/* { dg-options "-mcpu=8540 -mabi=spe -O0" } */

/* (Test with -O0 so we don't optimize any of them away).  */


typedef float __attribute__((vector_size(8))) __ev64_fs__;

static __ev64_opaque__ Foo (void);

void Bar ()
{
  __ev64_fs__ fs = Foo ();
}