On Thu, 12 Nov 2026 05:07:18 GMT, Jatin Bhateja <[email protected]> wrote:
>> Hi All, >> >> COMPRESS_BITS and EXPAND_BITS advertise compatibility with all integral lane >> types, but ByteVector/ShortVector had no implementation and threw >> UnsupportedOperationException. >> >> This patch extends COMPRESS_BITS and EXPAND_BITS to the sub-word integral >> types byte and short, covering all integral types. >> >> The changes encompass: >> - Java-side fallback handling for ByteVector and ShortVector. >> - Inline expander side changes. >> - C2/VectorSupport type plumbing for T_BYTE/T_SHORT. >> - Extending Vector API jtreg tests to cover byte and short COMPRESS_BITS and >> EXPAND_BITS. >> >> Please review and share your feedback. >> >> Best Regards, >> Jatin >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Jatin Bhateja has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains six commits: > > - Review comments resolution > - Merge branch 'master' of https://github.com/openjdk/jdk into JDK-8392465 > - Merge branch 'master' of https://github.com/openjdk/jdk into JDK-8392465 > - Reveiw comments resolution > - Review comments resolution > - 8392465: [Vector API] VectorOperators.Operator::compatibleWith gives > incorrect results for COMPRESS_BITS and EXPAND_BITS Marked as reviewed by psandoz (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/33050#pullrequestreview-5877096840
