prefetch.i

A prefetch.i 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 an instruction fetch in the near future.

Synopsis

prefetch.i imm(xs1)

Encoding

Type:

014151920242531110000000010011xs100000imm
funct3: 110
opcode: 0010011

RISC-V Instruction Encoder/Decoder

open prefetch.i in rvcodecjs

Availability