fn select<T: Copy>(m: bool, a: T, b: T) -> T
Helper for branchlessly selecting either a or b based on the boolean m. After verifying the generated assembly this can be a simple if.
a
b
m
if