home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5033 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Free cycles after a FAST-write?
  5. Date: 8 Mar 1996 08:33:45 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <666.6640T1273T725@ifi.uio.no>
  8. References: <38232831@kone.fipnet.fi>
  9. NNTP-Posting-Host: gymir.ifi.uio.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. >I noticed a funny phenomena; I got 4 (four) free one-cycle
  13. >register instruction after a FAST-ram write on my
  14. >Warp Engine, 68040/40, SetPatch executed.
  15.  
  16. >The loop:
  17. >        REPT    32
  18. >        move.l  d0,(a0)+        ;a0 points to FAST
  19. >        move.l  d1,d1
  20. >        move.l  d1,d1
  21. >        move.l  d1,d1
  22. >        move.l  d1,d1
  23. >        ENDR
  24.  
  25. I tested that a long time ago, but after I remeber I only got 2 free
  26. instuctons on my 030/50mhz.
  27.  
  28. Anyway, its something one should be aware of when optimising.
  29.  
  30. Its not a funny phenomena but completly normal on fast cpu's.
  31.  
  32.  
  33. <sb>Ludde - Amiga Demo Coder
  34. <sb>Virtual Reality & Official Be developer
  35. <sb>ludvigp@ifi.uio.no
  36.  
  37.