From: qrczak Date: Fri, 18 May 2001 22:40:52 +0000 (+0000) Subject: [project @ 2001-05-18 22:40:52 by qrczak] X-Git-Tag: Approximately_9120_patches~1926 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a1da558601d2385d43c3a1b1d756a955b9cc59f8;p=ghc-hetmet.git [project @ 2001-05-18 22:40:52 by qrczak] I'm too young to remember times when ghc didn't use gmp... --- diff --git a/ghc/InstallShield/File Groups/Program Executable Files.fgl b/ghc/InstallShield/File Groups/Program Executable Files.fgl index 61f1ba1..8a380a8 100644 --- a/ghc/InstallShield/File Groups/Program Executable Files.fgl +++ b/ghc/InstallShield/File Groups/Program Executable Files.fgl @@ -353,19 +353,18 @@ file21=C:\TEMP\fptools\ghc\includes\Regs.h file22=C:\TEMP\fptools\ghc\includes\Rts.h file23=C:\TEMP\fptools\ghc\includes\RtsAPI.h file24=C:\TEMP\fptools\ghc\includes\RtsTypes.h -file25=C:\TEMP\fptools\ghc\includes\sainteger.h -file26=C:\TEMP\fptools\ghc\includes\SchedAPI.h -file27=C:\TEMP\fptools\ghc\includes\SMP.h -file28=C:\TEMP\fptools\ghc\includes\Stable.h -file29=C:\TEMP\fptools\ghc\includes\Stg.h -file30=C:\TEMP\fptools\ghc\includes\StgDLL.h -file31=C:\TEMP\fptools\ghc\includes\StgMacros.h -file32=C:\TEMP\fptools\ghc\includes\StgMiscClosures.h -file33=C:\TEMP\fptools\ghc\includes\StgProf.h -file34=C:\TEMP\fptools\ghc\includes\Assembler.h -file35=C:\TEMP\fptools\ghc\includes\StgTicky.h -file36=C:\TEMP\fptools\ghc\includes\StgTypes.h -file37=C:\TEMP\fptools\ghc\includes\TailCalls.h -file38=C:\TEMP\fptools\ghc\includes\TSO.h -file39=C:\TEMP\fptools\ghc\includes\Updates.h +file25=C:\TEMP\fptools\ghc\includes\SchedAPI.h +file26=C:\TEMP\fptools\ghc\includes\SMP.h +file27=C:\TEMP\fptools\ghc\includes\Stable.h +file28=C:\TEMP\fptools\ghc\includes\Stg.h +file39=C:\TEMP\fptools\ghc\includes\StgDLL.h +file30=C:\TEMP\fptools\ghc\includes\StgMacros.h +file31=C:\TEMP\fptools\ghc\includes\StgMiscClosures.h +file32=C:\TEMP\fptools\ghc\includes\StgProf.h +file33=C:\TEMP\fptools\ghc\includes\Assembler.h +file34=C:\TEMP\fptools\ghc\includes\StgTicky.h +file35=C:\TEMP\fptools\ghc\includes\StgTypes.h +file36=C:\TEMP\fptools\ghc\includes\TailCalls.h +file37=C:\TEMP\fptools\ghc\includes\TSO.h +file38=C:\TEMP\fptools\ghc\includes\Updates.h diff --git a/ghc/includes/sainteger.h b/ghc/includes/sainteger.h deleted file mode 100644 index 3086a5a..0000000 --- a/ghc/includes/sainteger.h +++ /dev/null @@ -1,47 +0,0 @@ - -#define B_BASE 256 -#define B_BASE_FLT (256.0) - -/* this really ought to be abstract */ -typedef - struct { - int sign; - int size; - int used; - unsigned char stuff[0]; - } - B; - -/* the ops themselves */ -int do_getsign ( B* x ); -int do_cmp ( B* x, B* y ); -void do_add ( B* x, B* y, int sizeRes, B* res ); -void do_sub ( B* x, B* y, int sizeRes, B* res ); -void do_mul ( B* x, B* y, int sizeRes, B* res ); -void do_qrm ( B* x, B* y, int sizeRes, B* qres, B* rres ); -void do_neg ( B* x, int sizeRes, B* res ); - -void do_renormalise ( B* x ); -int is_sane ( B* x ); - -void do_fromInt ( int n, int sizeRes, B* res ); -void do_fromWord ( unsigned int n, int sizeRes, B* res ); -void do_fromStr ( char* str, int sizeRes, B* res ); - -int do_toInt ( B* x ); -unsigned int do_toWord ( B* x ); -float do_toFloat ( B* x ); -double do_toDouble ( B* x ); - -/* the number of bytes needed to hold result of an op */ -int size_add ( B* x, B* y ); -int size_sub ( B* x, B* y ); -int size_mul ( B* x, B* y ); -int size_qrm ( B* x, B* y ); -int size_neg ( B* x ); -int size_fromInt ( void ); -int size_fromWord ( void ); -int size_fromStr ( char* str ); -int size_dblmantissa ( void ); -int size_fltmantissa ( void ); -