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

veri: add bvsaddo spec operation #75

Merged
merged 3 commits into from
Nov 1, 2023
Merged

veri: add bvsaddo spec operation #75

merged 3 commits into from
Nov 1, 2023

Conversation

mmcloughlin
Copy link
Collaborator

@mmcloughlin mmcloughlin commented Oct 30, 2023

Adds the bvsaddo SMT-LIB operator.

This operator is due to be standardized in SMT-LIB 2.7, and is already supported in Z3.

https://groups.google.com/g/smt-lib/c/J4D99wT0aKI
Z3Prover/z3#6715

@mmcloughlin mmcloughlin marked this pull request as ready for review October 30, 2023 18:31
@mmcloughlin mmcloughlin requested a review from avanhatt October 30, 2023 18:31
Copy link
Owner

@avanhatt avanhatt left a comment

Choose a reason for hiding this comment

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

Accepting with a naming nit, thanks!

cranelift/isle/isle/src/ast.rs Outdated Show resolved Hide resolved
cranelift/isle/veri/veri_ir/src/annotation_ir.rs Outdated Show resolved Hide resolved
@mmcloughlin mmcloughlin merged commit bee3702 into verify-main Nov 1, 2023
2 checks passed
avanhatt pushed a commit to wellesley-prog-sys/wasmtime that referenced this pull request Aug 8, 2024
In bytecodealliance#8873, we stopped tracking the wasi-nn's upstream WIT files
temporarily because it was not clear to me at the time how to implement
errors as CM resources. This PR fixes that, resuming tracking in the
`vendor-wit.sh` and implementing what is needed in the wasi-nn crate.

This leaves several threads unresolved, though:
- it looks like the `vendor-wit.sh` has a new mechanism for retrieving
  files into `wit/deps`--at some point wasi-nn should migrate to use
  that (?)
- it's not clear to me that "errors as resources" is even the best
  approach here; I've opened [avanhatt#75] to consider the possibility of using
  "errors as records" instead.
- this PR identifies that the constructor for errors is in fact
  unnecessary, prompting an upstream change ([avanhatt#76]) that should
  eventually be implemented here.

[avanhatt#75]: WebAssembly/wasi-nn#75
[avanhatt#76]: WebAssembly/wasi-nn#76

prtest:full
avanhatt pushed a commit to wellesley-prog-sys/wasmtime that referenced this pull request Oct 9, 2024
Generate `aslp` test cases for load instructions.

Updates avanhatt#35
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