RFR: 8266054: VectorAPI rotate operation optimization [v10]

Jatin Bhateja jbhateja at openjdk.java.net
Mon Jul 26 18:04:32 UTC 2021


On Mon, 26 Jul 2021 17:19:07 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

>> And'ing with shift_mask is already done on Java API side implementation before making a call to intrinsic rountine.
>
> @jatin-bhateja  This question is still pending.

Other than VectorAPI , SLP also infers vector rotates where shift is either a 8bit constant or variable shift present in vector. So this case of scalar non-constant shift will not be hit for non-vectorAPI case.
Also it will be illegal to perform any wrap around for shifts.

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

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


More information about the hotspot-compiler-dev mailing list