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
010
14:12
00000
11:7
0001111
6:0
 
Format I-Type
Opcode 0x0F
Extension Zicboz

Operands

  • rs1
    Address