[jdk16] RFR: 8259213: Vector conversion with part > 0 is not getting intrinsic implementation

Sandhya Viswanathan sviswanathan at openjdk.java.net
Tue Jan 5 01:12:13 UTC 2021


Vector conversion with part > 0 is implemented using slice(origin, vector) instead of slice(origin).
The slice(origin) has intrinsic implementation whereas slice(origin, vector) doesn’t.
Slice(origin) is written using vector API methods like rearrange and blend which all have intrinsic implementations.
Also, VectorIntrinsics.VECTOR_ACCESS_OOB_CHECK code is missing from rearrange checkIndexes.

Please review this patch which fixes the above issue.

Best Regards,
Sandhya

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

Commit messages:
 - 8259213: Vector conversion with part > 0 is not getting intrinsic implementation

Changes: https://git.openjdk.java.net/jdk16/pull/79/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk16&pr=79&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259213
  Stats: 8 lines in 2 files changed: 6 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/79.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/79/head:pull/79

PR: https://git.openjdk.java.net/jdk16/pull/79


More information about the core-libs-dev mailing list