-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement re-designed Wasmi
br_table
instructions (#1158)
* initial commit * redo Wasmi `br_table` instruction design This new design accounts for Wasmi `br_table`s where each `br_table` target may need to copy values to different registers before taking a branch which was an oversight in the previous design. * remove no longer needed constructor * remove unnecessary provider2reg wrapper function * properly encode non-overlapping branch table targets * add missing docs * revert changes to translate_copy_branch_params method * fix oversight/bug in constructors * add some more br_table tests * fix clippy warnings in tests * add more br_table translation tests with immediate inputs
- Loading branch information
Showing
15 changed files
with
1,466 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.