prefetch.r

A prefetch.r instruction indicates to hardware that the cache block whose effective address is the sum of the base address specified in xs1 and the sign-extended offset encoded in imm[11:0], where imm[4:0] equals 0b00000, is likely to be accessed by a data read (i.e. load) in the near future.

Synopsis

prefetch.r imm(xs1)

Encoding

Type:

014151920242531110000000010011xs100001imm
funct3: 110
opcode: 0010011

RISC-V Instruction Encoder/Decoder

open prefetch.r in rvcodecjs

Availability