PREFETCH.I

Prefetch Instruction

PREFETCH.I offset(rs1)

Hints to hardware to bring the cache block containing the instruction at the address into the instruction cache.

Details

PREFETCH.I is a hint to the memory system to prefetch the cache block at the address rs1+offset into the instruction cache.

Pseudocode Operation

Prefetch(I-Cache, R[rs1] + offset);

Example

PREFETCH.I 0(x10)

Encoding

Binary Layout
imm12hi
31:25
00000
24:20
rs1
19:15
110000000010011
14:0
 
Format S-Type (Hint)
Opcode 0x00006013
Extension Zicbop

Operands

  • rs1
    Base Address
  • offset
    Offset