Integrated: 8309531: Incorrect result with unwrapped iotaShuffle.

Jatin Bhateja jbhateja at openjdk.org
Wed Jul 5 05:49:10 UTC 2023


On Wed, 28 Jun 2023 17:59:07 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> Patch fixes following two issues in iotaShuffle inline expander with unwrapped indices.
>  1) Disable intrinsification if effective index do not lie within byte value range.
>  2) Use GT predicate while computing comparison mask for all the indices above vector length.
> 
> No performance degradation seen with existing slice/unslice operations which internally calls wrapped iotaShuffle.
> 
> This interim patch addresses incorrectness around iotaShuffle till we introduce modified shuffle implementations
> with JDK-8310691.
> 
> Kindly review and share feedback.
> 
> Best Regards,
> Jatin

This pull request has now been integrated.

Changeset: d6578bff
Author:    Jatin Bhateja <jbhateja at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d6578bff1c69ebc165fc9734e6503bd2d5d021c2
Stats:     158 lines in 2 files changed: 128 ins; 5 del; 25 mod

8309531: Incorrect result with unwrapped iotaShuffle.

Reviewed-by: sviswanathan, xgong, thartmann

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

PR: https://git.openjdk.org/jdk/pull/14700


More information about the hotspot-compiler-dev mailing list