1998
DOI: 10.1145/277652.277711
|View full text |Cite
|
Sign up to set email alerts
|

Improving performance by branch reordering

Abstract: The conditional branch has long been considered an expensive operation. The relative cost of conditional branches has increased as recently designed machines are now relying on deeper pipelines and higher multiple issue. Reducing the number of conditional branches executed can often result in a substantial performance benefit. This paper describes a code-improving transformation to reorder sequences of conditional branches. First, sequences of branches that can be reordered are detected in the control flow. Se… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
5
0

Year Published

1999
1999
2021
2021

Publication Types

Select...
4
2

Relationship

3
3

Authors

Journals

citations
Cited by 6 publications
(5 citation statements)
references
References 8 publications
0
5
0
Order By: Relevance
“…This approach may be reasonable for a small sequence length (e.g. n ≤ 7), which seem to handle most branch sequences with a common successor [Yang 1998]. Consider the original and reordered sequences of range conditions in Figure 3.…”
Section: Discussionmentioning
confidence: 99%
“…This approach may be reasonable for a small sequence length (e.g. n ≤ 7), which seem to handle most branch sequences with a common successor [Yang 1998]. Consider the original and reordered sequences of range conditions in Figure 3.…”
Section: Discussionmentioning
confidence: 99%
“…Conditional branches have been coalesced together into an indirect jump from a jump table [6]. Sequences of branches have been reordered to allow the sequence to be exited earlier, which reduces the number of branches executed [7,8]. There has been recent work on eliminating branches using ILP architectural features.…”
Section: Related Workmentioning
confidence: 99%
“…This approach is generalized and extended to the program level in [20]. In the second category of control flow optimization, branch reordering, the order in which branches are evaluated is changed to reduce the average depth traversed through a network of branches [22]. The final category of control flow optimization research focuses on the reduction of control dependence height.…”
Section: Related Workmentioning
confidence: 99%