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

[PPC64] Try to reduce register definitions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 25
    • hotspot
    • None
    • b03
    • ppc

      With JDK-8351666 we get 398 MachRegisterNumbers elements in hotspot/variant-server/gensrc/adfiles/adGlobals_ppc.hpp.
      Some of these registers like R0 and R13 as well as VSR0-31 (aliases for F0-F31) are never allocated. We could try to remove these registers from the RegMask.

      A simpler solution would be to implement the 32 Vector Registers and remove the 64 Vector Scalar Registers (which are nothing else than 32 Floating Point Registers + 32 Vector Registers).
      Conversion functions between VectorRegister and VectorSRegister are already available.

            dbriemann David Briemann
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: