Skip to content

perf(x86): validate wide values at mutation boundaries - #2205

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-interface-array-parameters/validate-wide-values-mutation-boundaries--ef6ae975
Oct 26, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-interface-array-parameters/validate-wide-values-mutation-boundaries--ef6ae975

Conversation

@tignear

@tignear tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Debug ISel scanned the entire growing wide-value map after every instruction. Large process functions consequently repeated the same invariant checks quadratically. Validate the changed entry in set_wide_chunks, the only insertion path, and scan the complete map once before extracting it for phi construction.

Retain all width and chunk-count invariants. Release behavior, HDL optimization levels and generated instruction selection are unchanged. Add a debug-only 128-value regression that counts invariant checks rather than asserting wall-clock time.

Validation covers 620 x86 crate tests and 5,700 SystemVerilog/diagnostic tests (20 existing skips), affected clippy with warnings denied, formatting and diff checks. Full VCU108 and HTG9200 compiles still exceeded 300 seconds in the implementation snapshot: this removes a quadratic debug check but does not claim to resolve the board-level timeout or demonstrate an end-to-end speedup.

Depends-On: #2204

Debug ISel scanned the entire growing wide-value map after every instruction. Large process functions consequently repeated the same invariant checks quadratically. Validate the changed entry in set_wide_chunks, the only insertion path, and scan the complete map once before extracting it for phi construction.

Retain all width and chunk-count invariants. Release behavior, HDL optimization levels and generated instruction selection are unchanged. Add a debug-only 128-value regression that counts invariant checks rather than asserting wall-clock time.

Validation covers 620 x86 crate tests and 5,700 SystemVerilog/diagnostic tests (20 existing skips), affected clippy with warnings denied, formatting and diff checks. Full VCU108 and HTG9200 compiles still exceeded 300 seconds in the implementation snapshot: this removes a quadratic debug check but does not claim to resolve the board-level timeout or demonstrate an end-to-end speedup.

Change-Id: Ief6ae9750c629821b5b52b0e8e7a30ae89b7e545
@tignear

tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(sv)!: support unindexed interface array value parameters #2204
2 perf(x86): validate wide values at mutation boundaries #2205 👈

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T19:13:21.508628Z 2042895 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 26, 2026
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added the queued Mergify queue entry label Oct 26, 2026
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 13 minutes 51 seconds in the queue, including 28 minutes 24 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#2204 [⛓️ feat(sv)!: support unindexed interface array value parameters #2204]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • 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)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

Base automatically changed from stack/tignear/fix/sv-interface-array-parameters/support-unindexed-interface-array-value-params--df34f3eb to master October 26, 2026 21:14
@mergify
mergify Bot merged commit 4da6e55 into master Oct 26, 2026
24 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/sv-interface-array-parameters/validate-wide-values-mutation-boundaries--ef6ae975 branch October 26, 2026 21:22
@mergify mergify Bot removed the queued Mergify queue entry label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant