forked from uli/huc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Yet another rework of HuCC's optimization of conditionals to move the…
… detection of "LD variable; test;" into the same set of peephole rules as the other checks and then expand the existing peephole rules to understand the list of optimized i-codes that the "test variable" and "not variable" rules can generate. Add another peephole rule and set of optimized i-codes for when the result of a "!" needs to produce a boolean instead of a flag/jump, such as "var = !var".
- Loading branch information
1 parent
6096d6f
commit 260ef30
Showing
5 changed files
with
910 additions
and
561 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
Oops, something went wrong.