logoalt Hacker News

ashton314today at 7:27 PM1 replyview on HN

In the article, Mitchel mentions how this doesn’t always work. In fact, as someone who’s worked in compiler development, I can say it’s a small miracle when it does work.


Replies

mitchellhtoday at 7:40 PM

Case-in-point, the example in my own post doesn't auto-vectorize with LLVM or GCC at highest optimization levels. Basically, compilers will never auto-vectorize loops with an early loop break afaik.

show 1 reply