home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / dsp / 2868 < prev    next >
Encoding:
Text File  |  1992-12-24  |  1.7 KB  |  35 lines

  1. Newsgroups: comp.dsp
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!hanauma.jpl.nasa.gov!hyc
  3. From: hyc@hanauma.jpl.nasa.gov (Howard Chu)
  4. Subject: Re: compilers for DSP processors
  5. Message-ID: <1992Dec24.100126.2811@elroy.jpl.nasa.gov>
  6. Sender: news@elroy.jpl.nasa.gov (Usenet)
  7. Nntp-Posting-Host: hanauma.jpl.nasa.gov
  8. Organization: SAR Systems Development & Processing, JPL
  9. References: <75774@apple.apple.COM> <FFV7VB1w164w@gmp.lonestar.org> <PHR.92Dec22191419@napa.telebit.com>
  10. Date: Thu, 24 Dec 1992 10:01:26 GMT
  11. Lines: 22
  12.  
  13. In article <PHR.92Dec22191419@napa.telebit.com> phr@telebit.com (Paul Rubin) writes:
  14. >    This speed increase was due to 1) using a machine instruction the
  15. >    complier was clueless about, and 2) an optimization of the scaling
  16. >    algorithmn that would have been not obvious at the compiler level.
  17. >
  18. >You should report the missing machine instruction to the maintainers
  19. >of your compiler (I'm not sure which of the several available 960
  20. >GCC ports you were using), or simply extend the compiler yourself
  21. >to know about the extra instruction.  Having the compiler sources
  22. >is great.
  23.  
  24. Heh. Judging from my experience on the i860 and m68k GCC ports, those
  25. "unknown" instructions were intentionally left unused, mainly because
  26. there's no way to express their usage in the compiler's RTL. Two little
  27. m68k gems that I throw in every now and then are exg and movep, neither
  28. of which can easily be described by the RTL, to say nothing of actual
  29. C code. C is cool, but there are still a lot of assembly operations one
  30. might want to do that can't be expressed in C (like, say, a rotate?)...
  31. -- 
  32.   -- Howard Chu @ Jet Propulsion Laboratory, Pasadena, CA
  33.  
  34. There's a narrow border between genius and insanity, but I'm a dual citizen.
  35.