blob: 1a9ad13f38cde7dc0fd71a793b14fc8e5d16ec1c [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
static void bmi_test (void);
static void
__attribute__ ((noinline))
do_test (void)
{
bmi_test ();
}
int
main ()
{
#ifdef __BUILTIN_CPU_SUPPORTS__
/* Need 64-bit for 64-bit longs as single instruction. */
if ( __builtin_cpu_supports ("ppc64") )
{
do_test ();
#ifdef DEBUG
printf ("PASSED\n");
#endif
}
#ifdef DEBUG
else
printf ("SKIPPED\n");
#endif
#endif /* __BUILTIN_CPU_SUPPORTS__ */
return 0;
}