Preload Instruction signals the memory system that instruction memory accesses from a specified address are likely in the near future. The memory system can respond by taking actions that are expected to speed up the memory accesses when they do occur, such as pre-loading the cache line containing the specified address into the instruction cache.
The effect of a PLI instruction is implementation defined. For more information, see Preloading caches.
It has encodings from the following instruction sets: A32 ( A1 ) and T32 ( T1 , T2 and T3 ) .
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 |
1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | U | 1 | 0 | 1 | Rn | (1) | (1) | (1) | (1) | imm12 |
constant n = UInt(Rn); constant imm32 = ZeroExtend(imm12, 32); constant add = (U == '1');
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | != 1111 | 1 | 1 | 1 | 1 | imm12 | ||||||||||||||
Rn |
if Rn == '1111' then SEE "encoding T3"; constant n = UInt(Rn); constant imm32 = ZeroExtend(imm12, 32); constant add = TRUE;
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | != 1111 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | imm8 | ||||||||||
Rn |
if Rn == '1111' then SEE "encoding T3"; constant n = UInt(Rn); constant imm32 = ZeroExtend(imm8, 32); constant add = FALSE;
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | U | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | imm12 |
constant n = 15; constant imm32 = ZeroExtend(imm12, 32); constant add = (U == '1');
For more information about the constrained unpredictable behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors.
<c> |
For encoding A1: see Standard assembler syntax fields. Must be AL or omitted. |
For encoding T1, T2 and T3: see Standard assembler syntax fields. |
<q> |
<Rn> |
Is the general-purpose base register, encoded in the "Rn" field. |
+/- |
Specifies the offset is added to or subtracted from the base register, defaulting to + if omitted and
encoded in
|
+ |
Specifies the offset is added to the base register. |
For the literal forms of the instruction, encoding T3 is used, or Rn is encoded as 0b1111 in encoding A1, to indicate that the PC is the base register.
The alternative literal syntax permits the addition or subtraction of the offset and the immediate offset to be specified separately, including permitting a subtraction of 0 that cannot be specified using the normal syntax. For more information, see Use of labels in UAL instruction syntax.
if ConditionPassed() then EncodingSpecificOperations(); constant base = if n == 15 then Align(PC32,4) else R[n]; constant address = if add then (base + imm32) else (base - imm32); Hint_PreloadInstr(address);
Internal version only: isa v01_31, pseudocode v2024-03_rel ; Build timestamp: 2024-03-25T10:05
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.