Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve code generation for inlineArrayCmp on Power10
The current inlineArrayCmp has some drawbacks that affects it's performance. The key deficiencies are - expensive comparison opcode usage, single byte compare loop in residue loop, many branches - etc. This commit uses wider load by utilizing power10 instructions and reduces the number of branches in the generated code. If merged, this patch enables more performant inlineArrayCmp on power10+ system.
- Loading branch information
Showing
6 changed files
with
263 additions
and
87 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
Oops, something went wrong.