Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

It seems like Clang is capable of doing this optimization:

> https://godbolt.org/z/oCQNbq



Neat! It didn't a few years ago.

This is most of the inner loop of a barycentric coordinate rasterizer, so I was pretty concerned about micro-optimizations when I was checking.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: