Article View: comp.dsp
Article #1877Re: compilers for DSP processors
From: Malcolm Slaney
Date: Sat, 19 Dec 1992 16:56
Date: Sat, 19 Dec 1992 16:56
28 lines
1961 bytes
1961 bytes
cmh@eng.cam.ac.uk (C.M. Hicks) writes: >DSP chips are designed to be fast, and to slow them down with compiled code >seems daft, particularly in real-time applications. Wow, you must work for a DSP chip maker. Most DSP makers seem to be clueless about how to write software. Or maybe you have been brainwashed by the hardware makers (I don't mean this personally....I'm just tired of the idea that assembly language is necessary.) On most reasonable processors, people have found that the compilers write better code than humans do. Compilers can do a much better job of global register allocation, scheduling, and all the other things that make for good translations. This is especially true of today's RISC machines (DEC, IBM, HP, Sun, Cray, MIPS). For a good exposition of the power of a compiler, read John Ellis' book on the Bulldog compiler for VLIW machines. It is especially amusing that the C compiler for the AT&T chips is so BAD. The assembly language was designed to look like C. Analog Devices is at least trying to modify C to make it friendlier for DSP but I'm not sure that their efforts will be successful. Any high level language is better for us humans than machine code. Listen up DSP makers....compilers can write better assembly code than us mere humans.....especially if you give the compiler a chance. Pay attention to the lessons that the RISC people taught the CISC dinasours. Malcolm Slaney DSP Hacker on all sorts of machines
Technical Details
Message-ID:
<75774@apple.apple.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!apple!malcolmReferences:
<1992Dec16.141628.28304@imec.be> <1992Dec17.124618.9049@eng.cam.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!apple!malcolm From: malcolm@Apple.COM (Malcolm Slaney) Newsgroups: comp.dsp Subject: Re: compilers for DSP processors Summary: No more assembly language!!! Keywords: compilers, dsp, assembly language, vliw, c Message-ID: <75774@apple.apple.COM> Date: 19 Dec 92 16:56:59 GMT References: <1992Dec16.141628.28304@imec.be> <1992Dec17.124618.9049@eng.cam.ac.uk> Organization: Apple Computer Inc, Cupertino, CA Lines: 28