blob: 93c38667bcc53a0a4d15f15010959bfea92895b9 [file] [log] [blame]
/* Common code for most VMX test cases. To use, include this file,
then write a routine named test() that performs a series of calls
to check(). */
#include <stdlib.h>
#include <stdio.h>
#include <altivec.h>
static int failed;
static void test (void);
static void
check (int result, const char *name)
if (!result)
printf ("fail %s\n", name);
main (void)
test ();
if (failed)
abort ();
return 0;