-
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.
[release-branch.go1.20] cmd/compile: wire up Bswap/ReverseBytes intri…
…nsics for loong64 Micro-benchmark results on Loongson 3A5000: goos: linux goarch: loong64 pkg: math/bits │ before │ after │ │ sec/op │ sec/op vs base │ ReverseBytes 3.0130n ± 0% 0.6517n ± 2% -78.37% (p=0.000 n=10) ReverseBytes16 0.9027n ± 0% 0.6526n ± 2% -27.71% (p=0.000 n=10) ReverseBytes32 1.7040n ± 0% 0.6511n ± 1% -61.79% (p=0.000 n=10) ReverseBytes64 2.7080n ± 0% 0.6499n ± 1% -76.00% (p=0.000 n=10) geomean 1.882n 0.6513n -65.40% Go1 benchmark results indicate no meaningful change except for micro-architecture-related fluctuations. Updates golang#59120 Change-Id: I39c1edbd7363f454ad1e848a25abeced722b16ac (cherry picked from commit 4e0bacc50e09ea7defbf1e769b6ee5467e82e881)
- Loading branch information
Showing
7 changed files
with
73 additions
and
11 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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