On Intel VM does not handle the %mxcsr register correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: hotspot
    • b45
    • x86
    • solaris_8

      On systems which support it, the server compiler uses the SSE
      instructions. The operation of these instructions depends on
      the setting of the %mxcsr register. Currently the VM assumes
      that the %mxcsr register is set correctly at VM startup and does
      not change. However the Intel SVR4 ABI does mandate a particular
      setting for this register and implies that it is volatile across
      function calls. The VM needs to be changed to properly initialize the
      %mxcsr register and restore the setting at any point where it may have
      changed.

      This problem exists on 32-bit Intel platforms as well as Linux on
      AMD64. On AMD64 Windows, this register is required to be maintained
      at the correct value.

            Assignee:
            Steve Dever (Inactive)
            Reporter:
            Steve Dever (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: