You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Global variables - these are declared in WAT file and live at specific memory offsets. We can replace them with ZK ASM Global variables and would need to detect the access to these offsets and replace them with loads/store from globals
Data segment (e.g. "hello world" string in SHA256 benchmark) - these are very similar to global variables - reads from a very large offset. But this time it's from a contiguous slice of memory, rather than discrete slots of globals - one way to handle these is to dedicate a memory region and fill it with data at the start of the program
Loads from frame pointer + offset - I'm not sure what these are, likely part of the function ABI and would have to use stack or registers instead of the frame. Right now these are commented out
Let's fix them!
The content you are editing has changed. Please copy your edits and refresh the page.
After the implementation for the frame pointers and fixes to stack handing, the benchmark now runs till completion, but still fails on the asserts: #185
I will try to simplify it next to make sure it consumes fewer cycles and is easier to debug.
SHA256 now compiles to ZK ASM and runs to completion after a hacky set of changes, but the result of execution is still incorrect.
The missing pieces right now are:
Let's fix them!
Tasks
The text was updated successfully, but these errors were encountered: