Skip to Main Content
Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles
book

Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles

by James S. Evans - Lawrence University, Gregory L. Trimper - viika
April 2003
Intermediate to advanced content levelIntermediate to advanced
576 pages
15h 13m
English
Pearson
Content preview from Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles

5.7. Other Structured Programming Constructs

Here we introduce unc (the unconditional compare type completer) for the Itanium compare instructions and outline, at the assembly language level, a few additional structured programming constructs used by high-level languages.

5.7.1. Unconditional Compare Instructions

We shall briefly discuss the unconditional form of Itanium integer compare instructions with the compare type completer ctype=unc, whose behavior is best understood by contrasting it with the ordinary form of a compare instruction with no completer. The unconditional compare instructions have familiar features:

cmp.crel.unc p1,p2=r2,r3       // two registers
cmp.crel.unc p1,p2=imm8,r3     // immed and one register
cmp.crel.unc p1,p2=r0,r3 // ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ARM System Developer's Guide

ARM System Developer's Guide

Andrew Sloss, Dominic Symes, Chris Wright
Intel Xeon Phi Processor High Performance Programming, 2nd Edition

Intel Xeon Phi Processor High Performance Programming, 2nd Edition

James Jeffers, James Reinders, Avinash Sodani

Publisher Resources

ISBN: 0131013726Purchase book