[PATCH] Elemental shifts and rotates speedup

Bhateja, Jatin jatin.bhateja at intel.com
Thu May 16 02:11:30 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20190516/e325f2ea/attachment-0001.html>


More information about the hotspot-compiler-dev mailing list