Re: Optimizing Across && And ||

bart@cs.uoregon.edu (Barton C. Massey)
Tue, 21 Feb 1995 18:05:59 GMT

          From comp.compilers

Related articles
Are C logical operators beging lowered too soon? cdg@nullstone.com (1995-02-13)
Optimizing Across && And || bart@cs.uoregon.edu (1995-02-15)
Re: Optimizing Across && And || preston@tera.com (1995-02-18)
Re: Optimizing Across && And || bill@amber.ssd.csd.harris.com (1995-02-19)
Re: Optimizing Across && And || bart@cs.uoregon.edu (1995-02-21)
Re: Optimizing Across && And || whalley@fork.cs.fsu.edu (David Whalley) (1995-02-22)
Re: Optimizing Across && And || bart@cs.uoregon.edu (1995-02-23)
Re: Optimizing Across && And || bill@amber.ssd.csd.harris.com (1995-02-24)
Re: Optimizing Across && And || glew@ichips.intel.com (1995-02-27)
Re: Optimizing Across && And || bill@amber.ssd.csd.harris.com (1995-02-28)
Re: Optimizing Across && And || bill@amber.ssd.csd.harris.com (1995-02-28)
[9 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: bart@cs.uoregon.edu (Barton C. Massey)
Keywords: C, optimize
Organization: University of Oregon Computer and Information Sciences Dept.
References: 95-02-110 95-02-143
Date: Tue, 21 Feb 1995 18:05:59 GMT

Preston Briggs <preston@tera.com> noted that his tests of compiler
optimizations showed disappointing results, and gave some explanations
he'd heard for this. Let me add to the possible explanations one more
very important one: A friend pointed out to me that these days compilers
mostly live or die by the SPEC benchmark suite. Optimizations which don't
improve most of the benchmarks in this suite significantly are considered
failures under this metric, due to the averaging procedure. This is very
bad, inasmuch as many of the SPEC tests are bottlenecked by simple, tight
numerical loops -- optimizations such as global value propagation are
useless in these cases, whereas optimizations such as instruction
scheduling are extremely important.


It's an interesting metric to look just at the GCC SPEC benchmark -- this
exercises quite a bit more compiler optimization than most of the rest of
SPEC.


Bart Massey
bart@cs.uoregon.edu
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.