Skip to content

Correct comments and test data left stale by the COPY unification - #1028

Merged
MauroToscano merged 2 commits into
exp/memmove-literalfrom
fix/copy-stale-comments
Oct 23, 2026
Merged

MauroToscano merged 2 commits into
exp/memmove-literalfrom
fix/copy-stale-comments

Conversation

@MauroToscano

Copy link
Copy Markdown
Contributor

Follow-up to #984. Comments and test data only; no logic changes.

  • Name COPY (not COMMIT) among the ECALL receivers (types.rs, cpu.rs, keccak.rs, hint.rs) and in the executor's public-output docs (memory.rs, executor/tests/rust.rs, prove_elfs_tests.rs).
  • Five accelerators, not six (lib.rs, skip_empty_tables_tests.rs, test renamed to a_run_without_accelerators_omits_all_five).
  • logs.rs: the row width follows from the count alone; it no longer reads src % 8 / dst % 8.
  • CLI accel_counts_sizes_dma_calls: rows come from copy_trace_rows instead of the old terminal-row schedule ((256, 33) → 32 rows).
  • Drop the doubled #[cfg(test)], the DMA/DMA_SET history line in copy.rs, and update the drift-test doc, the allocator.rs note and the dma_memset_min comment.

make fmt and make lint pass; cargo test -p cli accel_counts_sizes_dma_calls passes.

- Name COPY (not COMMIT) among the ECALL receivers and as the Commit-bus sender.
- Count five accelerators, not six, and rename the test that says six.
- logs.rs: the row width follows from the count alone; it no longer reads src % 8 / dst % 8.
- CLI accel_counts_sizes_dma_calls: derive rows with copy_trace_rows instead of the
  old terminal-row schedule.
- Drop the doubled #[cfg(test)], the DMA/DMA_SET history line, the stale drift-test
  doc, the allocator and dma_memset_min comments.
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Benchmark Results for modified programs 🚀

Command Mean [ms] Min [ms] Max [ms] Relative
head ecsm 2.1 ± 0.0 2.1 2.2 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
head hashmap 93.0 ± 3.3 87.4 96.6 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
head keccak 100.1 ± 3.1 95.3 105.8 1.00
Command Mean [ms] Min [ms] Max [ms] Relative
head syscall_commit 69.0 ± 1.0 67.7 70.7 1.00

@MauroToscano
MauroToscano merged commit a3c2a35 into exp/memmove-literal Oct 23, 2026
12 checks passed
@MauroToscano
MauroToscano deleted the fix/copy-stale-comments branch October 23, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant