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

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