This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
forked from qmonnet/rbpf
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for dynamic stack frames
This change implements dynamic stack frames when config.dynamic_frame_size is set to true. When dynamic_frame_size=true, r11 is exposed as the stack pointer. The stack is fully descending, so `sub r11, N` can be used to grow it, and `add r11, N` to shrink it. Those are the only operations allowed on r11, which are special cased by the interpreter and jit to resize the stack. No other operations are allowed on the stack register.
- Loading branch information
1 parent
8e835fe
commit 01d13ed
Showing
8 changed files
with
617 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.