-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new fusion instruction and remove unnecessary ones
After constant propagation and constant folding, auipc + addi and lui + addi become 2 lui instuctions. Moreover, we discover a sequence of lui instrution existing in optimized basic block, so we add a new fusion function to handle multiple lui instructions.
- Loading branch information
Showing
1 changed file
with
155 additions
and
127 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
4612360
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks
Dhrystone
1263.37
Average DMIPS over 10 runs1253
Average DMIPS over 10 runs0.99
Coremark
1132.121
Average iterations/sec over 10 runs1134.029
Average iterations/sec over 10 runs1.00
This comment was automatically generated by workflow using github-action-benchmark.