CBO.ZERO

Cache Block Zero

CBO.ZERO (rs1)

Zeros a cache block corresponding to the address in rs1.

Details

CBO.ZERO writes zeros to the cache block containing the effective address. Typically faster than a sequence of store instructions for zeroing memory.

Pseudocode Operation

memset(BlockAddr(rs1), 0, BlockSize);

Example

CBO.ZERO a0

Encoding

Binary Layout
000000000100
31:20
rs1
19:15
010000000001111
14:0
 
Format I-Type
Opcode 0x0040200F
Extension Zicboz

Operands

  • rs1
    Address