csdb
Consumption of Speculative Data Barrier
CSDB
Prevents speculative data consumption.
Details
Consumption of Speculative Data Barrier. Prevents speculative consumption of data values (e.g., use of speculatively loaded values in address calculations or control flow). Acts as a lighter-weight barrier than SB, constraining only data-dependent speculation. Does not affect condition flags. AArch64-only.
Pseudocode Operation
SpeculativeDataBarrier()
Example
CSDB
Encoding
Binary Layout
11010101000000110010
0010
100
11111
Operands
Reference (Arm A64 ISA)
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0xD503229F | CSDB | A64 | 11010101000000110010 | 0010 | 100 | 11111 |
Description
Consumption of Speculative Data Barrier is a memory barrier that controls speculative execution arising from data value prediction. For more information and details of the semantics, see Consumption of Speculative Data Barrier (CSDB).
Operation
ConsumptionOfSpeculativeDataBarrier();