Re:Garbage Collectors Are Scary
by professoretc on Sunday May 12, 2024 @03:09PM
(#40336712)
The problem is that if you call another function, you won't know whether that function is uses any instructions that require alignment. So in practice, only leaf functions can skip stack alignment. The ABI states that the stack pointer must be aligned to a multiple of 16, plus 8, before any `call` instruction.
[ Parent
| on HN ]
There are no comments on this comment yet.