Skip to content
hpcnotes
Loading…
HPC·Instruction-Level Parallelism
2026.09.11· 1 min

Branchless Programming

CMOV, masks, and arithmetic selects. Use them where the predictor loses, not everywhere.
The Cost of Branching........................................................................................................................................................................................................Previous
Instruction Tables........................................................................................................................................................................................................Next
#hpc
Pipeline Hazards........................................................................................................................................................................................................2026.09.11
The Cost of Branching........................................................................................................................................................................................................2026.09.11
Instruction Tables........................................................................................................................................................................................................2026.09.11
Instruction Scheduling........................................................................................................................................................................................................2026.09.11
Throughput Computing........................................................................................................................................................................................................2026.09.11
Suggest an editMarkdownHistory