home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.arch:10713 comp.lang.misc:3646
- Newsgroups: comp.arch,comp.lang.misc
- 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
- From: rob@pact.nl (Rob Kurver)
- Subject: Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)
- Message-ID: <rob.721693025@dutncp8>
- Sender: news@dutrun2.tudelft.nl (UseNet News System)
- Nntp-Posting-Host: dutncp8.tn.tudelft.nl
- Organization: PACT, Delft, The Netherlands
- 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>
- Date: Fri, 13 Nov 1992 22:17:05 GMT
- Lines: 29
-
- In <1992Nov13.155126.3660@linus.mitre.org> bs@gauss.mitre.org (Robert D. Silverman) writes:
-
- >Herman is bemoaning the fact that quite often a computer HAS hardware
- >to execute some particular instruction that he likes, but that HLL's
- >do not allow him access to it.
-
- [ .. ]
-
- >I would like to see a language that has a feature that will allow
- >me to (say) define new operators that use specific machine instructions.
-
- Many modern C compilers have powerful assembly insert mechanisms which
- allow you to make use of the more esoteric machine instructions, when
- available. Examples that come to mind are the GNU C compiler and
- our own PACT Parallel C compiler for the transputer. We use this
- in our runtime and headers to keep things portable yet get the most
- out of the architecture (e.g. use 32x32->64 bit multiply instruction
- when available, or an emulation function when not).
-
- I'd expect this to work even nicer when combined with classes and
- operator definitions in a language like C++.
-
- Rob
-
- --
- PACT Rob Kurver
- Foulkeslaan 87 rob@pact.nl
- 2625 RB Delft ph: +31 15 616864
- The Netherlands fax: +31 15 610032
-