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