Repository navigation
merge queue: checking #1716 + #1679 together on master (b811bbc), stacked on #1704 - #1719
Closed
mergify[bot] wants to merge 7 commits into
Closed
mergify[bot] wants to merge 7 commits into
mergify[bot] wants to merge 7 commits into
Conversation
…uctions Basic scalar floating-point operations previously became native helper calls. Preserve the existing precision-aware SIR operations in dedicated FloatBinary/FloatUnary MIR instructions and emit SSE2 on x86-64 and floating-point instructions on AArch64. Cranelift now also lowers typed FP operations directly; Wasm already did. Cover f32/f64 arithmetic, comparisons, negation, truth conversion, and precision conversion. Track MIR operands, scheduling, memory effects, and x86 scratch-register clobbers so live scalar and SIMD values remain intact. Keep helpers for remainder, power, and integer conversions requiring existing rounding/modulo behavior. The native image ABI is unchanged. Validation: - 614 x86 backend tests, 49 AArch64 backend tests, and 34 Cranelift/Wasm tests passed. - 177 focused integration tests passed across FP execution/display, SystemVerilog FP, native MIR, fresh-process native images, and shared JIT caches; existing Veryl exclusions retained. - Regression tests verify helper-free basic FP lowering, NaNs, signed zero, infinities, subnormals, register pressure, and SIMD scratch clobbers. - Affected crates pass clippy; formatting and diff checks pass. - AArch64 instruction selection and exact emitted encodings were tested locally; AArch64 execution was unavailable on this x86 host. Refs #1654 Change-Id: I2c4c14a1a72869a91174315d6b08aa90576f05f7
Testbench string variables now hold 32-bit handles into a per-simulator heap instead of keys into a side table. This is the first step of the shared string/class runtime design (#1400): one heap, handles that stay position independent, and a collector whose roots are the typed handle slots of state memory. - Add `celox-heap`: interned, immutable strings, so equal contents have equal handles and stores, commits, change detection and `==` stay integer operations. Handle 0 is `""`, the value of zero-initialized memory. A mark-sweep collection frees strings no root refers to. - Record each state object's value kind in `VariableMetadata`. Veryl `string` elements become 32-bit two-state handle slots. - The testbench VM loads and stores handles in those slots. Collections run between sequential statements and between concurrent process polls, with the saved temporaries of suspended processes as extra roots. This also gives each process its own string temporaries, which the old side table shared. - Checkpoints keep the heap. State files record referenced strings by contents in a new strings section and re-intern them on load, so they no longer reject testbench strings and stay portable between builds. - VCD output leaves handle slots out until strings have a waveform representation. BREAKING CHANGE: `celox_testbench::TestbenchStrings` and `CompiledExpr::eval_with_strings` are removed; evaluate with `CompiledExpr::eval_with_heap` and a `celox_heap::Heap`. State files that contain strings set a new flag and are not readable by older builds. Refs #1400 Change-Id: Idff2d83dfd8e9a4e706f73087b77d6292a1b990a
Change-Id: I868d65d3f0f9527010f67146660ec5f9dd7025fb
Change-Id: I356155fb36b2b866435aee3872d4c67dda29963c
This was referenced Oct 22, 2026
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.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch internal-galet-8ixp0l of the
changesqueue, to test #1716 and #1679 before they merge intomaster. Pushing to this branch or closing this pull request removes them from the queue.What this draft tests
Mergify checks that #1716 and #1679 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masteratb811bbc2f428d4The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the pull request ahead, so a failure here can come from it as much as from #1716 + #1679. See only this batch's changes.
Queued ahead of this batch
This pull request entered the queue before this batch and is not part of it.
Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit title