RFR: 8279651: [vectorapi] Implement the missing intrinsics for casting from integrals on x64 [v6]
Vladimir Kozlov
kvn at openjdk.java.net
Thu Jan 13 00:11:24 UTC 2022
On Tue, 11 Jan 2022 13:40:54 GMT, Quan Anh Mai <duke at openjdk.java.net> wrote:
>> Hi,
>>
>> This patch implements the remaining casts from integral types on x64.
>>
>> Thank you very much.
>
> Quan Anh Mai has updated the pull request incrementally with two additional commits since the last revision:
>
> - Merge branch 'vLongToFD' of github.com:MeryKitty/jdk into vLongToFD
> - use movmskpd instead of ptest
I got failure in next tests when run with `-XX:UseAVX=3 -XX:+UnlockDiagnosticVMOptions -XX:+UseKNLSetting`:
compiler/vectorapi/reshape/TestVectorCastAVX512.java
compiler/codegen/TestLongDoubleVect.java
jdk/incubator/vector/VectorMaxConversionTests.java
jdk/incubator/vector/Vector64ConversionTests.java#id0
jdk/incubator/vector/Vector128ConversionTests.java
jdk/incubator/vector/Vector256ConversionTests.java
# Internal Error (/workspace/open/src/hotspot/cpu/x86/assembler_x86.cpp:2703), pid=31504, tid=31619
# Error: assert(VM_Version::supports_avx512dq()) failed
Current CompileTask:
C2: 1647 456 jdk.incubator.vector.AbstractVector$$Lambda$147/0x0000000801087788::apply (15 bytes)
Stack: [0x00007f8fc59a7000,0x00007f8fc5aa8000], sp=0x00007f8fc5aa2720, free space=1005k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x66a494] Assembler::kortestbl(KRegisterImpl*, KRegisterImpl*)+0x134
V [libjvm.so+0x8b3ba1] C2_MacroAssembler::vector_castL2FD(XMMRegisterImpl*, XMMRegisterImpl*, XMMRegisterImpl*, XMMRegisterImpl*, RegisterImpl*, KRegisterImpl*, BasicType, int, int)+0x141
V [libjvm.so+0x4316a0] vcastLtoFD_evexNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x280
V [libjvm.so+0x16484f8] PhaseOutput::scratch_emit_size(Node const*)+0x438
V [libjvm.so+0x163e968] PhaseOutput::shorten_branches(unsigned int*)+0x2e8
V [libjvm.so+0x165159a] PhaseOutput::Output()+0xc6a
V [libjvm.so+0xa93197] Compile::Code_Gen()+0x427
V [libjvm.so+0xa9f50e] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x166e
-------------
PR: https://git.openjdk.java.net/jdk/pull/7002
More information about the hotspot-compiler-dev
mailing list