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

[s390]: CPU feature detection (Vector Instructions) incomplete

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      10
    • Resolved In Build:
      b31
    • CPU:
      s390x
    • OS:
      generic

      Description

      [s390] provides an instruction to retrieve status information about all existing facilities (aka features). In most cases, this information is sufficient to decide if an instruction can be exploited.

      There exist some cases, however, where the CPU capability alone is not enough. The vector facility is such an example. It needs the operating system to support the additional registers in its data structures. If OS support is not available, each attempt to execute a vector instruction will raise a SIGFPE signal.

      During vm startup, after the facility list is retrieved, we test-execute a vector instruction if the vector facility is indicated available. The potential SIGFPE is caught and the feature is disabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lucy Lucy Schmidt
                Reporter:
                lucy Lucy Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: