logoalt Hacker News

MangoToupelast Saturday at 11:47 AM2 repliesview on HN

Well, yea. You need to describe your data flow in a way the CPU can take advantage of it. Compilers aren't magic.


Replies

Sharlinlast Saturday at 11:50 AM

That’s like saying that you have to describe your data flow in terms of gotos because the CPU doesn’t understand for loops and compilers aren’t magic. I don’t mean that autovectorization should just work (tm), I just mean that reasonable portable SIMD abstractions should not be this hard.

show 2 replies
mort96last Saturday at 1:29 PM

But why do you need to describe that data flow using non-portable assembly?