Commit 2b33577
committed
Cargo.toml,README.md: Bump version to 0.4.1
Bug fixes:
- Fix integer overflow in local function calls by using checked
arithmetic for call offsets. Previously, certain call offset values
could cause an integer overflow/underflow.
- Fix 32-bit ALU operations (ADD32, SUB32, MUL32) to properly
zero-extend results. The result is now correctly cast to u32 before
extending to u64.
- Replace unimplemented!() panics with proper error messages for
unsupported instructions (XADD, TAIL_CALL), preventing unexpected
panics during execution.
- In the x86_64 JIT compiler, fix divisor handling in emit_muldivmod:
the JIT now correctly uses the is_reg flag to determine whether the
divisor is in a register or an immediate value, rather than checking
if imm != 0.
(These notes were mostly generated from the Git history by Claude Code.)
Signed-off-by: Quentin Monnet <qmo@qmon.net>1 parent 3aa1e6a commit 2b33577
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| |||
0 commit comments