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

Incorrect stack spilling in CallArranger on MacOS/AArch64

XMLWordPrintable

      Consider a C function like this:

      void f(int, int, int, int, int, int, int, int, char x, short y);

      In the standard AArch64 ABI x and y get spilled to the stack as eight byte quantities (as if they were assigned to a register and then spilled) but in the Mac ABI they are spilled to the stack with their original size and natural alignment. AArch64 CallArranger needs to handle this difference.

            jvernee Jorn Vernee
            ngasson Nick Gasson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: