Re: static estimation of conditional branches?

jfisher@hplabsz.hpl.hp.com (Josh Fisher)
Fri, 11 Dec 1992 18:06:21 GMT

          From comp.compilers

Related articles
[4 earlier articles]
Re: static estimation of conditional branches? tsych@sedona.intel.com (1992-12-09)
Re: static estimation of conditional branches? hagerman@ece.cmu.edu (1992-12-09)
Re: static estimation of conditional branches? bill@amber.csd.harris.com (1992-12-10)
Re: static estimation of conditional branches? hrubin@pop.stat.purdue.edu (1992-12-11)
Re: static estimation of conditional branches? henry@zoo.toronto.edu (1992-12-11)
Re: static estimation of conditional branches? idacrd!desj@uunet.UU.NET (1992-12-12)
Re: static estimation of conditional branches? jfisher@hplabsz.hpl.hp.com (1992-12-11)
Re: static estimation of conditional branches? chased@rbbb.Eng.Sun.COM (1992-12-12)
Re: static estimation of conditional branches? glew@pdx007.intel.com (1992-12-12)
Re: static estimation of conditional branches? henry@zoo.toronto.edu (1992-12-13)
Re: static estimation of conditional branches? hrubin@pop.stat.purdue.edu (1992-12-13)
Re: static estimation of conditional branches? drw@euclid.mit.edu (1992-12-14)
Re: static estimation of conditional branches? idacrd!desj@uunet.UU.NET (1992-12-14)
[2 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: jfisher@hplabsz.hpl.hp.com (Josh Fisher)
Organization: Hewlett-Packard Laboratories Palo Alto,CA
Date: Fri, 11 Dec 1992 18:06:21 GMT
Keywords: optimize
References: 92-12-040 92-12-046

>[As I recall, Fortran II dropped FREQUENCY because it was infrequently
>used and made little difference. I've heard that it may even have been
>implemented backwards and nobody noticed. -John]


I was told the story about 10 years ago by, I think, Lois Nash, at
Yorktown Heights. She (or whoever told me the story if I've remembered
wrong) did the backend for the compiler that was to use these directives.
Sometime after releasing it, she took a vacation and someone reversed the
sense of what was passed to her in an earlier phase. About a year after
this happened, she was debugging some object code and noticed the
reversal. This was when people grovelled over the object code--in the
1950s, I guess--because of their general suspicion of compilers (*we*
never do that), yet no one ever pointed it out to her. She figures nobody
noticed.


(By the way, the Multiflow compiler allows programmers to insert
directives to this effect to guide the compiler in chosing long regions
within which to do code motions.)


-- Josh Fisher // HP Labs
--


Post a followup to this message

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