DynamoRIO / DynamoRIO/dynamorio
[drreg] Omit adjacent tool-val restore and spill
Open
Component-Extension
Performance
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 30
Description
Today, drreg restores app value of a spilled reg around app instrs that read that reg. E.g. for `instr1` and `instr2` that both read `reg1`, drreg will produce a sequence like the following:
```
// can be omitted
// can be omitted
```
The commented tool val restore and tool val spill instrs can possibly be omitted. This can be done in instru2instru phase in drreg.
Contributor guide
Assessment
This issue has not been assessed yet.