]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/loong64: add ADDU16I.D instruction support
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Tue, 26 Aug 2025 07:40:57 +0000 (15:40 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 4 Sep 2025 19:24:25 +0000 (12:24 -0700)
commitddce0522bee36764c3b9529b8584c3d5b53c5dac
treee46b44486f399f7c069e12890a0c59f2063e86b7
parent00b8474e47a1f0381170734604a7ce8123d7146d
cmd/internal/obj/loong64: add ADDU16I.D instruction support

Go asm syntax:
ADDV16 $(1<<16), R4, R5

Equivalent platform assembler syntax:
addu16i.d r5, r4, $1

Change-Id: Ica4a4e779d0a107cda3eade86027abd6458779a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/699056
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/loong64enc1.s
src/cmd/asm/internal/asm/testdata/loong64error.s
src/cmd/internal/obj/loong64/a.out.go
src/cmd/internal/obj/loong64/anames.go
src/cmd/internal/obj/loong64/asm.go
src/cmd/internal/obj/loong64/doc.go