Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv32: align stack pointer to 16-bytes
Even though rv32 is only 32-bits, all RISC-V stacks must be aligned to a 16-byte boundary. For discussion on this, see: riscv-non-isa/riscv-elf-psabi-doc#21 As an example of why this is important, the `c.addi16sp` compressed instruction is only able to adjust the stack pointer by 16-byte increments. Signed-off-by: Sean Cross <[email protected]>
- Loading branch information