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

  1. Xref: sparky comp.arch:10839 comp.lang.misc:3742
  2. Path: sparky!uunet!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
  3. From: tmb@arolla.idiap.ch (Thomas M. Breuel)
  4. Newsgroups: comp.arch,comp.lang.misc
  5. Subject: Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)
  6. Date: 17 Nov 92 22:38:28
  7. Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle
  8.     Perceptive)
  9. Lines: 34
  10. Message-ID: <TMB.92Nov17223828@arolla.idiap.ch>
  11. References: <1992Nov13.155126.3660@linus.mitre.org>
  12.     <1992Nov17.112551.10920@uklirb.informatik.uni-kl.de>
  13. Reply-To: tmb@idiap.ch
  14. NNTP-Posting-Host: arolla.idiap.ch
  15. In-reply-to: kirchner@uklira.informatik.uni-kl.de's message of Tue, 17 Nov 1992 11:25:51 GMT
  16.  
  17. In article <1992Nov17.112551.10920@uklirb.informatik.uni-kl.de> kirchner@uklira.informatik.uni-kl.de (Reinhard Kirchner) writes:
  18.  
  19.    There are often VERY USEFULL things in the hardware, but now
  20.    programming language supports them. This is mostly the case in the
  21.    field of numerics, like
  22.    - long integer product, as shown by Bob,
  23.    - the carry, the major incredient to build a 'long' arithmetic
  24.    - rounding control, needed to generate verified results ( not a mode bit! )
  25.  
  26. True, they are occasionally useful.
  27.  
  28.    What bothers me even more is the fact that modern processors are
  29.    designed to support only things that can be used by HLL, mainly C,
  30.    because statistics show no use of other features ( what else ), and
  31.    so we find ourselves severley limited by a chicken and egg problem.
  32.  
  33. I suspect most people (including myself) are actually perfectly happy
  34. with 32bit integers and 32bit/64bit floating point numbers with any
  35. reasonable kind of rounding mode. The main limits that users are
  36. coming up against are probably 32bit address limits (of course, if you
  37. go to 64bit addresses, you need 64bit integers for indexing).
  38.  
  39. It is not very hard to provide access to such features from high-level
  40. languages, through things that look and behave like library calls but
  41. are actually recognized and inlined by the compiler ("sincos(a,s,c)",
  42. "add_with_carry(result,arg1,arg2)", ...). If you are really interested
  43. in this, I recommend that you work within NCEG (or other language
  44. standards committees) to make proposals for what library primitives
  45. might be useful. On the other hand, please do spare the rest of us
  46. complex syntactic extensions ("!<>", "?)~", etc.) for all those
  47. special purpose features.
  48.  
  49.                     Thomas.
  50.  
  51.