Skip to content

Commit

Permalink
Move x registers from contexts to schedulers (fix #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 <pguyot@kallisys.net>
  • Loading branch information
pguyot committed Nov 22, 2023
1 parent c8ec0e2 commit e08480b
Show file tree
Hide file tree
Showing 30 changed files with 702 additions and 564 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed changed default to `AVM_USE_32BIT_FLOAT=on` for STM32 platform to enable use of single precision hardware FPU on F4/F7 devices.
- Fixed a bug where emscripten `register_*_callback/1` functions would use x[1] as second argument
- 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 e08480b

Please sign in to comment.