Volume 1, Part 1: IA-32 Application Execution Model in an Intel
®
Itanium
®
System Environment
1:117
6.2.2.1
IA-32 General Purpose Registers
Integer registers are mapped into the lower 32-bits of Itanium general registers GR8 to
GR15. Values in the upper 32-bits of GR8 to GR15 are ignored on entry to IA-32
execution. After the IA-32 instruction set completes execution, the upper 32-bits of
GR8 - GR15 are sign-extended from bit 31.
Based on IA-32 and Itanium calling conventions, the required IA-32 state must be
loaded in memory or registers by Itanium architecture-based code before entering the
IA-32 instruction set.
6.2.2.2
IA-32 Instruction Pointer
The processor maintains two instruction pointers for IA-32 instruction set references,
EIP (32-bit effective address) and IP (a 64-bit virtual address equivalent to the Itanium
instruction set IP). IP is generated by adding the code segment base to EIP and zero
extending to 64-bits. IP should not be confused with the 16-bit effective address
instruction pointer of the 8086. EIP is an offset within the current code segment, while
IP is a 64-bit virtual pointer shared with the Itanium instruction set. The following
relationship is defined between EIP and IP while executing IA-32 instructions.
IP{63:32} = 0;
IP{31:0} = EIP{31:0} + CSD.Base;
PFS
unmodified
not used for IA-32 code execution, Prior
EC is preserved in PFM
Intel
®
Itanium
®
preserved registers
LC
EC
EFLAG
EFLAG
IA-32 state
32
IA-32 System/Arithmetic flags,
writes of some bits condition by CPL and
EFLAG.iopl.
CSD
CSD
64
IA-32 code segment (register format)
SSD
SSD
IA-32 stack segment (register format)
CFLG
CR0/CR4
64
IA-32 control flags
CR0=CFLG{31:0}, CR4=CFLG{63:32},
writable at CPL=0 only.
a. On transitions into the IA-32 instruction set the upper 32-bits are ignored. On exit the upper 32-bits are sign
extended from bit 31.
b. Segment descriptor formats differ from the iA-32 memory format, see
for details. Modification of a selector or descriptor does not set the access/busy bit in memory.
c. The GDT/LDT descriptors are NOT protected from modification by Itanium architecture-based user level code
d. All registers in the current and prior registers frames are left in an undefined state after IA-32 execution.
Software must preserve these values before entering the IA-32 instruction set.
e. IA-32 floating-point register mappings are physical and do not reflect the IA-32 top of stack value.
f. These registers are used by the processor and may be left an undefined state following IA-32 instruction set
execution. Software should preserve required values before entering IA-32 code.
Figure 6-3.
IA-32 General Registers (GR8 to GR15)
63
32 31
0
sign extended
EAX.. EDI{31:0}
Table 6-1.
IA-32 Application Register Mapping (Continued)
Intel
®
Itanium
®
Reg
IA-32 Reg
Convention
Size
Description
Summary of Contents for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS VOLUME 3 REV 2.3
Page 1: ......
Page 11: ...x Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 13: ...1 2 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 33: ...1 22 Volume 1 Part 1 Introduction to the Intel Itanium Architecture ...
Page 57: ...1 46 Volume 1 Part 1 Execution Environment ...
Page 147: ...1 136 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 149: ...1 138 Volume 1 Part 2 About the Optimization Guide ...
Page 191: ...1 180 Volume 1 Part 2 Predication Control Flow and Instruction Stream ...
Page 230: ......
Page 248: ...236 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 250: ...2 2 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 264: ...2 16 Volume 2 Part 1 Intel Itanium System Environment ...
Page 380: ...2 132 Volume 2 Part 1 Interruptions ...
Page 398: ...2 150 Volume 2 Part 1 Register Stack Engine ...
Page 486: ...2 238 Volume 2 Part 1 IA 32 Interruption Vector Descriptions ...
Page 750: ...2 502 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 754: ...2 506 Volume 2 Part 2 About the System Programmer s Guide ...
Page 796: ...2 548 Volume 2 Part 2 Interruptions and Serialization ...
Page 808: ...2 560 Volume 2 Part 2 Context Management ...
Page 842: ...2 594 Volume 2 Part 2 Floating point System Software ...
Page 850: ...2 602 Volume 2 Part 2 IA 32 Application Support ...
Page 862: ...2 614 Volume 2 Part 2 External Interrupt Architecture ...
Page 870: ...2 622 Volume 2 Part 2 Performance Monitoring Support ...
Page 891: ......
Page 1099: ...3 200 Volume 3 Instruction Reference padd Interruptions Illegal Operation fault ...
Page 1295: ...3 396 Volume 3 Resource and Dependency Semantics ...
Page 1296: ......
Page 1302: ...402 Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 1494: ...4 192 Volume 4 Base IA 32 Instruction Reference FWAIT Wait See entry for WAIT ...
Page 1647: ...Volume 4 Base IA 32 Instruction Reference 4 345 ROL ROR Rotate See entry for RCL RCR ROL ROR ...
Page 1884: ...4 582 Volume 4 IA 32 SSE Instruction Reference ...
Page 1885: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index ...
Page 1886: ...Index Intel Itanium Architecture Software Developer s Manual Rev 2 3 ...
Page 1898: ...INDEX Index 12 Index for Volumes 1 2 3 and 4 ...