Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256220

C1: x86_32 fails with -XX:UseSSE=1 after JDK-8210764 due to mishandled lir_neg

XMLWordPrintable

    • b25

        Like this:

        $ CONF=linux-x86-server-fastdebug make images run-test TEST=tier1 TEST_VM_OPTS="-XX:UseSSE=1"

        # Internal Error (/home/shade/trunks/jdk/src/hotspot/cpu/x86/c1_LinearScan_x86.cpp:794), pid=1484789, tid=1484820
        # assert(false) failed: missed a fpu-operation
        #
        # JRE version: OpenJDK Runtime Environment (16.0) (fastdebug build 16-internal+0-adhoc.shade.jdk)
        # Java VM: OpenJDK Server VM (fastdebug 16-internal+0-adhoc.shade.jdk, mixed mode, tiered, g1 gc, linux-x86)
        # Problematic frame:
        # V [libjvm.so+0x6d6300] FpuStackAllocator::handle_op2(LIR_Op2*)+0xf0

        Amending that assert implies we miss "neg". I believe it was missed when JDK-8210764 changed lir_neg from LIR_Op1 to LIR_Op2.

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: