GIC LDAFF
Interrupt Set Target in the Logical Interrupt Domain
Sets the routing mode and target PE for the specified INTID in the Logical Interrupt Domain.
Configuration
This instruction is present only when FEAT_GCIE is implemented, FEAT_AA64 is implemented, and EL3 is implemented. Otherwise, direct accesses to GIC LDAFF are UNDEFINED.
Attributes
GIC LDAFF is a 64-bit System instruction.
Field descriptions
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RES0 | IAFFID | ||||||||||||||||||||||||||||||
| TYPE | IRM | RES0 | ID | ||||||||||||||||||||||||||||
Bits [63:48]:
Reserved, RES0.
IAFFID, bits [47:32]:
The interrupt Affinity value.
The IRS may support fewer than 16 bits of IAFFID. Unimplemented upper bits are treated as RES0 by the IRS.
When IRM is 1, this field provides an IMPDEF hint to 1ofN selection algorithm. A value of 0 means that no hint is provided.
TYPE, bits [31:29]:
Type of the interrupt
| TYPE | Meaning |
|---|---|
| 0b010 |
LPI |
| 0b011 |
SPI |
All other values are reserved.
IRM, bit [28]:
Controls how the interrupt is routed.
If the GIC IRS does not support 1ofN distribution of the specified interrupt Type, this configuration is treated as RES0.
| IRM | Meaning |
|---|---|
| 0b0 |
Targeted |
| 0b1 |
1ofN |
Bits [27:24]:
Reserved, RES0.
ID, bits [23:0]:
The ID of the interrupt.
ID and TYPE together form an INTID.
The number of ID bits implemented is reported in ICC_IDR0_EL1.ID_BITS. Unimplemented upper bits are RES0.
Executing GIC LDAFF
When executed at EL3, if SCR_EL3.{NS, NSE} select a reserved value, the behavior is CONSTRAINED UNPREDICTABLE with the permitted options:
-
SCR_EL3.{NS, NSE} is treated as having an UNKNOWN value.
-
The instruction is treated as a NOP.
This instruction has no effect if the INTID is unreachable
This system instruction is an alias of the SYS instruction.
Accesses to this instruction use the following encodings in the System instruction encoding space:
GIC LDAFF{, <Xt>}
(op0 = 0b01, op1 = 0b110, CRn = 0b1100, CRm = 0b0001, op2 = 0b011)
if !(IsFeatureImplemented(FEAT_GCIE) && IsFeatureImplemented(FEAT_AA64) && HaveEL(EL3)) then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
Undefined();
elsif PSTATE.EL == EL2 then
Undefined();
elsif PSTATE.EL == EL3 then
AArch64_GIC(X{64}(t), GICInstrDomain_LD, GICInstr_AFF);
end;
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.