Skip to content

Add max width#90

Merged
mmcloughlin merged 1 commit intoverify-mainfrom
max-width
Feb 14, 2024
Merged

Add max width#90
mmcloughlin merged 1 commit intoverify-mainfrom
max-width

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.

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
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