-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align arithmetic slow paths with out-of-line cases
Summary: Out-of-line interpreter cases just take the interpreter state as parameters, which allows them to minimise the amount of work that has to be done in the interpreter itself. Apply the same approach to arithmetic operations in the interpreter, by having their slow paths take the interpreter state and internally read/write registers. This diff doesn't really move benchmarks, but together with the later diffs, it significantly reduces the amount of code in the interpreter. Reviewed By: tmikov Differential Revision: D65736831 fbshipit-source-id: fd04e8bfb6c1a8cbba93ef43ff20fcd74d25be18
- Loading branch information
1 parent
18aa2ff
commit ed6695d
Showing
3 changed files
with
242 additions
and
154 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
Oops, something went wrong.