- Synopsis
-
Clean all L2 cache
- Mnemonic
-
th.l2cache.call
- Encoding
{reg:[ { bits: 7, name: 0xb, attr: ['custom-0, 32 bit'] }, { bits: 5, name: 0x0 }, { bits: 3, name: 0x0, attr: ['CMO'] }, { bits: 5, name: 0x0 }, { bits: 5, name: 0x15, attr: ['l2cache.call'] }, { bits: 7, name: 0x00 }, ]}
- Description
-
This instruction cleans all cache lines of the L2 cache. Dirty cache lines will be written back to the next-level storage.
- Operation
if (priv_level == U)
{
<raise illegal instruction exception>
}
<write back all dirty L2 cache lines>
- Permission
-
This instruction can be executed in all privilege levels higher than
U
mode. Attempts to execute this instruction inU
mode raise an illegal instruction exception. - Exceptions
-
This instruction does not trigger any exceptions.
- Included in
Extension | HW requirements |
---|---|
XTheadCmo ([xtheadcmo]) |
D/I-cache, 2nd level cache |