forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: Make isRemovableJmpCandidate less restrictive on AMD64 (dotnet#9…
…5493) Previously, the emitter-level jump removal optimization would not consider jumps following call instructions on AMD64, as unwind semantics require there to be an instruction between a call and an OS epilogue. This was overly restrictive, as many call-jmp pairs do not precede an OS epilogue, and for those that do, the jump can be replaced with a nop. This change allows jumps following calls to be considered for removal, and inserts a nop if needed.
- Loading branch information
1 parent
0124751
commit 303571a
Showing
4 changed files
with
151 additions
and
34 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
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