Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/darn-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { powerpc*-*-aix* } } */
3 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
4 /* { dg-require-effective-target powerpc_vsx } */
5
6 #include <altivec.h>
7
8 long get_conditioned_random ()
9 {
10 return __builtin_darn ();
11 }
12
13 /* { dg-final { scan-assembler "darn" } } */