> 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. > - Classifying CompressBits/ExpandBits as non-truncating in SuperWord so > subword stores of Integer.compress do not crash debug builds. > - 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 incrementally with one additional commit since the last revision: Review comments resolution ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33050/files - new: https://git.openjdk.org/jdk/pull/33050/files/dd320d8d..bb1237cd Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33050&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33050&range=00-01 Stats: 242 lines in 28 files changed: 176 ins; 2 del; 64 mod Patch: https://git.openjdk.org/jdk/pull/33050.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33050/head:pull/33050 PR: https://git.openjdk.org/jdk/pull/33050
