RFR: 8271589: fatal error with variable shift count integer rotate operation.

Jatin Bhateja jbhateja at openjdk.java.net
Mon Aug 2 18:21:30 UTC 2021


On Mon, 2 Aug 2021 16:24:20 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> I assume `TestLongVectRotate.java` should be also updated.
> 
> And you need add cases for Long type vector shifts if they can be generated.

Long rotates patterns with variable shifts i.e. Long.rotateLeft/Right(a[i], int_b[i]/ (int) long_b[i]) are not auto-vectorized currently.
Problem is only seen with rotation over integers.  I have kept the changes minimal as suggested earlier.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4956


More information about the hotspot-compiler-dev mailing list