Recently a PR has been created to add VectorAPI support for Float16 type which is still under upstream review - https://github.com/openjdk/jdk/pull/28002
While testing this patch on aarch64 machines, two of the following JTREG tests fail -
jdk/incubator/vector/Float16Vector512Tests.java
compiler/vectorapi/TestFloat16VectorOperations.java
with the following error -
o636 ConvHF2F === _ o637 [[ o293 358 ]] #float
--N: o636 ConvHF2F === _ o637 [[ o293 358 ]] #float
--N: o637 CastII === o917 o926 [[ o636 ]] #short unconditional dependency
IREGI 0 castII
IREGIORL2I 0 IREGI
--N: o926 Phi === o917 o871 o944 [[ o637 ]] #short
IREGI 0 IREGI
IREGINOSP 0 IREGINOSP
IREGI_R0 0 IREGI_R0
IREGI_R2 0 IREGI_R2
IREGI_R3 0 IREGI_R3
IREGI_R4 0 IREGI_R4
IREGIORL2I 0 IREGI
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/bhakil01/JDK/jdk_gerrit/jdk/src/hotspot/share/opto/matcher.cpp:1641), pid=2002585, tid=2002610
# assert(false) failed: bad AD file
#
# JRE version: OpenJDK Runtime Environment (26.0) (fastdebug build 26-internal-adhoc.bhakil01.jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 26-internal-adhoc.bhakil01.jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x1443ad8] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x838
#
While testing this patch on aarch64 machines, two of the following JTREG tests fail -
jdk/incubator/vector/Float16Vector512Tests.java
compiler/vectorapi/TestFloat16VectorOperations.java
with the following error -
o636 ConvHF2F === _ o637 [[ o293 358 ]] #float
--N: o636 ConvHF2F === _ o637 [[ o293 358 ]] #float
--N: o637 CastII === o917 o926 [[ o636 ]] #short unconditional dependency
IREGI 0 castII
IREGIORL2I 0 IREGI
--N: o926 Phi === o917 o871 o944 [[ o637 ]] #short
IREGI 0 IREGI
IREGINOSP 0 IREGINOSP
IREGI_R0 0 IREGI_R0
IREGI_R2 0 IREGI_R2
IREGI_R3 0 IREGI_R3
IREGI_R4 0 IREGI_R4
IREGIORL2I 0 IREGI
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/bhakil01/JDK/jdk_gerrit/jdk/src/hotspot/share/opto/matcher.cpp:1641), pid=2002585, tid=2002610
# assert(false) failed: bad AD file
#
# JRE version: OpenJDK Runtime Environment (26.0) (fastdebug build 26-internal-adhoc.bhakil01.jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 26-internal-adhoc.bhakil01.jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x1443ad8] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x838
#
- relates to
-
JDK-8370691 Add new Float16Vector type and enable intrinsification of vector operations supported by auto-vectorizer
-
- Open
-