Chapter 5. Comparison, Branches, and Predication

In previous chapters, we developed some fundamental topics of computer architecture and illustrated them with brief Itanium assembly language programs. Yet all of the programs presented thus far have been unrepresentative of real-world programs in one crucial respect: They did not contain any data-dependent decisions that might have dynamically altered the flow of control.

In a high-level language, control structures may include loops (whiledo or dountil) and logical or data-dependent decision constructs (ifthenelse and case choices). In this and later chapters we are going to see how those powerful constructs for designing and imparting orderliness to computer programs can be built up from ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.