[vectorIntrinsics] RFR: 8264427: StubRoutines::vectorizedMismatch is missing for C1 compiler after JDK-8264321

Sandhya Viswanathan sviswanathan at openjdk.java.net
Wed Mar 31 20:19:28 UTC 2021


On Tue, 30 Mar 2021 12:44:12 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> StubRoutines::vectorizedMismatch [1] is missing for C1 compiler if `#ifdef COMPILER2` is false.
> 
> This bug will cause jdk crash while building minimal VM due to the following incorrect code generated by C1.
> --------------------------------------------------------------------------------
>   74 rtcall StubRoutines::vectorizedMismatch()
> --------------------------------------------------------------------------------
>   0x00007fffee4f1809:   movabs $0x0,%r10                    ;   {runtime_call}
>   0x00007fffee4f1813:   callq  *%r10                        ;*invokestatic vectorizedMismatch {reexecute=0 rethrow=0 return_oop=0}
>                                                             ; - jdk.internal.util.ArraysSupport::mismatch at 33 (line 239)
> 
> Let's fix it
> 
> Thanks.
> Best regards,
> Jie
> 
> [1] https://github.com/openjdk/panama-vector/blob/vectorIntrinsics/src/hotspot/cpu/x86/stubGenerator_x86_64.cpp#L6969

Marked as reviewed by sviswanathan (Committer).

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

PR: https://git.openjdk.java.net/panama-vector/pull/55


More information about the panama-dev mailing list