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

Jie Fu jiefu at openjdk.java.net
Thu Apr 1 20:27:27 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

This pull request has now been integrated.

Changeset: 8bfdcaae
Author:    Jie Fu <jiefu at openjdk.org>
Committer: Sandhya Viswanathan <sviswanathan at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/8bfdcaae
Stats:     7 lines in 1 file changed: 4 ins; 3 del; 0 mod

8264427: StubRoutines::vectorizedMismatch is missing for C1 compiler after JDK-8264321

Reviewed-by: sviswanathan

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

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


More information about the panama-dev mailing list