Comments (4)
You’ve definitely spent more time considering this than I have, so I’ll need to look at it more to get a better feel for your list. What I should have said is that I would prefer to prioritize doing as many u256 as possible before doing u128.
from miden-vm.
I would rather skip u128
and aim for all u256
operations.
from miden-vm.
Agree on skipping u128
. Regarding u256
, supporting everything would be quite difficult. Here is my initial list with thoughts:
add
- [done]sub
- [done]mul
- [done], can probably be optimized.div
- oncemul
is working, shouldn't be too difficult.sdiv
- skip for now?smod
- skip for now?mod
- skip for now?addmod
- skip for now?mulmod
- skip for now?exp
- skip for now?signextend
- skip for now?lt
- [kind of done], there is an implementation, but it can be improved.gt
- similar tolt
.slt
- skip for now?sgt
- skip for now?eq
- [done]iszero
- [done]and
- [done]or
- [done]xor
- [done]not
- easy, we should do it.shl
- not sure how to do this yet, might require changes to the instruction set, but would be good to include it even now.shr
- same asshl
.sar
- skip for now?
from miden-vm.
For v0.1 release (which will accompany v0.2 release of the VM), we will include the following in the standard library:
math::u64
crypto::hashes::blake3
crypto::hashes::sha256
I'm closing this issue and will open another one for v0.2 stdlib content.
from miden-vm.
Related Issues (20)
- Proposition to refactor the multiset checks across the codebase HOT 3
- Fix `ChipletsVTableColBuilder`
- MAST deserialization: don't recompute all node hashes HOT 3
- `MastForest`: Ensure that the number of nodes is less than 2^30 HOT 2
- Rename `internals` feature to `testing` HOT 1
- Add tests on `Windows` in CI
- Using the univariate sum-check IOP from Aurora to implement final evaluation claim
- Fix `ModuleGraph` constructors HOT 1
- LogUp-GKR proposition to simplify input layer polynomials HOT 4
- `VerifyCmd` flag collision HOT 2
- Restrict the number of stack inputs and outputs to 16
- Reinstate inlining of `repeat` statements HOT 1
- Minor refactoring of the `Library` struct HOT 1
- Investigate removing `AssemblyError` enum HOT 1
- Restore documentation build in the `miden-stdlib`
- Investigate specifying external libraries for the assembler at construction time HOT 3
- Add support for procedure annotations to the assembler HOT 1
- Implement support for vendoring procedures in the assembler HOT 3
- Allow multi-module kernels HOT 4
- Finish debugging improvements HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miden-vm.