]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: allow Bswap{64,32,16} on loong64
authorGuoqi Chen <chenguoqi@loongson.cn>
Wed, 21 Jan 2026 09:32:49 +0000 (17:32 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 22 Jan 2026 20:34:32 +0000 (12:34 -0800)
commitc61a48619ff2d26543d0f4874ab495bbbfdc701f
treec1f9ef0abc402def4def5790c5e6ad1dfd5a4617
parent6ba3494e16f2611dcca0e4ce629cd06b5c0c0969
cmd/compile: allow Bswap{64,32,16} on loong64

On Loong64, Bswap{64,32,16} has been implemented with REVB{2H, 2W,V} instruction

Change-Id: Ia7f40ef3b1a85bfb0b20563098cb792b00cec498
Reviewed-on: https://go-review.googlesource.com/c/go/+/737841
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/ssa/config.go