Register Names for getReg() and setReg()

The register names for getReg() and setReg() functions are in the ia64regs.h header file.

Name

whichReg

_IA64_REG_IP

1016

_IA64_REG_PSR

1019

_IA64_REG_PSR_L

1019

General Integer Registers

Name

whichReg

_IA64_REG_GP

1025

_IA64_REG_SP

1036

_IA64_REG_TP

1037

Application Registers

Name

whichReg

_IA64_REG_AR_KR0

3072

_IA64_REG_AR_KR1

3073

_IA64_REG_AR_KR2

3074

_IA64_REG_AR_KR3

3075

_IA64_REG_AR_KR4

3076

_IA64_REG_AR_KR5

3077

_IA64_REG_AR_KR6

3078

_IA64_REG_AR_KR7

3079

_IA64_REG_AR_RSC

3088

_IA64_REG_AR_BSP

3089

_IA64_REG_AR_BSPSTORE

3090

_IA64_REG_AR_RNAT

3091

_IA64_REG_AR_FCR

3093

_IA64_REG_AR_EFLAG

3096

_IA64_REG_AR_CSD

3097

_IA64_REG_AR_SSD

3098

_IA64_REG_AR_CFLAG

3099

_IA64_REG_AR_FSR

3100

_IA64_REG_AR_FIR

3101

_IA64_REG_AR_FDR

3102

_IA64_REG_AR_CCV

3104

_IA64_REG_AR_UNAT

3108

_IA64_REG_AR_FPSR

3112

_IA64_REG_AR_ITC

3116

_IA64_REG_AR_PFS

3136

_IA64_REG_AR_LC

3137

_IA64_REG_AR_EC

3138

Control Registers

Name

whichReg

_IA64_REG_CR_DCR

4096

_IA64_REG_CR_ITM

4097

_IA64_REG_CR_IVA

4098

_IA64_REG_CR_PTA

4104

_IA64_REG_CR_IPSR

4112

_IA64_REG_CR_ISR

4113

_IA64_REG_CR_IIP

4115

_IA64_REG_CR_IFA

4116

_IA64_REG_CR_ITIR

4117

_IA64_REG_CR_IIPA

4118

_IA64_REG_CR_IFS

4119

_IA64_REG_CR_IIM

4120

_IA64_REG_CR_IHA

4121

_IA64_REG_CR_LID

4160

_IA64_REG_CR_IVR

4161 ^

_IA64_REG_CR_TPR

4162

_IA64_REG_CR_EOI

4163

_IA64_REG_CR_IRR0

4164 ^

_IA64_REG_CR_IRR1

4165 ^

_IA64_REG_CR_IRR2

4166 ^

_IA64_REG_CR_IRR3

4167 ^

_IA64_REG_CR_ITV

4168

_IA64_REG_CR_PMV

4169

_IA64_REG_CR_CMCV

4170

_IA64_REG_CR_LRR0

4176

_IA64_REG_CR_LRR1

4177

Indirect Registers for getIndReg() and setIndReg()

Name

whichReg

_IA64_REG_INDR_CPUID

9000 ^

_IA64_REG_INDR_DBR

9001

_IA64_REG_INDR_IBR

9002

_IA64_REG_INDR_PKR

9003

_IA64_REG_INDR_PMC

9004

_IA64_REG_INDR_PMD

9005

_IA64_REG_INDR_RR

9006

_IA64_REG_INDR_RESERVED

9007