For SH, this hap is triggered when a synco
instruction is executed. The type contains 0.
For SPARC-V9, this hap is triggered when a membar
or stbar
instruction is executed. For membar
, the type contains the 7-bit field cmask|mmask specified in the instruction. For stbar, the type is 8 (equivalent to membar #StoreStore
).
For x86, this hap is triggered when a fence
instruction is executed. The type is set from the list provided by the x86_sync_instruction_type_t
enum.
void (*)(lang_void *callback_data, conf_object_t *trigger_obj, int64 type);