PREFETCH.R

Prefetch Read

PREFETCH.R offset(rs1)

Hints to hardware to bring the cache block at the address into the data cache for reading.

Encoding

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

Operands

  • rs1
    Base Address
  • offset
    Offset

Example

PREFETCH.R 64(x10)

// Prepare D-Cache for reading next cache line.

Related

Across architectures

Cache Prefetch Hint : how x86, ARM, RISC-V, and PowerISA each do this.

More in Zicbop

Description

PREFETCH.R is a hint to the memory system to prefetch the cache block at rs1+offset into the data cache for a read access.

Operation

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