4 ms·
Oh right, I didn't think of looking for that, guess you're right and doing things by hand is still better
by atom3 5y ago
Oh right, I didn't think of looking for that, guess you're right and doing things by hand is still better
- Const-me 5y agoIt’s not terribly bad because CPUs are out-of-order. As far as I can tell, there’s no single dependency chain over all instructions in the loop body, some of these FMAs gonna run in parallel in your ISPC version. Still, I would expect manually-vectorized code to be slightly faster.