RFR: 8278623: compiler/vectorapi/reshape/TestVectorCastAVX512.java after JDK-8259610
Paul Sandoz
psandoz at openjdk.java.net
Wed Dec 15 23:05:02 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.
test/hotspot/jtreg/compiler/vectorapi/reshape/utils/VectorReshapeHelper.java line 311:
> 309: @ForceInline
> 310: private static <U> void writeVector(VectorSpecies<U> osp, Vector<U> vector, Object output) {
> 311: var otype = osp.elementType();
This code suggests we are missing Object-based array store method to compliment the Object-based array load method.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6852
More information about the hotspot-compiler-dev
mailing list