Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cannon-native): The great MIPS64 migration #11388

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

clabby
Copy link
Member

@clabby clabby commented Aug 7, 2024

Overview

First man discovered fire, then why 64-bit CPU architectures are better than everything else.

This PR fully ports the native implementation of cannon to MIPS64 - all tests beyond EVM differential tests are passing in the cannon package.

Stack

  • Native MIPS64 conversion
  • Contract MIPS64 conversion
  • op-program MIPS64 tests

Merging

Merge #11404 into this branch first after reviews, then merge into develop.

@clabby clabby added the A-cannon Area: cannon label Aug 7, 2024
Copy link
Member Author

clabby commented Aug 8, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on Graphite Graphite

@clabby clabby marked this pull request as ready for review August 9, 2024 15:28
@clabby clabby requested a review from a team as a code owner August 9, 2024 15:28
@clabby clabby requested review from tynes, mbaxter, Inphi and protolambda and removed request for tynes August 9, 2024 15:28
@clabby clabby added the C-feature Category: features label Aug 9, 2024
Copy link
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Aug 25, 2024
@mbaxter mbaxter added S-exempt-stale Status: Do not mark stale and removed Stale labels Aug 29, 2024
@@ -37,7 +37,7 @@ func TestInstrumentedState_MultithreadedProgram(t *testing.T) {

var stdOutBuf, stdErrBuf bytes.Buffer
us := NewInstrumentedState(state, oracle, io.MultiWriter(&stdOutBuf, os.Stdout), io.MultiWriter(&stdErrBuf, os.Stderr), testutil.CreateLogger())
for i := 0; i < 1_000_000; i++ {
for i := 0; i < 2_000_000; i++ {
Copy link
Contributor

@Inphi Inphi Sep 10, 2024

Choose a reason for hiding this comment

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

Does this mean running this test on 64-bit requires more steps?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes!

@Inphi Inphi mentioned this pull request Sep 20, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cannon Area: cannon C-feature Category: features S-exempt-stale Status: Do not mark stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants