-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support WASM instruction set for Stage 1 #22
Comments
So one thing that has been floating in my mind is that we're definitely not going to (nor it makes sense to) have support for all and every single one of the WASM/clif-ir instructions in our MVP for stage1. For instance, anything involving floats is an immediate out at the time being (it wouldn’t be too onerous to implement, but it would be a soft float affair and I don’t believe it is a good way to spend our limited time at the moment.) With that in mind, I think we should have a representative contract that we would use as our MVP test target. This should be something like with integer operations and non-trivial control flow (loops, blocks, function calls etc.) similar to the ft-transfer contract that we had in our benchmarking efforts. I would potentially go with |
|
I'm fine with that, as long as these instructions are not necessary for a few representative performance benchmarks #90. I'll investigate which instructions are used there and report back here with requirements. |
We have all the features listed above implemented. For SHA256, we are still missing Global Data Segments and loads from a frame pointer that are tracked in #143. |
This is a tracking issue for all WASM instructions that we need to support to complete Stage 1.
The goal is roughly to support WASM MVP opcodes, but we might delay some that are tricky to support with current ZK processor till Stage 2.
Tasks
The text was updated successfully, but these errors were encountered: