]> Cypherpunks repositories - gostls13.git/commit
cmd/intarnal/obj: add new assembly format for VANDV and VANDB on loong64
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Tue, 13 May 2025 02:50:51 +0000 (10:50 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Wed, 14 May 2025 09:30:13 +0000 (02:30 -0700)
commitc62099cfac6b0fd46efbdab7205bb17597096472
treee4ea3f78529872357e8b6fb3a1e23bb58719380b
parenta1c3e2f008267b976e69866b599b113399ad4724
cmd/intarnal/obj: add new assembly format for VANDV and VANDB on loong64

In order to make it easier to write in assembly and to be consistent
with the usage of general instructions, a new assembly format is
added for the instructions VANDV and VANDB.

It also works for instructions XVAND{V,B}, [X]V{OR,XOR,NOR,ANDN,ORN}V
and [X]V{OR,XOR,NOR}B.

Change-Id: Ia75d607ac918950e58840ec627aaf0be45d837fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/671316
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/asm/internal/asm/testdata/loong64enc1.s
src/cmd/internal/obj/loong64/asm.go