-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1908903 - BaseCompiler::addHotnessCheck: put call to request-tier…
…-up stub OOL, at the end of the function. r=rhunt. In BaseCompiler::addHotnessCheck, this commit moves the call to the request-tier-up stub to out-of-line code. This has the beneficial effects that * it puts the cold path in a different icache line from the hot path, hence reducing the hot path's icache miss rate, and * in the absence of dynamic prediction information for the branch (eg, we are arriving at it for the first time), makes it follow the typical no-info static rule "backwards taken, forwards not taken". Differential Revision: https://phabricator.services.mozilla.com/D217455
- Loading branch information
1 parent
d620a5e
commit c72e533
Showing
2 changed files
with
87 additions
and
62 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