diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-23 00:30:12 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-23 00:30:12 +0000 |
| commit | 6e425a9de8c003b5a733621a6b6730ec3cc902b8 (patch) | |
| tree | 314123bcab78ff295f38f85f31dc141e5fe22d15 /libmath/FPcontrol-MacOSX.c | |
| parent | 74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a (diff) | |
20061220
Diffstat (limited to 'libmath/FPcontrol-MacOSX.c')
| -rw-r--r-- | libmath/FPcontrol-MacOSX.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/libmath/FPcontrol-MacOSX.c b/libmath/FPcontrol-MacOSX.c index e36a5e5b..9647ac18 100644 --- a/libmath/FPcontrol-MacOSX.c +++ b/libmath/FPcontrol-MacOSX.c @@ -2,21 +2,7 @@ #include "fpuctl.h" #include "mathi.h" -#include<stdio.h> - -void PPC_PrintFPSCR() -{ - ppc_fp_scr_t fpscr; - - fpscr = get_fp_scr(); - fprintf(stderr, "FPSCR = 0x%08x : 0x%08x\n", - ((unsigned int *)&fpscr)[0], - ((unsigned int *)&fpscr)[1]); - fprintf(stderr, "FPSCR[ve] = %d\n", fpscr.ve); - fprintf(stderr, "FPSCR[ze] = %d\n", fpscr.ze); - fprintf(stderr, "FPSCR[ue] = %d\n", fpscr.ue); - fprintf(stderr, "FPSCR[oe] = %d\n", fpscr.oe); -} +#include <stdio.h> void FPinit(void) |
