-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#5994 opcode_mix, part1: add categories to opcode_mix output (#6512)
Groups instructions that belong to the same categories together, and prints (to std::cerr) a count of them at the end of opcode counts. Issue: #5994
- Loading branch information
Showing
8 changed files
with
193 additions
and
21 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
32 changes: 32 additions & 0 deletions
32
clients/drcachesim/tests/offline-opcode_categories.templatex
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,32 @@ | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Hello world! | ||
Opcode mix tool results: | ||
133 : total executed instructions | ||
34 : mov | ||
17 : mov | ||
17 : syscall | ||
16 : sub | ||
16 : cmp | ||
16 : jnz | ||
16 : lea | ||
1 : and | ||
|
||
4 : sets of categories | ||
51 : move | ||
33 : branch | ||
33 : math | ||
16 : load |
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
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