(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
darn-0.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target powerpc_p9vector_ok } */
       3  /* { dg-skip-if "" { powerpc*-*-aix* } } */
       4  /* { dg-options "-mdejagnu-cpu=power9" } */
       5  
       6  /* This test should succeed on both 32- and 64-bit configurations.  */
       7  #include <altivec.h>
       8  
       9  int get_random ()
      10  {
      11    return __builtin_darn_32 ();
      12  }
      13  
      14  /* { dg-final { scan-assembler	   "darn" } } */