sb

Speculation Barrier

SB

Prevents speculative execution across the barrier.

Details

Speculation Barrier. Prevents speculative execution from proceeding past this instruction. Acts as a full serializing barrier for speculative load operations; no younger instruction can execute until all older instructions have completed. Does not affect condition flags. AArch64-only; no privilege requirement.

Pseudocode Operation

SpeculationBarrier()

Example

SB

Encoding

Binary Layout
11010101000000110011
0000
1
11
11111
 
Format System Hint
Opcode 0xD50330FF
Extension Base (v8.0+)

Operands

Reference (Arm A64 ISA)

Instruction Forms

Encoding Instruction ISA Bit pattern
0xD50330FF SB A64 11010101000000110011 | 0000 | 1 | 11 | 11111

Description

Speculation Barrier is a barrier that controls speculation. For more information and details of the semantics, see Speculation Barrier (SB).

Operation

SpeculationBarrier();