|Folk Theorem: Assemblers are superior to Compilers email@example.com (1993-10-24)|
|re: Folk Theorem: Assemblers are superior to Compilers firstname.lastname@example.org (1993-10-27)|
|Re: re: Folk Theorem: Assemblers are superior to Compilers email@example.com (1993-10-27)|
|From:||firstname.lastname@example.org (Lutz Prechelt)|
|Organization:||University of Karlsruhe, FRG|
|Date:||Wed, 27 Oct 1993 11:21:28 GMT|
email@example.com (Jean Mehat) writes:
|> I think these folk theorems may as well be true. I thought at first that
|> it may be false when the processor is designed for the compiler (like the
|> RISC delayed branch), but I think it's just that no one, except a
|> compiler's writer, cares to use delayed branch ; with reasonable training,
|> anyone should be able to use it like a compiler.
This suggests that the folk theorems may be stated incompletely: You must
ask not only for an `actual real-world application' but also for an
`actual real-world programmer'. This makes proving or disproving the
theorems quite difficult.
I know of colleagues of mine here in Karlsruhe, who significantly
outperformed the Sun-OS cc as well as the gcc on a SPARC with their
assembler routines. But these were only the very small kernels of their
cryptography application, which are only a very small fraction of the code
yet consume a very large amount of overall run time. It took them weeks
to tune this assembler code. I believe a similar thing is absolutely
impractical for complete applications.
As you see, I neither give quantitative figures of the effects nor do I
have any citations to present. Maybe they have published something about
their efforts, I don't know. Perhaps you want to contact Steffen Stempel
(firstname.lastname@example.org) to ask.
Lutz Prechelt (email: email@example.com)
Institut fuer Programmstrukturen und Datenorganisation
Universitaet Karlsruhe; 76128 Karlsruhe; Germany
(Voice: ++49/721/608-4068, FAX: ++49/721/694092)
Return to the
Search the comp.compilers archives again.