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

On Intel VM does not handle the %mxcsr register correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: