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

CPUInfoTest fails because "serialize" CPU feature is not known

    XMLWordPrintable

Details

    • b15
    • x86

    Description

      Reported by Kosta Stojiljkovic <kostasto@proton.me>: https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2023-March/063466.html

      Support for this feature was added by JDK-8264543 which did update src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.amd64/src/jdk/vm/ci/amd64/AMD64.java but forgot this test.

      WB.getCPUFeatures(): "(1 cores per cpu, 2 threads per core) family 6 model 143 stepping 0 microcode 0xf0, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, avx512f, avx512dq, avx512cd, avx512bw, avx512vl, sha, fma, vzeroupper, avx512_vpopcntdq, avx512_vpclmulqdq, avx512_vaes, avx512_vnni, clflush, clflushopt, clwb, avx512_vbmi2, avx512_vbmi, serialize, rdtscp, rdpid, fsrm, gfni, avx512_bitalg, f16c, pku, ospke, cet_ibt, cet_ss, avx512_ifma"
      CPUInfo.getAdditionalCPUInfo(): "(1 cores per cpu, 2 threads per core) family 6 model 143 stepping 0 microcode 0xf0"
      CPUInfo.getFeatures(): [cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, avx512f, avx512dq, avx512cd, avx512bw, avx512vl, sha, fma, vzeroupper, avx512_vpopcntdq, avx512_vpclmulqdq, avx512_vaes, avx512_vnni, clflush, clflushopt, clwb, avx512_vbmi2, avx512_vbmi, serialize, rdtscp, rdpid, fsrm, gfni, avx512_bitalg, f16c, pku, ospke, cet_ibt, cet_ss, avx512_ifma]
      Well-known CPU features: [avx512_ifma, avx512vl, avx512_vpopcntdq, fsrm, sse4.1, sse4.2, tscinvbit, gfni, cx8, rdtscp, bmi1, bmi2, cmov, vzeroupper, f16c, ht, hv, tscinv, avx512_vaes, avx512_vnni, avx512dq, avx512_vbmi2, avx512_bitalg, rdpid, ssse3, cet_ibt, avx512pf, fma, clmul, avx512f, popcnt, avx512er, avx, mmx, avx512_vbmi, clflush, sse4a, erms, sse, sse2, sse3, 3dnowpref, adx, sha, lzcnt, rtm, fxsr, avx512bw, clflushopt, cet_ss, clwb, pku, avx512cd, avx2, avx512_vpclmulqdq, ospke, aes, tsc]
      STDERR:
      java.lang.RuntimeException: not all features are known: expected true, was false
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
      at CPUInfoTest.main(CPUInfoTest.java:94)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1623)

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: