Repository navigation
merge queue: checking #1679 on master (9ed23e2), stacked on #1691 - #1699
Closed
mergify[bot] wants to merge 3 commits into
Closed
mergify[bot] wants to merge 3 commits into
mergify[bot] wants to merge 3 commits into
Conversation
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
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 assistant-compote-h1pgv6 of the
changesqueue, to test #1679 before it merges intomaster. Pushing to this branch or closing this pull request removes #1679 from the queue.What this draft tests
Mergify checks that #1679 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat9ed23e2cb906baThe check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
This batch comes from splitting a batch whose checks failed: Mergify checks smaller batches to find which pull request is responsible. The batches it was split from are listed below.
⏳ Where it stands: being checked
CI is running on this draft.
Waiting for
check-success = Queue validationmaster]check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @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-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.checks_timeout), Mergify removes #1679 from the queue and 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 #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.
Bisected from a failed batch:
Metadata for CI tooling, read by
mergify ciRequired conditions of queue rule
changesfor mergecheck-success = Queue validationmaster]:check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @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-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)check-success = Conventional Commit titlemaster]: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-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @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