-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from 0xPolygonMiden/greenhat/i154-intrinsics-…
…tests [7/x] Test suite for felt ops intrinsics translation
- Loading branch information
Showing
44 changed files
with
8,081 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
(component | ||
;; Modules | ||
(module #add_felt | ||
;; Constants | ||
(const (id 0) 0x00100000) | ||
|
||
;; Global Variables | ||
(global (export #__stack_pointer) (id 0) (type i32) (const 0)) | ||
|
||
;; Functions | ||
(func (export #entrypoint) (param felt) (param felt) (result felt) | ||
(block 0 (param v0 felt) (param v1 felt) | ||
(let (v3 felt) (add.unchecked v0 v1)) | ||
(br (block 1 v3))) | ||
|
||
(block 1 (param v2 felt) | ||
(ret v2)) | ||
) | ||
) | ||
|
||
) |
Oops, something went wrong.