DynamoRIO / DynamoRIO/dynamorio
improve ARM IBL mode switch performance
Open
help wanted
OpSys-ARM
Performance
Priority-Low
Type-Feature
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Today we have a single set of Thumb gencode including the IBL. For the mode switch we check the LSB, write the result into dcontext->isa_mode, and clear the LSB for the hashtable lookup. We probably want to at least avoid the store via a load-and-cmp which at least on recent x86 processors is faster than a store. We may also want to consider 2 sets of gencode, Thumb and ARM, which would avoid any store on non-mode-changes. We could also consider a different approach to mode changes that moves the focus back to dispatch().
Contributor guide
Assessment
This issue has not been assessed yet.