[vectorIntrinsics] RFR: Load/store short vectors from/to char[]
Viswanathan, Sandhya
sandhya.viswanathan at intel.com
Mon Nov 16 22:47:58 UTC 2020
Hi Paul,
Would we need to add support for unsigned comparisons on short and byte vectors?
Best Regards,
Sandhya
-----Original Message-----
From: panama-dev <panama-dev-retn at openjdk.java.net> On Behalf Of Paul Sandoz
Sent: Monday, November 16, 2020 9:40 AM
To: panama-dev at openjdk.java.net
Subject: [vectorIntrinsics] RFR: Load/store short vectors from/to char[]
Methods to load/store a `ShortVector` from/to `char[]`. These methods may be useful for encoding/decoding characters.
Unclear if aliasing of `char[]` and `short[]` causes issues for the intrinsic or for Hotspot code gen.
Testing-wise, it was easier to explicitly clone and reify the relevant tests rather than trying to generalize the template and its template arguments to distinguish between the vector type and the array type.
-------------
Commit messages:
- Load/store short vectors from/to char[]
Changes: https://git.openjdk.java.net/panama-vector/pull/22/files
Webrev: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=22&range=00
Stats: 2782 lines in 69 files changed: 2279 ins; 496 del; 7 mod
Patch: https://git.openjdk.java.net/panama-vector/pull/22.diff
Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/22/head:pull/22
PR: https://git.openjdk.java.net/panama-vector/pull/22
More information about the panama-dev
mailing list