I've played around a bit with this today to see if we can fix the problem and still have gcc generate the nice, vectorized loop it does today (but without the movdqa of course), and this is what I have so far:

http://cr.openjdk.java.net/~mikael/webrevs/8141491/webrev.00/webrev/

I have not done any benchmarking to see what the effects are, nor have I tried it on any platform except linux-x86_64 so far, but at least it passes the unit tests there.

Feedback appreciated.

Cheers,
Mikael

On 2015-11-05 10:46, Brian Burkhalter wrote:
The follow-on issue which was filed to track the underlying issue is this:

https://bugs.openjdk.java.net/browse/JDK-8141491

As can be seen it is an alignment problem.

Brian

On Nov 5, 2015, at 4:57 AM, Alan Bateman <alan.bate...@oracle.com> wrote:

On 05/11/2015 04:19, Martin Buchholz wrote:
Alright, it's a much better situation if we're not giving up on fixing the 
underlying problem.

I agree and view this dialing down of the optimization level as temporary until 
the issue is understood.

Reply via email to