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

Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU

XMLWordPrintable

    • b13
    • x86
    • generic

        Some tests fail with:

        # Internal Error (/home/rkennke/src/openjdk/jdk-jdk/src/hotspot/cpu/x86/assembler_x86.cpp:3819), pid=5051, tid=5055
        # Error: assert(VM_Version::supports_sse4_1()) failed

        When running hotspot/jtreg:tier1 on my ThreadRipper 1950X box. On Intel box, this works fine. It looks like it attempts to generate fast_sha1 stubs, which use Assembler::pinsrd() but then runs into supports_sse4_1().

        I suspect the issue is two-fold:
        - It should not generate that stub, using that instructions, on CPU that really do not support the required SSE4.1 instruction set.
        - It should detect that TR CPU does, infact, support SSE 4.1

        The failing tier1 tests are:
        compiler/c1/Test6579789.java
        compiler/c1/Test6855215.java
        compiler/cpuflags/TestSSE4Disabled.java

              rkennke Roman Kennke
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: