RFR: 8278623: compiler/vectorapi/reshape/TestVectorCastAVX512.java after JDK-8259610
Vladimir Kozlov
kvn at openjdk.java.net
Wed Dec 15 21:55:57 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.
Yes, splitting bytes testing is good idea because jtreg's filter `@requries` uses command line flags.
I thought that Vector API filters would filter such tests. But looks like `VectorReshapeHelper.runMainHelper()` does not run with command line flags. I used `@run main` to solve that but filters still does not work. I am not sure it is a bug or feature.
Anyway, I run your patch locally and testing passed. I submitted regular testing and I will let you know results before approval.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6852
More information about the hotspot-compiler-dev
mailing list