Re: static estimation of conditional branches?

hrubin@pop.stat.purdue.edu (Herman Rubin)
Fri, 11 Dec 1992 14:38:05 GMT

          From comp.compilers

Related articles
static estimation of conditional branches? mahlke@crhc.uiuc.edu (Scott Mahlke) (1992-12-08)
Re: static estimation of conditional branches? markh@csd4.csd.uwm.edu (1992-12-09)
Re: static estimation of conditional branches? bill@amber.csd.harris.com (1992-12-09)
Re: static estimation of conditional branches? tom@derby.cs.wisc.edu (1992-12-09)
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)
[5 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: hrubin@pop.stat.purdue.edu (Herman Rubin)
Organization: Purdue University Statistics Department
Date: Fri, 11 Dec 1992 14:38:05 GMT
References: 92-12-029 92-12-040 92-12-043
Keywords: optimize, comment

bill@amber.csd.harris.com (Bill Leonard) writes:
>I prefer not to write my code for a particular compiler's optimization
>algorithms.


However, the speed of the executed code does depend on how the compiler
assigns branches to fall-through and transfer. Thus, the programmer
should have some way of communicating this, and other, frequency
considerations to the compiler. As far as I know, this has not been done
since the "FREQUENCY" statement in fairly early Fortran.
--
Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
Phone: (317)494-6054
hrubin@snap.stat.purdue.edu (Internet, bitnet)
{purdue,pur-ee}!snap.stat!hrubin(UUCP)
[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]
--


Post a followup to this message

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