CBO.ZERO
Cache Block Zero
CBO.ZERO (rs1)
Zeros a cache block corresponding to the address in rs1.
Encoding
Binary Layout
000000000100
31:20
rs1
19:15
010000000001111
14:0
Operands
-
rs1
Address
Example
CBO.ZERO a0
Related
More in Zicboz
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
CBO.ZERO writes zeros to the cache block containing the effective address. Typically faster than a sequence of store instructions for zeroing memory.
Operation
memset(BlockAddr(rs1), 0, BlockSize);