[PATCH] D126392: [RISCV] Use two ADDIs to do some stack pointer adjustments.

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 10:09:22 PDT 2022


jrtc27 added a comment.

For reference, this is the exact text in the psABI spec:

> In the standard ABI, the stack pointer must remain aligned throughout procedure execution. Non-standard ABI code must realign the stack pointer prior to invoking standard ABI procedures. The operating system must realign the stack pointer prior to invoking a signal handler; hence, POSIX signal handlers need not realign the stack pointer. In systems that service interrupts using the interrupteeā€™s stack, the interrupt service routine must realign the stack pointer if linked with any code that uses a non-standard stack-alignment discipline, but need not realign the stack pointer if all code adheres to the standard ABI.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126392/new/

https://reviews.llvm.org/D126392



More information about the llvm-commits mailing list