Newsgroups: | comp.compilers |
From: | toon@moene.indiv.nluug.nl (Toon Moene) |
Keywords: | assembler, optimize, performance, comment |
Organization: | Moene Computational Physics, Amsterdam, The Netherlands |
References: | 93-10-104 |
Date: | Thu, 28 Oct 1993 18:39:01 GMT |
elliottm@csulb.edu (Mike Elliott) writes:
> [I believe that there are compilers which can outdo human coders, but
> I'd be hard-pressed to believe that any of them generate code for the
> 8086. In my personal experience, rewriting C into assembler on an 8086
> gets notably smaller code because humans are better than compilers at
> figuring out what to do with the very irregular '86 register set. -John]
OK, for the x86 line this might be hard, but if you really want to see a
compiler jump through hoops you can't imagine, look at the output of a
BLISS compilation on one of the VMS microfiches - I've done a lot of
MACRO-32 assembler programming, but this compiler beats me hands off at
inventing tricky code sequences.
--
Toon Moene (toon@moene.indiv.nluug.nl)
Until 931110: Kantershof 269, 1104 GN Amsterdam, The Netherlands
Until 931110: Phone: + 31 20 6982029; Fax: + 31 20 6003411
After 931110: Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
After 931110: Phone: + 31 3461 4290; Fax: + 31 3461 4286
[I can easily believe it for the Vax, which has nearly uniform registers
and very uniform addressing. The '86 has neither, making it hard to apply
many of the whizzo new optimization techniques. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.