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

  1. Path: hydra.zrz.TU-Berlin.DE!rawneiha
  2. From: rawneiha@hydra.zrz.TU-Berlin.DE (Philipp Boerker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Texturemapping speedup
  5. Date: 4 Jan 1996 16:24:01 GMT
  6. Organization: Technical University Berlin, Germany
  7. Message-ID: <4cguv1$br2@brachio.zrz.TU-Berlin.DE>
  8. References: <john.hendrikx.40k4@grafix.xs4all.nl> <Rr3Px*AKe@yaps.rhein.de> <4bc7i9$5r7@maureen.teleport.com> <4be5k3$cli@brachio.zrz.TU-Berlin.DE> <4bf21s$egp@sunsystem5.informatik.tu-muenchen.de>
  9. NNTP-Posting-Host: hydra.zrz.tu-berlin.de
  10.  
  11. fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer) writes:
  12.  
  13.  
  14. >In article <4be5k3$cli@brachio.zrz.TU-Berlin.DE>, rawneiha@hercules.zrz.TU-Berlin.DE (Philipp Boerker) writes:
  15.  
  16. >|> > I really have to desagree... flushing the inst cache is not a nono,
  17. >|> > is defenetly not expansive at all on a 020/030... BTW the loop we are
  18. >|> > talking about unrolled for a 230 might take >200 byte of the cache,
  19. >|> > A flush with have near ZERO impact on this loop. A texture map loop
  20. >|> > is not minimal.
  21. >|> 
  22. >|> > Stephan
  23. >|>  Again: you will have to clear datacaches as well on 040+!
  24.  
  25. >why ? writeback thingy ?
  26.  
  27. Yes. Stephan pointed out that one can disable caching for the modification
  28. and afterwards flush Inst Cache. Well, I never thought of that, still I won't
  29. start using SM (sadomaso) code, because I want my code to run on future
  30. cpus (emulations) as well.
  31.  
  32.  
  33. >|> And: talking about optimizations I might add that my polygon mapping
  34. >|> loop fits into the 256 bytes !
  35.  
  36. >including 1st outer ? 2nd outer ?
  37.  
  38. Input:
  39. Pointer to list of objects,
  40. pointer to chunkybuffer.
  41.  
  42. Output:
  43. linearly mapped polygons.
  44.  
  45. Performance:
  46. Estimated 15000 polygons per second on a 50 MHz 030, and some parts aren't
  47. optimized yet (C2P, rotation-projection)...
  48.  
  49. Greets,
  50. Phil.
  51. ----------------------------
  52. grond/matrix
  53. rawneiha@sp.zrz.tu-berlin.de
  54. ----------------------------
  55.