Integrated: 8267370: [Vector API] Fix several crashes after JDK-8256973
Jie Fu
jiefu at openjdk.java.net
Fri May 21 00:02:36 UTC 2021
On Wed, 19 May 2021 08:26:24 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> Hi all,
>
> Several vector tests fail with UseAVX=1 after JDK-8256973.
> The reason is that `vpmovmskb` [1] can be only used with UseAVX > 1 [2].
> The fix just disables the intrinsics when UseAVX < 2.
>
> Testing:
> - jdk/incubator/vector with UseAVX={0/1/2/3} on Linux/x64
>
> Thanks.
> Best regards,
> Jie
>
> [1] https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp#L3785
> [2] https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x86/assembler_x86.cpp#L4127
This pull request has now been integrated.
Changeset: 7a63ff70
Author: Jie Fu <jiefu at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7a63ff70c8eed6c5bfad5655f0f4fa2281b4e104
Stats: 9 lines in 5 files changed: 1 ins; 0 del; 8 mod
8267370: [Vector API] Fix several crashes after JDK-8256973
Co-authored-by: Jatin Bhateja <jbhateja at openjdk.org>
Reviewed-by: neliasso, kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/4109
More information about the hotspot-compiler-dev
mailing list