Skip to content

Commit

Permalink
Move x registers from contexts to schedulers (fix atomvm#698)
Browse files Browse the repository at this point in the history
X registers are saved in context on context switching but are otherwise
allocated only once per scheduler thread, thus allowing up to 1024 registers
as the compiler allows

Signed-off-by: Paul Guyot <[email protected]>
  • Loading branch information
pguyot committed Nov 13, 2023
1 parent 18c498b commit fd9cc51
Show file tree
Hide file tree
Showing 30 changed files with 701 additions and 564 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed classes of exceptions in estdlib.
- Fixed STM32 code that was hard coded to the default target device, now configured based on the `cmake -DDEVICE=` parameter
- Fixed interpretation of live for opcodes, thus altering GC semantics for nifs. See also [UPDATING](UPDATING.md).
- Fixed a bug where the VM would crash when code used more than 16 x registers.

### Changed

Expand Down
Loading

0 comments on commit fd9cc51

Please sign in to comment.