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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • 10
    • b31
    • s390x
    • generic

      [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.

            lucy Lutz Schmidt
            lucy Lutz Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: