1 /* { dg-do compile } */
2 /* { dg-options "-mcpu=ultrasparc -mvis" } */
3 typedef char vec8
__attribute__((vector_size(4)));
4 typedef short vec16
__attribute__((vector_size(4)));
6 extern vec8
foo1_8(void);
7 extern vec8
foo2_8(void);
11 return foo1_8 () & foo2_8 ();
14 extern vec16
foo1_16(void);
15 extern vec16
foo2_16(void);
19 return foo1_16 () & foo1_16 ();
22 /* { dg-final { scan-assembler-times "fands\t%" 2 } } */