4 ms·
It seems like Clang is capable of doing this optimization: > https://godbolt.org/z/oCQNbq https://godbolt.org/z/oCQNbq
by adrian17 7y ago
It seems like Clang is capable of doing this optimization:
> https://godbolt.org/z/oCQNbq https://godbolt.org/z/oCQNbq
- monocasa 7y agoNeat! 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.