CBO.FLUSH

Cache Block Operation: Flush

CBO.FLUSH (rs1)

Performs a flush (clean + invalidate) operation on the cache block.

Encoding

Binary Layout
000000000010
31:20
rs1
19:15
010000000001111
14:0
 
Format I-Type
Opcode 0x0020200F
Extension Zicbom

Operands

  • rs1
    Address

Example

CBO.FLUSH (x10)

// Write back and invalidate.

Related

Across architectures

Cache Line Flush : how x86, ARM, RISC-V, and PowerISA each do this.

More in Zicbom

Description

CBO.FLUSH cleans and then invalidates the cache block containing the effective address. The block's contents are written back to memory if dirty, then the block is evicted from the cache.

Operation

CacheFlush(R[rs1]);