home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / compiler / 2265 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!think.com!spdcc!iecc!compilers-sender
  3. From: ssimmons@convex.com (Steve Simmons)
  4. Subject: Re How many vector registers are useful?
  5. Reply-To: ssimmons@convex.com (Steve Simmons)
  6. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  7. Date: Tue, 26 Jan 1993 13:22:15 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <93-01-191@comp.compilers>
  10. References: <93-01-174@comp.compilers>
  11. Keywords: architecture, vector
  12. Sender: compilers-sender@iecc.cambridge.ma.us
  13. Lines: 20
  14.  
  15. On Convex, there are 8 vector registers of 128 elements which are 64 bits
  16. in precision. Obviously, the question is not how many are useful but what
  17. is the optimal number.  With 8 vector registers, we still do experience
  18. vector register spills although that is dependent upon the code.  Needless
  19. to say, a vector register spill is much worse than a scalar register
  20. spill.
  21.  
  22. No, I do not know of any published studies that state the optimal number
  23. of vector registers.  However, there are costs as more vector operators
  24. are added.  These costs are expansion of instruction format, more complex
  25. micro code within the vector unit, more complex chaining analysis in both
  26. the compilers and vector unit, etc... Ultimately, this cost is paid for by
  27. the custumer.
  28.  
  29. Thank you.
  30.  
  31.                 Steve Simmons
  32. -- 
  33. Send compilers articles to compilers@iecc.cambridge.ma.us or
  34. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  35.