Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR][BOLT][Instrumentation] Optimize eflags load/store
Summary: This commit uses reviews.llvm.org/D6629 as a reference to optimize X86::EFLAGS load/store in the instrumentation snippet by using lahf/sahf instructions instead of pushf/popf. (cherry picked from FBD31662303)
- Loading branch information
Showing
3 changed files
with
92 additions
and
12 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