]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use 32x32->64 multiplies on loong64
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Tue, 18 Nov 2025 05:00:15 +0000 (13:00 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Mon, 24 Nov 2025 07:54:44 +0000 (23:54 -0800)
commitfeae743bdbb7dc4b9d053117dbea494202d6a2de
tree34a307673976c30b1495e0413c905c2933c91126
parente88be8a128d167c5ab91eabc998ab364370c702e
cmd/compile: use 32x32->64 multiplies on loong64

Gets rid of some sign extensions, like arm64.

Change-Id: I9fc37e15a82718bfcf53db8cab0c4e7baaa0a747
Reviewed-on: https://go-review.googlesource.com/c/go/+/721522
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/loong64/ssa.go
src/cmd/compile/internal/ssa/_gen/LOONG64.rules
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteLOONG64.go
test/codegen/arithmetic.go