Debian Codegraph @

gcc/testsuite/gcc.target/sparc/pdistn.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mcpu=ultrasparc -mvis3" } */
3
4 typedef unsigned char vec8 __attribute__((vector_size(8)));
5
6 long foo (vec8 a, vec8 b) {
7 return __builtin_vis_pdistn (a, b);
8 }
9
10 /* { dg-final { scan-assembler-times "pdistn\t%" 1 } } */