C2's unaryOp vector intrinsic does not properly handle LongVector.neg

    IssueFix VersionAssigneePriorityStatusResolutionResolved In Build
    JDK-828056217.0.3-oracle Tobias HartmannP3ResolvedFixedb04
    JDK-828120517.0.3 Goetz LindenmaierP3ResolvedFixedb01

      Executing jdk/incubator/vector/* with -XX:+UnlockExperimentalVMOptions -XX:PerMethodSpecTrapLimit=0 -XX:PerMethodTrapLimit=0 triggers:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/oracle/jdk/open/src/hotspot/share/prims/vectorSupport.cpp:297), pid=496845, tid=496853
      # fatal error: NEG: long

      Current CompileTask:
      C2: 21564 1175 % b Long128VectorTests::NEGLong128VectorTests @ 50 (115 bytes)

      Stack: [0x00007f1c1e037000,0x00007f1c1e138000], sp=0x00007f1c1e132840, free space=1006k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x191d4d5] VectorSupport::vop2ideal(int, BasicType)+0x6b5
      V [libjvm.so+0x190df41] LibraryCallKit::inline_vector_nary_operation(int)+0x7d1
      V [libjvm.so+0x12750e2] LibraryIntrinsic::generate(JVMState*)+0x302
      V [libjvm.so+0x8262d0] CallGenerator::do_late_inline_helper()+0xab0
      V [libjvm.so+0x9fea4d] Compile::inline_incrementally_one()+0x33d
      V [libjvm.so+0x9fedaf] Compile::inline_incrementally(PhaseIterGVN&)+0x18f
      V [libjvm.so+0x9ffa09] Compile::Optimize()+0x5e9
      V [libjvm.so+0xa026ae] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x159e
      V [libjvm.so+0x81d2b6] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x646
      V [libjvm.so+0xa12ae9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xd09
      V [libjvm.so+0xa13788] CompileBroker::compiler_thread_loop()+0x518
      V [libjvm.so+0x1887f5c] JavaThread::thread_main_inner()+0x27c
      V [libjvm.so+0x188e510] Thread::call_run()+0x100
      V [libjvm.so+0x156de34] thread_native_entry(Thread*)+0x104

        backported by

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8280562C2's unaryOp vector intrinsic does not properly handle LongVector.neg

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8281205C2's unaryOp vector intrinsic does not properly handle LongVector.neg

        • P3 - Major loss of function.
        • Resolved
        relates to

        Sub-task - The sub-task of the issueJDK-8223347Integration of Vector API (Incubator)

        • P4 - Minor loss of function, or other problem where easy workaround is present.
        • Resolved

        Bug - A problem which impairs or prevents the functions of the product.JDK-8277449compiler/vectorapi/TestLongVectorNeg.java fails with release VMs

        • P3 - Major loss of function.
        • Resolved
        links to

        CommitCommitopenjdk/jdk17u-dev/f7235889

          CommitCommitopenjdk/jdk/47564cae

            ReviewReviewopenjdk/jdk17u-dev/139

              ReviewReviewopenjdk/jdk/6428

                (3 links to)