This patch removes two compiler warnings from the test:
vfp.c: In function 'handler':
vfp.c:260:4: warning: implicit declaration of function 'exit'
[-Wimplicit-function-declaration]
exit(0);
^
vfp.c:260:4: warning: incompatible implicit declaration of built-in
function 'exit'
vfp.c: At top level:
vfp.c:258:13: warning: 'handler' defined but not used [-Wunused-function]
static void handler(int sig)
^
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
+#include <stdlib.h>
unsigned int mem[] = {
0x4095A266, 0x66666666,
out); \
}
+#if (__mips==32) && (__mips_isa_rev>=2) && (__mips_fpr==64 || __mips_fpr==xx)
#define TEST_FPU64 \
__asm__ __volatile__( \
"cvt.l.s $f0, $f0" "\n\t" \
{
exit(0);
}
+#endif
void ppMem(double *m, int len)
{