Hacker News new | ask | show | jobs
by GrumpySloth 844 days ago
I’ve had rustc turn my branchless code consisting purely of bitwise operations into branching code. There was probably nothing rustc-specific about it. Just LLVM estimating that branches would be faster in that case.