-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
lightbeamIssues related to the Lightbeam compilerIssues related to the Lightbeam compiler
Description
This will be a great exercise of our codegen, since tiny-keccak has long stack arrays and ugly unrolled loops that are much more similar to real-world code compared to the tiny loops we've been working with thus far.
-
i32.store/i32.load - Data section
- 64-bit equivalents to all 32-bit instructions - we already treat all values as 64-bit when their size is unknown so this is mostly a case of adding the
i64.xxxxinstructions and changing theImmediaterepresentation, which shouldn't be difficult. - Multiple returns - I'm not certain that this is necessary but I would be surprised if there isn't somewhere that uses this to (for example) return a struct. Of course, it's possible that LLVM always compiles to use a hidden argument, I remember me and @pepyakin looking at this and that appeared to be how it was compiling it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lightbeamIssues related to the Lightbeam compilerIssues related to the Lightbeam compiler