1 /* { dg-do compile } */
2 /* { dg-options "-O -mcpu=ultrasparc -mvis" } */
3 typedef unsigned char vec8
__attribute__((vector_size(8)));
4 typedef short vec16
__attribute__((vector_size(8)));
5 typedef int vec32
__attribute__((vector_size(8)));
7 extern vec8
foo1_8(void);
8 extern void foo2_8(vec8
);
16 /* Test the 32-bit splitter. */
23 extern vec16
foo1_16(void);
24 extern void foo2_16(vec16
);
33 /* Test the 32-bit splitter. */
34 vec16
fun16_2(vec16 a
)
40 extern vec32
foo1_32(void);
41 extern void foo2_32(vec32
);
49 /* Test the 32-bit splitter. */
50 vec32
fun32_2(vec32 a
)
56 /* { dg-final { scan-assembler-times "fnot1\t%" 3 } } */