RFR: 8363989: AArch64: Add missing backend support of VectorAPI expand operation [v2]

Emanuel Peter epeter at openjdk.org
Fri Sep 5 06:46:13 UTC 2025


On Fri, 5 Sep 2025 06:30:30 GMT, erifan <duke at openjdk.org> wrote:

>> Since we already have correctness tests for `expand` on **all vector types** under `test/jdk/jdk/incubator/vector/`, such as https://github.com/openjdk/jdk/blob/986ecff5f9b16f1b41ff15ad94774d65f3a4631d/test/jdk/jdk/incubator/vector/Byte128VectorTests.java#L5375, this test primarily verifies that the expected IR is generated. So, I think this is sufficient?
>> 
>> I've tested this PR locally on a 128-bit SVE2 machine, a 256-bit SVE machine, and a 512-bit QEMU environment, and all tests passed.
>
> By the way, `vector_length_in_bytes` doesn't affect the IR generation.

Ok, that sounds good, as long as we test all vector types elsewhere already :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26740#discussion_r2324243461


More information about the hotspot-compiler-dev mailing list