DynamoRIO / DynamoRIO/dynamorio
optimize eflags clear overhead
Open
good first issue
Migrated
Priority-Low
Type-Feature
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
_From [zhao...@google.com](https://code.google.com/u/106321947286816917100/) on April 22, 2013 13:23:01_
On the context switch at returning from code cache, we clear the whole eflag using "push 0; popf", which has large overhead due to pipeline stall.
We may reduce the overhead by only clearing TF and DF using CLI and CLD.
We need investigate the performance benefit and the possible problem
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1147_
Contributor guide
Assessment
This issue has not been assessed yet.