Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / sparc / fands.c
blobf924f4531de5c2c3048d4cbafa9e04da9d4bebb3
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);
9 vec8 fun8(void)
11 return foo1_8 () & foo2_8 ();
14 extern vec16 foo1_16(void);
15 extern vec16 foo2_16(void);
17 vec16 fun16(void)
19 return foo1_16 () & foo1_16 ();
22 /* { dg-final { scan-assembler-times "fands\t%" 2 } } */