home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Patches / ffppatch.lha / ffppatch.readme < prev    next >
Text File  |  1998-04-21  |  3KB  |  93 lines

  1. Short:      mathffp.library FPU speedup patch 1.7b
  2. Author:   Jess Sosnoski (at the below address!!!)
  3. Uploader: starblaz@ptdprolog.net
  4. Type:      util/boot
  5. Version:  1.9beta
  6. Requires: kick 2.04+, an 020+, and a 68881/2 FPU.
  7. Long:
  8.  
  9. FFPpatch 1.9beta ⌐ 1997-1998 Jess Sosnoski
  10.  
  11. DESCRIPTION:
  12. -----------
  13. This is a program that patches some functions of the mathffp.library
  14. to use 68881/2 instructions, thus squeezing out a bit more speed.
  15. (I hope!)
  16.  
  17. This is also the first speedup patch I ever attempted to write! :)
  18.  
  19. Works on an '040 or '060 too!
  20. (does not use any FPU trig functions)
  21.  
  22.  
  23. HISTORY:
  24. -------
  25. 1.0    First Release
  26.  
  27. 1.1    Now closes mathffp.library when mathtrans.lib v40 can't be opened
  28.     Optimized spmul, spdiv, spabs, spneg, spflt, spfloor and squeezed
  29.     a couple more clock cycles out.
  30.     (spadd and spsub optimized too, but disabled cuz they were
  31.      slower for some reason :( )
  32.     Removed SPFix patch...it was slower :(
  33.  
  34. 1.2    Due to my rewriting of ffptest (included), I was able to more
  35.     accurately test speed of calls to mathffp.library.
  36.     I found out everything went faster in the first place :)
  37.     Re-enabled everything.
  38.  
  39. 1.3    Contacted Martin Berndt, author of fmath40x.lha, and asked
  40.     about the Fieee and Tieee functions....so, he emailed me the
  41.     source...and I removed the mathtrans.library requirement and
  42.     put the functions directly into the patch program, making it
  43.     faster :)
  44.  
  45. 1.4    Longword aligned all patches.
  46.     Changed spabs, spneg and spflt functions to not use fpu...
  47.     they didn't have to do all that work, and were probably horribly
  48.      slower before.
  49.     (worst case..they're probably the same speed as the stock library now
  50.      ..but, one of them can likely be inlined directly into the
  51.        jumptable in some future version to save a clock cycle or two)
  52.     Changed the SPFieee function to a faster one.
  53.     Changed the SPFix function to something more like the original.
  54.  
  55. 1.5    Inlined the SPFieee function whereever possible shaving off more
  56.     clock cycles.
  57.     Included Dave Jones' optimized SPTst and SPCmp functions!
  58.     32-bit aligned everything for better 040 performance.
  59.  
  60. 1.6    Added checks for 040+ processors...disables SPFloor and SPCeil
  61.     patches, which use instructions not available on 040+'s,
  62.     Optimized SpCeil, Fieee, SPCmp/Tst, SPFix.
  63.     Fixed some patching bugs.
  64.     Sourcecode cleaned up a lot.
  65. 1.7    bad results.  (That'll teach me to preserve the CCR!)
  66.  
  67. 1.8    Inlined SPTieee function, shaving off a couple more clock cycles.
  68.  
  69. 1.9    Now checks for my mathffp.library v43 replacement, and doesn't patch
  70.     if installed.
  71.     Fixed a bug in SPCmp that was causing problems with picticon not
  72.     scaling images.
  73.     Speeded up SPFix.
  74.  
  75. AUTHOR:
  76. ------
  77. Jess Sosnoski
  78. 651 Hillside Drive
  79. Mount Carmel, PA 17851-2463
  80. USA
  81.  
  82. starblaz@ptdprolog.net
  83.  
  84. Updates will appear on my webpage before they appear in Aminet's RECENT file.
  85. http://home.ptd.net/~starblaz
  86.  
  87. IRC nick: starblazr
  88. On: galaxynet (amiga channels), dalnet (#nin ,#am-irc)
  89. pulsarnet (#elitecafe)
  90.  
  91. Emails, gifts, money, food, cigarettes, Amiga4060T's will all be
  92. gladly accepted.
  93.