Re:Why is 2 * (i * i) faster than 2 * i * i in Java?
by Sharlin on Saturday December 01, 2018 @09:12AM
(#18576825)
Assuming you unroll just enough to fill a SIMD lane. As mentioned, in this case aggressive (16-fold) unfolding actually appears to have prevented vectorization. (A smart enough vectorizer could of course handle this but unrolling just to ”re-roll” in a later pass doesn’t sound very smart.)
[ Parent
| on HN ]
There are no comments on this comment yet.