pub fn speculation_barrier()Expand description
Insert a full speculation barrier.
On x86_64, emits LFENCE. On AArch64, DSB SY + ISB. On RISC-V, FENCE. This prevents speculative execution from proceeding past this point.
pub fn speculation_barrier()Insert a full speculation barrier.
On x86_64, emits LFENCE. On AArch64, DSB SY + ISB. On RISC-V, FENCE. This prevents speculative execution from proceeding past this point.