You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement fixed-width integer casts comparisons and constant evaluation in Wave #352
enhancementNew feature or requestirIntermediate representation, builders, verification and lowering.semanticsDefined behavior, arithmetic, memory validity and traps.
Implement the shared Wave semantic routines for integer widths through 128 bits, boolean/comparison/shift/division rules, checked and truncating casts, and constant expressions. These routines serve folding and the bytecode engine without host-language undefined behavior.
Completion criteria
Cover every existing arithmetic boundary and trap, including division/remainder exceptions, signed minima, oversized shifts and checked conversion ranges.
Compare against independent mathematical vectors and the retained Rust reference; test wide integers without depending on host pointer width.
Global/constant evaluation is deterministic and bounded and returns structured sites/reasons on errors.
Delivery
Batch 4/8 — Wave execution semantics and verified passes in #335. Complete preceding batches first. Exactly one DCO commit per batch and one PR for all eight batches.
Scope correction from the maintainer: targets are source contributions like kernel architectures/drivers. Adding a target may update explicit core definitions, dispatch and Meson lists. Do not introduce an SDK, generic plugin system, automatic module registration or an out-of-tree no-core-change guarantee.
Wave-owned algorithms must execute in Wave; Rust may retain file/OS/CLI/object/link bridges and explicit test/reference implementations. Do not modify the separately owned Wave checkout or take over #100. Preserve existing supported behavior and limits.
enhancementNew feature or requestirIntermediate representation, builders, verification and lowering.semanticsDefined behavior, arithmetic, memory validity and traps.
Activity
ir: move execution semantics and verified passes to Wave
Move IR, assemblers and bytecode to Wave under Meson (#398)