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

aarch64: C2 does not handle large stack offsets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • None
    • b77
    • aarch64
    • linux

    Backports

      Description

        MachSpillCopy in aarch64 does not handle large stack offset.

        In general the stack offset is limited to (1<<12) * sizeof(type). This is generally sufficient.

        However for 128 bit vectors the limit can be as little as +256 bytes. This is because 128 bit vectors may not be 128 bit aligned, therefore they have to use a different form of load/store which only has a 9 bit signed offset instead of the 12 bit unsigned scaled offset.

        This issue proposes rewriting the spill code to handle large (up to 1<<24) offsets.

        Attachments

          Issue Links

            Activity

              People

                enevill Ed Nevill
                enevill Ed Nevill
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 1 day
                    1d
                    Remaining:
                    Remaining Estimate - 1 day
                    1d
                    Logged:
                    Time Spent - Not Specified
                    Not Specified