-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JIT] ARM64 - Combine 'neg' and 'cmp' to 'cmn' (#84667)
* Combine compare and shift ops into a single compare op * Fix comment * Expanding IsContainableBinaryOp. * Remove commented code * Added more cases * Initial work * Emitting cmn * Handle shift-version of neg and cmn * Add optimization check * Check for set flags * Added extra asserts * Renamed IsContainableBinaryOp to IsContainableUnaryOrBinaryOp. Fixed an assert. * Remove optimizing code from TryLowerConditionToFlagsNode. Added additional check in containing NEG for a CMP or compare op.
- Loading branch information
Showing
4 changed files
with
141 additions
and
25 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