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

AArch64: When CallLeaf, no need to preserve callee-saved registers in caller

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      aarch64

      Description

      Currently all Floating-Point and SIMD Registers are defined as SOC registers in c calling convention on AArch64.
      As AArch64 ABI tells, the bottom 64 bits of v8-v15 are callee-saved.
      Aligns save-policy in c calling convention with AArch64 ABI could help eliminate unnecessary SOE registers spilling in caller across CallLeafNode.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jzhu Joshua Zhu
                Reporter:
                jzhu Joshua Zhu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: