[vectorIntrinsics] RFR: VectorMask.intoArray intrinsics
Mai Đặng Quân Anh
duke at openjdk.java.net
Thu Nov 4 06:35:47 UTC 2021
Hi,
This small patch applies intrinsics for `VectorMask.intoArray`. This uses the existing `VectorSupport.store` with the signature changes similar to `VectorSupport.load`.
`VectorMask.intoArray` implementation is moved to each concrete class, `VectorMask.toArray` implementation is changed similar to `Vector.toArray`, avoiding referring to `getBits`.
In the hotspot, a small change is made to wrap the node in a `VectorStoreMask` node before passing it to `StoreVectorNode`, similar to how `VectorMask.fromArray` is handled there.
Thank you very much.
-------------
Commit messages:
- move methods to concrete classes
- intrinsics for VectorMask.toArray
Changes: https://git.openjdk.java.net/panama-vector/pull/160/files
Webrev: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=160&range=00
Stats: 425 lines in 35 files changed: 410 ins; 2 del; 13 mod
Patch: https://git.openjdk.java.net/panama-vector/pull/160.diff
Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/160/head:pull/160
PR: https://git.openjdk.java.net/panama-vector/pull/160
More information about the panama-dev
mailing list