home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 10908 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.5 KB

  1. Xref: sparky comp.arch:10908 comp.lang.misc:3780
  2. Newsgroups: comp.arch,comp.lang.misc
  3. Path: sparky!uunet!spool.mu.edu!umn.edu!uum1!kksys.com!edgar!technix!bret
  4. From: bret@technix.mn.org (Bret Indrelee)
  5. Subject: Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)
  6. Message-ID: <1992Nov19.034325.3864@technix.mn.org>
  7. Organization: Private System - Saint Paul, MN
  8. References: <Bxs63J.BxA@exnet.co.uk> <BxtA6v.CE8@mentor.cc.purdue.edu> <id.HJ1V.BTG@ferranti.com>
  9. Date: Thu, 19 Nov 1992 03:43:25 GMT
  10. Lines: 24
  11.  
  12. In article <id.HJ1V.BTG@ferranti.com> peter@ferranti.com (peter da silva) writes:
  13. >In article <BxtA6v.CE8@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
  14. >> But it is.  The operations often use register arguments and the results
  15. >> are wanted in registers.
  16. >
  17. >What's a register? Most modern compilers ignore "register", or use it as a
  18. >hint "this is a frequently used value".
  19. >
  20. >And how is an inline library part of the language more than a subroutine
  21. >or an include file?
  22.  
  23. Which brings up a question I've wondered about.  Do any compilers use
  24. 'register' to indicate that a pointer reference DOESN'T access the
  25. value?
  26.  
  27. If so, it once again becomes usefull to use the register keyword,
  28. as a no-alias.  Compiler could optimize knowing that the value isn't
  29. changed by that weird intervening pointer reference.
  30.  
  31. -Bret
  32. -- 
  33. ------------------------------------------------------------------------------
  34. Bret Indrelee               |         Insanity is all in the mind.
  35. email: bret@technix.mn.org  |   
  36.