RFR: 8278623: compiler/vectorapi/reshape/TestVectorCastAVX512.java after JDK-8259610

Paul Sandoz psandoz at openjdk.java.net
Wed Dec 15 22:06:58 UTC 2021


On Wed, 15 Dec 2021 16:37:19 GMT, Mai Đặng Quân Anh <duke at openjdk.java.net> wrote:

> The problem is that loading vector from byte array requires the vector shape to support byte vector before the reinterpretation to the correct type. The failure to intrinsify seems to stop the compilation of the method, leads to IR verification failure. The patch simply changes the argument of vector cast methods to correct types.
> 
> Thanh you very much.

I think this update likely works around a bug when using `-XX:+UseKNLSetting` and the loading of 512-bit vectors, such as `IntVector` from `byte[]`. Hopefully the testing will confirm the workaround.

@jatin-bhateja could review the set of tests for each AVX variant, esp. for 512 bits and check if we are missing cases?

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

PR: https://git.openjdk.java.net/jdk/pull/6852


More information about the hotspot-compiler-dev mailing list