r/programming • • Sep 03 '26

Branch‑Avoidant Programming

https://easylang.online/blog/branchless
254 Upvotes

92 comments sorted by

View all comments

Show parent comment

7

u/nukethebees Sep 03 '26

That’s a pretty heavy ask.

Are there many popular microarchitectures which don't have conditional move instructions? ARM and x86 have them and they comprise most of the general purpose CPU market.

1

u/OSS-Corpo-Shit Sep 03 '26

It is a heavy ask because by far most developers will respond to “you should have an idea of certain easy to exploit performance idioms” with

“thEReS IO InVolVeD. PRemAtURe OpTimizAtIoN.”