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

PPC64: Keep immediate value 0 cached into a register to improve performance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Other
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • ppc
    • generic

      Several times in the JVM interpreter and compile chain the immediate value 0 is loaded in a register in order to be used in some calculation. Performance can be improved if the zero value is kept cached in a register and left untouched, hence it can be used anytime when a 0 value is necessary. As PPC64 has many registers, this change doesn't increase spill pressure because there are still many registers available.

            gromero Gustavo Romero
            gromero Gustavo Romero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: