[PPC64] Try to reduce register definitions

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 25
    • Component/s: 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.

            Assignee:
            David Briemann
            Reporter:
            Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: