home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / chip_20022115.iso / amiga / chiputil / ramithlon.rea < prev    next >
Text File  |  2002-01-07  |  2KB  |  93 lines

  1. Short:    Amithlon x86 Native Copy Routines (K7/P3)
  2. Author:   RaMstah@optushome.com.au (RaM)
  3. Uploader: RaMstah@optushome.com.au (RaM)
  4. Version:  1.1
  5. Type:     misc/emu
  6.  
  7.  
  8.    ================================================
  9.    *** Amithlon x86 Native Memory Copy Routines ***
  10.    ***              (c) 2002 RaM                ***
  11.    ================================================
  12.  
  13.  
  14. USAGE:
  15.  
  16.     Just run from CLI, ensure 16k stack min.
  17.  
  18.     QUIET    -    no output
  19.     MMX    -    Dont use K7/Athlon Extensions
  20.     STD    -    Dont use K7 or 3D Now!
  21.  
  22.  
  23.     FOR PIII CPU:    Use only STD, others will crash
  24.  
  25.     FOR K7:        Use as is (no args full opt)
  26.     
  27.     FOR Others:    K6 try MMX, others try STD
  28.  
  29.  
  30.  
  31. Comparisons made using custom tool MemTest with
  32. multitasking disabled and a minimal boot.
  33.  
  34. No      -    No patch applied, just std calls,
  35.         interesting to note how the JIT
  36.         really comes into play.
  37.  
  38. CMQ060      -    CopyMemQuicker 060 from Aminet.
  39.         Originally Busse(?), this version
  40.         was 1.5b from Sintonen.
  41.  
  42. Fastx86      -    FastCopy (FastCopy.elf / FastCopy_x86)
  43.         as supplied in the extras/ drawer
  44.         on the Amithlon CD
  45.  
  46. RaMithlon -     My own x86 Athlon optimized patch.
  47.  
  48.  
  49.  
  50.  
  51.  
  52. .------------------------------------------------------.
  53.                     CopyMem()         CopyMemQuick()
  54.                   (system ticks)      (system ticks)
  55. .------------------------------------------------------.
  56. | Copy | # of  | No CMQ Fast RaMi  | No CMQ Fast RaMi  |
  57. | Size | Iters |    060  x86 thlon |    060  x86 thlon |
  58. `------------------------------------------------------'
  59.  
  60.     4Kb 1000000  121 109  78  62     118 104 132  60
  61.    16Kb 250000   109  60  56  53     107  60 129  53
  62.    64Kb 22500    60   98  77  51     61   98 72   50
  63.   256Kb 1125     60   58  57  55     61   58 57   55
  64.  1024Kb 350      56   53  53  51     56   53 54   51
  65.  
  66. `------------------------------------------------------'
  67.  
  68.  
  69.  
  70. NOTE NOTE -> Dont run before you have initialized a
  71. Picasso screen (i.e. AFTER iprefs in startup) as the
  72. x86 ASM code is making the native screen hack go funny
  73. while a copy is in progress. Probably doesn't like
  74. fastcalling the x86 at that stage.
  75.  
  76. RaMithlon.elf must be residing in some dir as the
  77. RaMithlon Amiga executable.
  78.  
  79.  
  80.  
  81. HISTORY
  82. -------
  83.  
  84. 1.1    FIXED PIII problems - 3D Now! op in both routines
  85.     please for P3 use STD routine - Thanks to kolla for
  86.     helping bite this bug.
  87.  
  88.     assert_stack() on startup - we must have min 16k
  89.  
  90.     Added MemTest binary for testing speed.
  91.     
  92. 1.0    initial release
  93.