[lworld+vector] RFR: 8311675: [lworld+vector] Max Species support.

Jatin Bhateja jbhateja at openjdk.org
Thu Sep 28 18:14:09 UTC 2023


- Patch adds MaxSpecies support for all types of vectors.
- New factory methods and VectorPayload classes for various kinds of vector, shuffle and mask payloads.
- Summary of high level flow :-
  1/ Max species payloads encapsulate @multifield annotated field accepting -1 value as bundle size parameter.
  2/ For Vector payload bundle size is determined using maximum vector size supported by the target. 
  3/ For Shuffles and Masks payloads multifield bundle size is a function of maximum vector size and vector lane size.
  4/ Based on the dynamic bundle size parser creates a separate FieldInfo structure for each base and synthetic multifield and rest of the flow remains the same. 

Kindly review and share your feedback.

Best Regards,
Jatin

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

Commit messages:
 - [lworld+vector] Max Species support.

Changes: https://git.openjdk.org/valhalla/pull/931/files
 Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=931&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8311675
  Stats: 6621 lines in 55 files changed: 5906 ins; 282 del; 433 mod
  Patch: https://git.openjdk.org/valhalla/pull/931.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/931/head:pull/931

PR: https://git.openjdk.org/valhalla/pull/931



More information about the valhalla-dev mailing list