logoalt Hacker News

cmovqyesterday at 6:50 PM1 replyview on HN

That makes sense. LLVM could probably do better here by using the memory operand version:

https://godbolt.org/z/jeqbaPsMz


Replies

jxorsyesterday at 10:17 PM

The memory operand version tends to be as slow or slower than the manual implementation, so LLVM is right to avoid it.