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

Factor out calculation of actual number of XMM registers

XMLWordPrintable

    • b17
    • x86

      Depending on the availability of certain extensions to the x86 instruction set, different amounts of xmm registers are available.

      The existing compiler code has this calculation of actual number of available xmm registers copy&pasted multiple times.

      Factor this out in a single method and use appropriately.

      This should also fix a compilation error with no C1 added after JDK-8283327.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: