Branches in branch-free code
Source code that avoids branches can still compile into secret-dependent branches—and that can reintroduce timing side channels. Frank Denis demonstrates this with constant-time bit-mask selection and 128-bit carry propagation on RISC-V: Clang 23 emits conditional branches for RV32/RV64 in cases where earlier versions or other compilers do not.
The post compares compiler versions and architectures, then shows RISC-V’s Zicond extension can eliminate the branches; its timing guarantee, however, also depends on Zkt. The practical warning is to inspect generated code for the exact compiler and target you ship, and recheck after compiler or flag changes. The Lobsters submission had no comments, so there are no reader reactions to report.