RFR: 8309531: Incorrect result with unwrapped iotaShuffle.

Jatin Bhateja jbhateja at openjdk.org
Wed Jun 28 18:08:07 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

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

Commit messages:
 - Some code refactoring.
 - 8309531: Incorrect result with unwrapped iotaShuffle.

Changes: https://git.openjdk.org/jdk/pull/14700/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14700&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309531
  Stats: 131 lines in 2 files changed: 103 ins; 5 del; 23 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