home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / arch / 10713 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  1.9 KB

  1. Xref: sparky comp.arch:10713 comp.lang.misc:3646
  2. Newsgroups: comp.arch,comp.lang.misc
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!mcsun!sun4nl!dutrun!dutrun2!dutncp8!rob
  4. From: rob@pact.nl (Rob Kurver)
  5. Subject: Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)
  6. Message-ID: <rob.721693025@dutncp8>
  7. Sender: news@dutrun2.tudelft.nl (UseNet News System)
  8. Nntp-Posting-Host: dutncp8.tn.tudelft.nl
  9. Organization: PACT, Delft, The Netherlands
  10. References: <1992Nov10.153705.27804@yrloc.ipsa.reuter.COM> <1992Nov12.131856.12605@linus.mitre.org> <TMB.92Nov13144057@arolla.idiap.ch> <1992Nov13.155126.3660@linus.mitre.org>
  11. Date: Fri, 13 Nov 1992 22:17:05 GMT
  12. Lines: 29
  13.  
  14. In <1992Nov13.155126.3660@linus.mitre.org> bs@gauss.mitre.org (Robert D. Silverman) writes:
  15.  
  16. >Herman is bemoaning the fact that quite often a computer HAS hardware
  17. >to execute some particular instruction that he likes, but that HLL's
  18. >do not allow him access to it.
  19.  
  20. [ .. ]
  21.  
  22. >I would like to see a language that has a feature that will allow
  23. >me to (say) define new operators that use specific machine instructions.
  24.  
  25. Many modern C compilers have powerful assembly insert mechanisms which
  26. allow you to make use of the more esoteric machine instructions, when
  27. available.  Examples that come to mind are the GNU C compiler and
  28. our own PACT Parallel C compiler for the transputer.  We use this
  29. in our runtime and headers to keep things portable yet get the most
  30. out of the architecture (e.g. use 32x32->64 bit multiply instruction
  31. when available, or an emulation function when not).
  32.  
  33. I'd expect this to work even nicer when combined with classes and
  34. operator definitions in a language like C++.
  35.  
  36. Rob
  37.  
  38. --
  39.      PACT                   Rob Kurver
  40.     Foulkeslaan 87         rob@pact.nl
  41.    2625 RB Delft     ph: +31 15 616864 
  42.   The Netherlands   fax: +31 15 610032
  43.