[vector] Fwd: [PATCH] Elemental shifts and rotates speedup

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Thu May 30 09:14:55 UTC 2019


Forwarding to panama-dev@ for review.

Best regards,
Vladimir Ivanov

-------- Forwarded Message --------
Subject: 	[PATCH] Elemental shifts and rotates speedup
Date: 	Thu, 16 May 2019 02:11:30 +0000
From: 	Bhateja, Jatin <jatin.bhateja at intel.com>
To: 	hotspot-compiler-dev at openjdk.java.net 
<hotspot-compiler-dev at openjdk.java.net>

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