CBO.INVAL

Cache Block Operation: Invalidate

CBO.INVAL (rs1)

Performs an invalidate operation on the cache block.

Encoding

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

Operands

  • rs1
    Address

Example

CBO.INVAL (x10)

// Discard cache line (data lost if dirty).

Related

More in Zicbom

Description

CBO.INVAL performs an invalidate operation on the cache block containing the address in rs1, deallocating the cached copies without a write transfer. It is not a hint: depending on menvcfg/senvcfg.CBIE it raises an exception, performs a flush (clean then invalidate), or performs an invalidate. Invalidating a block with modified data can expose stale memory.

Operation

CacheInvalidate(R[rs1]);