4 ms·
You can use __builtin_expect_with_probability with 0.5 to tell the compiler to be consistent in using a select rather than a branch.
by charleslmunger 1y ago
You can use __builtin_expect_with_probability with 0.5 to tell the compiler to be consistent in using a select rather than a branch.