perspectives on streams performance

Andrew Haley aph at
Fri Mar 6 08:51:53 UTC 2015

On 06/03/15 01:01, John Rose wrote:

> Proper vectorization of both forms of loops, at least for arraywise
> elemental operations, searches, and reductions.  This would include
> issuing the best vectorizing instructions available for the platform
> (I'm thinking Haswell, etc.).

An aside:

I've been pretty disappointed with HotSpot's vectorization so far.  In
the cases I've tried (just kicking the tyres, really) it hasn't done
much.  My core problem is that I don't know what kind of loops are
supposed to be vectorized, so I don't know when I've found a missed
optimization which should have been done.  And also, I don't know why
it hasn't been done.


More information about the hotspot-compiler-dev mailing list