Lesley's Digital Garden

Home

❯

Notes

❯

branchless programming

branchless programming

Mar 14, 2024

  • parent : ../Concepts/performance-MOC
  • computing/performance/branchless

Branches that can’t be effectively predicted by CPU are costly because they can cause long pipeline stall.

Related to Data Parallel Programming

  • Branchless programming is important in SIMD since it doesn’t have branches in the first place
  • Branchless is also important for GPU programming where branch divergence hurts performance a lot

Resources

  • Branchless Programming - Algorithmica

Graph View

  • Related to Data Parallel Programming
  • Resources

Backlinks

  • performance MOC
  • pipeline hazard

Created with Quartz v4.5.2 © 2026. All notes are written in Obsidian.

  • GitHub Repository
  • Mastodon