RFR: 8309531: Incorrect result with unwrapped iotaShuffle. [v5]

Jatin Bhateja jbhateja at openjdk.org
Fri Jun 30 10:50:01 UTC 2023


> 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

Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:

  Review comments resolutions.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14700/files
  - new: https://git.openjdk.org/jdk/pull/14700/files/f8a5189a..1276f73d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14700&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14700&range=03-04

  Stats: 4 lines in 1 file changed: 1 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14700.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14700/head:pull/14700

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


More information about the hotspot-compiler-dev mailing list