Skip to main content

serialize_instructions

Function serialize_instructions 

Source
pub fn serialize_instructions()
Expand description

Force the processor to complete all modifications to register state and memory by previous instructions (including draining any buffered writes) before the next instruction is fetched.

[intel/vol3]: 8.3 Serializing Instructions. [amd/vol2]: 7.6.4 Serializing Instructions.

cpuid is a serializing instruction.