Skip to content

cannon: Implement dclo|dclz#15601

Merged
Inphi merged 2 commits intodevelopfrom
inphi/cannon-new-insn
Apr 29, 2025
Merged

cannon: Implement dclo|dclz#15601
Inphi merged 2 commits intodevelopfrom
inphi/cannon-new-insn

Conversation

@Inphi
Copy link
Contributor

@Inphi Inphi commented Apr 29, 2025

This brings back support for dclo/dclz instructions in cannon introduced in #14454 after it was reverted by 03f8875.
The new instructions are part of the version 4 mt64 feature set, alongside the eventfd syscall feature.

@Inphi Inphi requested review from ajsutton and mbaxter April 29, 2025 04:01
@Inphi Inphi requested review from a team as code owners April 29, 2025 04:01
@Inphi Inphi force-pushed the inphi/cannon-new-insn branch from 40c4b93 to 3be4325 Compare April 29, 2025 04:02
This brings back dclo/dclz support in cannon after it was reverted by 03f8875.
The new instructions are part of the version 4 mt64 feature set.
@Inphi Inphi force-pushed the inphi/cannon-new-insn branch from 3be4325 to 433be54 Compare April 29, 2025 04:05
Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The go side LGTM. I think the solidity makes sense as well but given the number of changes to avoid stack depth problems I think it's worth getting Meredith's review on it before merging.

@codecov
Copy link

codecov bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.95%. Comparing base (135050c) to head (8ae2de1).
Report is 7 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #15601      +/-   ##
===========================================
- Coverage    45.97%   45.95%   -0.02%     
===========================================
  Files         1279     1279              
  Lines       105478   105489      +11     
===========================================
- Hits         48491    48477      -14     
- Misses       53498    53523      +25     
  Partials      3489     3489              
Flag Coverage Δ
cannon-go-tests-64 64.98% <100.00%> (+0.11%) ⬆️
contracts-bedrock-tests 86.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cannon/mipsevm/exec/mips_instructions.go 95.00% <100.00%> (+0.25%) ⬆️
cannon/mipsevm/multithreaded/mips.go 92.02% <100.00%> (ø)
cannon/mipsevm/versions/state.go 53.44% <100.00%> (+0.81%) ⬆️
cannon/mipsevm/versions/version.go 80.00% <ø> (ø)

... and 9 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@mbaxter mbaxter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - just left a few nits

@Inphi Inphi enabled auto-merge April 29, 2025 19:02
@Inphi Inphi added this pull request to the merge queue Apr 29, 2025
Merged via the queue into develop with commit b727f75 Apr 29, 2025
51 checks passed
@Inphi Inphi deleted the inphi/cannon-new-insn branch April 29, 2025 19:18
iquidus pushed a commit to Layr-Labs/optimism that referenced this pull request Jul 24, 2025
* cannon: Implement dclo|dclz

This brings back dclo/dclz support in cannon after it was reverted by 03f8875.
The new instructions are part of the version 4 mt64 feature set.

* copy memory values to stack
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.

3 participants