-
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.
* Rule labels * Mark some functions as total * Definedness for #signed * Add an Int-to-Int map * Use an Int-to-Int map for <memAddrs> * Int-to-Int map for <funcAddrs> * Make intBinOp total * Make intRelOp total * Update <locals> without map unification. * Use lookup for <funcAddrs> in #call instead of map unification. * Split store evaluation to use one map unification per rewrite * Split load evaluation to use one map unification per rewrite * Fix KBuild file * Remove concrete signedTotal
- Loading branch information
1 parent
c08ebd7
commit 53baa9c
Showing
14 changed files
with
626 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
module INT-TYPE | ||
import INT | ||
|
||
syntax WrappedInt | ||
syntax Int | ||
|
||
syntax WrappedInt ::= wrap(Int) [symbol, klabel(wrapInt)] | ||
syntax Int ::= unwrap(WrappedInt) [function, total, injective, symbol, klabel(unwrapInt)] | ||
rule unwrap(wrap(A:Int)) => A | ||
endmodule |
Oops, something went wrong.