Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 977 Bytes

sync.adoc

File metadata and controls

44 lines (35 loc) · 977 Bytes

th.sync

Synopsis

Ensures that all preceding instructions retire earlier than this instruction and all subsequent instructions retire later than this instruction.

Mnemonic

th.sync

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: 0x18, attr: ['SYNC'] },
    { bits:  7, name: 0x00 },
]}
Description

This instruction ensures that all preceding instructions retire earlier than this instruction and all subsequent instructions retire later than this instruction.

Operation
out_of_order_barrier()
Permission

This instruction can be executed in all privilege levels.

Exceptions

This instruction does not trigger any exceptions.

Included in
Extension

XTheadSync ([xtheasync])