Conversation
Sub-word loads/stores (15 new WASM opcodes): - i32: load8_s/u, load16_s/u, store8, store16 - i64: load8_s/u, load16_s/u, load32_s/u, store8, store16, store32 - ARM encoding: LDRB/LDRSB/LDRH/LDRSH/STRB/STRH with Thumb-2 narrow/wide - Bounds checking works uniformly across all sub-word operations - 42 new tests (decoder, instruction selector, encoder) memory.size / memory.grow: - memory.size: LSR R10, #16 (R10 = memory bytes, /65536 for pages) - memory.grow: returns -1 on embedded (fixed memory cannot grow) Compilation chain rivet artifacts (4 new files, 40+ artifacts): - compilation-chain.yaml: CC-001..008 — full pipeline stages - kiln-builtins-api.yaml: KB-001..005, KB-TR-001..005 — C ABI bridge - static-linking.yaml: SL-001..007, SL-TR-001..003 — linker requirements - e2e-verification.yaml: E2E-VER-001..010 — end-to-end test plan 802 tests (up from 766), clippy clean, fmt clean. Implements: FR-002 Implements: FR-003 Trace: skip Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sub-word Memory Operations (15 new WASM opcodes)
memory.size / memory.grow
memory.size:LSR R10, #16(R10 = memory bytes, divide by 65536 for pages)memory.grow: returns -1 on embedded (fixed memory, cannot grow)Compilation Chain Rivet Artifacts (40+ artifacts across 4 files)
__meld_dispatch_importC ABI, per-import symbols,cabi_realloc,.meld_import_tableformat802 tests (up from 766)
Test plan
cargo test --workspace— 802 tests, 0 failurescargo clippy --workspace --all-targets -- -D warnings— cleancargo fmt --check— cleanrivet validate— 0 local errors (25 expected external cross-ref errors)🤖 Generated with Claude Code