[vectorIntrinsics] [PATCH] Elemental shifts and rotates speedup

Bhateja, Jatin jatin.bhateja at intel.com
Thu May 16 02:41:31 UTC 2019


Hi All,

Please find a patch having following changes:-

A)      Intrinsification of two vector APIs:

1)      VectorShuffle.shuffleIota(VectorSpecies,  int)

2)      VectorShuffle.toVector()

B)      Re-implimentation of following vector APIs using above intrinsified APIs.

1)      Vector.shiftLanesLeft(int)

2)      Vector.shiftLanesRight(int)

3)      Vector.rotateLanesLeft(int)

4)      Vector.rotateLanesRight(int)

With this we see around ~2X gains in elemental shifts and rotate operations.
Webrev: http://cr.openjdk.java.net/~kkharbas/Jatin/rotate_and_shift_lanes/webrev.00/

Kindly review the patch.

Best Regards,
Jatin




More information about the panama-dev mailing list