]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/loong64: add F{MAXA/MINA}.{S/D} instructions
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Mon, 30 Dec 2024 02:08:58 +0000 (10:08 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Tue, 4 Mar 2025 01:01:33 +0000 (17:01 -0800)
commit2ce1fb4220e1978d8ea7c615f8ae2d9170985640
tree415e118b113e84ca4c247cea3619bfce11c4c5ec
parent47fd73a51c52d58147f164317fc1f5640055bbad
cmd/internal/obj/loong64: add F{MAXA/MINA}.{S/D} instructions

Go asm syntax:
F{MAXA/MINA}{F/D} FK, FJ, FD

Equivalent platform assembler syntax:
f{maxa/mina}.{s/d} fd, fj, fk

Ref: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

Change-Id: I6790657d2f36bdf5e6818b6c0aaa48117e782b8d
Reviewed-on: https://go-review.googlesource.com/c/go/+/653915
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/cmd/asm/internal/asm/testdata/loong64enc1.s
src/cmd/internal/obj/loong64/a.out.go
src/cmd/internal/obj/loong64/anames.go
src/cmd/internal/obj/loong64/asm.go