База знаний / видео

Branchless computing in C++

Introduction to processor architecture (pipelining, memory latency)Execution of branches by hardware (branch prediction, speculative execution)Demonstration of the performance cost of branchingBranch optimizationConverting code to branchless execution