Related articles |
---|
programmer optimizations? afsal@genius.tisl.soft.net (Afsal C. Majeed) (1994-12-28) |
Re: programmer optimizations? davidm@Rational.COM (1994-12-31) |
Re: programmer optimizations? fjh@munta.cs.mu.OZ.AU (1995-01-01) |
Re: programmer optimizations? jhowat@lucifer.cs.waikato.ac.nz (1995-01-02) |
Re: programmer optimizations? jbuck@Synopsys.COM (1995-01-02) |
Re: programmer optimizations? eru@tele.nokia.fi (Erkki Ruohtula) (1995-01-11) |
Re: programmer optimizations? conway@munta.cs.mu.OZ.AU (1995-01-05) |
Re: programmer optimizations? bill@amber.ssd.csd.harris.com (1995-01-05) |
Re: programmer optimizations? kerch@albion.camb.inmet.com (1995-01-12) |
Re: programmer optimizations? monnier@di.epfl.ch (Stefan Monnier) (1995-01-21) |
Re: programmer optimizations? synaptx!carambole!daveg@uunet.uu.net (Dave Gillespie) (1995-01-11) |
Re: programmer optimizations? det@sw.stratus.com (David Toland) (1995-01-11) |
Re: programmer optimizations? cdg@nullstone.com (1995-01-23) |
[7 later articles] |
Newsgroups: | comp.compilers |
From: | conway@munta.cs.mu.OZ.AU (Thomas Charles CONWAY) |
Keywords: | optimize |
Organization: | Computer Science, University of Melbourne, Australia |
References: | 94-12-145 95-01-005 |
Date: | Thu, 5 Jan 1995 11:45:52 GMT |
"Afsal C. Majeed" <afsal@genius.tisl.soft.net> writes:
>What I want to know is your view on using such "cryptic" optimizations
>and whether any of the commercial compilers attempt to do such "target
>machine" specific optimizations. The compiler we have here does not
>seem to do it.(I am using the compiler XLC which comes with AIX on
>IBM RS/6000 machines)
Will anyone (including yourself) have to read the program more than
a week after it was written? Cryptic optimisations are a GREAT way
to confuse yourself when the time comes to port or modify your program.
If your compiler is too dumb to optimise the sorts of cases you suggest
then get a compiler that can. It is reasonable to expect compilers to
be smart these days. Gone are the days when you had to use the
`register' keyword in C to get decent performance.
Thomas
--
Thomas Conway conway@cs.mu.oz.au
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.