gcc/gcc/testsuite/gcc.dg/spe1.c

15 lines
303 B
C

/* { 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 ();
}