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

Add max width #90

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Add max width #90

merged 1 commit into from
Feb 14, 2024

Conversation

avanhatt
Copy link
Owner

Let us infer the types on larger bitwidths!

Copy link
Collaborator

@mmcloughlin mmcloughlin left a comment

Choose a reason for hiding this comment

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

Thanks! Definitely better than doing major surgery I was attempting.

Approved with a question.

@@ -15,6 +15,9 @@ pub mod verify;

pub const REG_WIDTH: usize = 64;

// Use a distinct with as the maximum width any value should have within type inference
pub const MAX_WIDTH: usize = 4*REG_WIDTH;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it worth limiting this to 2*REG_WIDTH at this point? Or do you think the width should have limited impact on solver performance?

@mmcloughlin mmcloughlin merged commit 63337bf into verify-main Feb 14, 2024
2 checks passed
avanhatt pushed a commit to wellesley-prog-sys/wasmtime that referenced this pull request Oct 9, 2024
Extends ISLE printer tests to cover `inst_specs.isle` and
`prelude.isle`.

Implements printing for const models.
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.

2 participants