RFR: 8266317: Vector API enhancements [v4]

Paul Sandoz psandoz at openjdk.java.net
Tue Jun 1 18:07:47 UTC 2021


> This PR contains API and implementation changes for [JEP-414 Vector API (Second Incubator)](https://openjdk.java.net/jeps/414), in preparation for when targeted.
> 
> Enhancements are made to the API for the support of operations on characters, such as for UTF-8 character decoding. Specifically, methods for loading/storing a `short` vector from/to a `char[]` array, and new vector comparison operators for unsigned comparisons with integral vectors. The x64 implementation is enhanced to supported unsigned comparisons.
> 
> Enhancements are made to the API for loading/storing a `byte` vector from/to a `boolean[]` array.
> 
> The testing of loads/stores can be expanded for scatter/gather, but before doing that i think some refactoring of the tests is required to reposition tests in the right classes. I would like to do that work after integration of the PR.

Paul Sandoz has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:

 - Merge remote-tracking branch 'upstream/master' into JDK-8266317-vector-api-enhancements
 - JavaDoc refs for unsigned operators.
 - Rename method.
 - Minor clarifications to the specification.
 - 8266317: Vector API enhancements

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

Changes: https://git.openjdk.java.net/jdk/pull/3803/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3803&range=03
  Stats: 10016 lines in 121 files changed: 9084 ins; 190 del; 742 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3803.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3803/head:pull/3803

PR: https://git.openjdk.java.net/jdk/pull/3803


More information about the core-libs-dev mailing list