home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / blabla / e_020 / e_020.readme next >
Text File  |  1998-01-24  |  2KB  |  60 lines

  1.  
  2.                   E_020 - simple module for Amiga E 3.2
  3.                          by Tomash/Art-B & Blabla
  4.                           Public Domain 01.01.97
  5.  
  6.     Installation:
  7.  
  8.     Copy  '020.m' and '020_Procedures' to your 'EModules:Tools' directory.
  9. At the begenning of your program add:
  10.  
  11. MODULE 'tools/020'
  12.  
  13.     Description:
  14.  
  15.     E_020  is a very simple module, which gives you some speed increase on
  16. MC68020+  processors.  It  is only experimental version which has just two
  17. instructions: mul() and div().
  18.  
  19. c:=mul(a,b)
  20.  
  21. Same as 32 bit Mul() in E.
  22.  
  23. c:=div(a,b)
  24.  
  25. Same as 32 bit Div() in E.
  26.  
  27.     Please  note,  that 32 bit instructions are much slower then normal 16
  28. bit  operators (* and /). If you operate on 16 bit values, please use this
  29. operators.
  30.  
  31.     How   fast   are   this  instructions  in  comparison  with  normal  E
  32. instructions? This is some test's results:
  33.  
  34. Mul() -> 49 seconds
  35. mul() -> 38 seconds
  36. Div() -> 59 seconds
  37. div() -> 47 seconds
  38.  
  39.     As  you  can  see, speed increase is about 20%. Note that this results
  40. may  be  other for other numbers etc. Test was made on A1200 with Blizzard
  41. III  turbo  card (50Mhz) with ICACHE, DCACHE ON and IBURST and DBURST OFF.
  42. You must check the speed increasment on your machine by yourself.
  43.  
  44.     Notes:
  45.  
  46.     Please  use  OPT  020  keyword at the start of your program. Note that
  47. it's  a silly version of 020 and is not really useful yet. Please be ready
  48. for new versions with many faster routines for 020+.
  49.  
  50.     Contact:
  51.  
  52.     If  you  made  some  optimised  procedures  in assembler, which can be
  53. useful  with  AmiE  please  send me  it  now!  Since  E  has  no  built-in
  54. optimisation it can be really useful. E-mail:
  55.  
  56.     thufor@zeus.polsl.gliwice.pl
  57.  
  58.     (subject: Tomash)
  59.  
  60.