On 03/09/2018 11:28 AM, Mason wrote:
IIUC, it's the callee's responsibility to align the stack.
On GNU, the caller has to provide 16-byte alignment. Beyond that, the callee has to do its own thing, but it can (and will) assume 16 byte alignment (i.e., %rsp + 8 is a multiple of 16).
Thanks, Florian