diff options
| author | Xiaolin Zhao <zhaoxiaolin@loongson.cn> | 2025-08-06 15:50:24 +0800 |
|---|---|---|
| committer | abner chenc <chenguoqi@loongson.cn> | 2025-08-11 07:37:59 -0700 |
| commit | a7f05b38f7e7beefd5ee54089aae59b21507bb3c (patch) | |
| tree | 7ed955c4c8cd284d3733aa800b31b854061c590f /src/syscall | |
| parent | 1718828c81f2bad44b51b13fb4b34540a9c2c096 (diff) | |
| download | go-a7f05b38f7e7beefd5ee54089aae59b21507bb3c.tar.xz | |
cmd/compile: convert branch with zero to more optimal branch zero on loong64
This reduces 7500+ instructions from the go toolchain binary on loong64.
file before after Δ %
asm 555066 554406 -660 -0.1189%
cgo 481480 480764 -716 -0.1487%
compile 2475836 2474776 -1060 -0.0428%
cover 516536 515788 -748 -0.1448%
link 702220 701216 -1004 -0.1430%
preprofile 238626 238122 -504 -0.2112%
vet 792798 791894 -904 -0.1140%
go 1573108 1571676 -1432 -0.0910%
gofmt 320578 320042 -536 -0.1672%
total 7656248 7648684 -7564 -0.0988%
Change-Id: I51b70a1543bc258b7664caa8647e75eecbaf5eed
Reviewed-on: https://go-review.googlesource.com/c/go/+/693495
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions
