Re: Static branch prediction

Markus Armbruster <>
Tue, 04 Mar 2008 16:56:09 +0100

          From comp.compilers

Related articles
Static branch prediction (Tim Frink) (2008-03-03)
Re: Static branch prediction (Markus Armbruster) (2008-03-04)
Re: Static branch prediction (2008-03-05)
Re: Static branch prediction (2008-03-05)
Re: Static Branch Prediction (Aaron W. Hsu) (2012-12-01)
| List of all articles for this month |

From: Markus Armbruster <>
Newsgroups: comp.compilers
Date: Tue, 04 Mar 2008 16:56:09 +0100
Organization: Arcor
References: 08-03-010
Keywords: optimize
Posted-Date: 04 Mar 2008 10:58:57 EST

Tim Frink <> writes:

> Some processors use a static branch prediction. The predicted outcome
[Reordering basic blocks to avoid static branch mispredictions]
> This idea is probably not new, so I wonder if you know any
> compilers/optimizers that apply this technique? Do you have own
> experiences or know any papers/reports where any results are
> presented?

Off hand:

K. Pettis and R. C. Hansen, "Profile Guided Code Positioning"
Proceedings of the SIGPLAN Conference on Programming Language Design
and Implementation, pp. 16--27, June 1990.

Post a followup to this message

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