Add i64 support #1

Merged
nandi merged 4 commits from geordi/add-i64-support into main 2026-11-23 05:42:56 +00:00
4 Commits
Author SHA1 Message Date
nandi be020ca0ba Merge branch 'main' into geordi/add-i64-support 2026-11-23 05:42:46 +00:00
nandi 469326a5d0 Merge branch 'main' into geordi/add-i64-support 2026-11-21 11:37:28 +00:00
nandi cc8516a369 Add f32/f64 support (#2) 2026-11-21 09:56:35 +00:00
SpriteandClaude Sonnet 5.5 4c4fa91dc9 Add i64 support
Stack slots, locals and globals were already 8 bytes wide, so i64 is mostly
64-bit encodings of the existing i32 ops: constants, comparisons, arithmetic,
bitwise, shifts/rotates, div/rem (with zero and overflow traps), wrap/extend,
sign-extension ops, i64 loads/stores (incl. narrow forms) and 64-bit globals.
Adds examples/i64.wat, which self-checks and exits 0 on success.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 09:49:28 +00:00