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

Christian Hagedorn chagedorn at openjdk.java.net
Thu Dec 16 09:39:00 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.

IR tests look good!

test/hotspot/jtreg/compiler/vectorapi/reshape/TestVectorCastAVX512BW.java line 32:

> 30: /*
> 31:  * @test
> 32:  * @bug 8259610

Should be changed to 8278623 or added as second bug number.

test/hotspot/jtreg/compiler/vectorapi/reshape/utils/TestCastMethods.java line 34:

> 32: /**
> 33:  * The cast intrinsics implemented on each platform, commented out tests are the ones that are
> 34:  * supposed to work but currently don't.

Maybe you can add again the reason for the commented out `makePair()` calls.

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

Marked as reviewed by chagedorn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list