]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/loong64: add support for instructions FCOPYSIGN.{S/D} and FCLASS...
authorXiaolin Zhao <zhaoxiaolin@loongson.cn>
Wed, 5 Jun 2024 02:52:08 +0000 (10:52 +0800)
committerGopher Robot <gobot@golang.org>
Sat, 3 Aug 2024 01:57:52 +0000 (01:57 +0000)
commitb874005a84253e9c4313eb30889df418d607ed4d
tree6b2359f1c2fabace9a32bd5d628ea466c7658542
parent2ffcfcef5597ae9d8f27f6d251785e1624c8c020
cmd/internal/obj/loong64: add support for instructions FCOPYSIGN.{S/D} and FCLASS.{S/D}

Go asm syntax:
FCOPYSG{F/D} FK, FJ, FD
FCLASSF{F/D} FJ, FD

Equivalent platform assembler syntax:
fcopysign.{s/d} fd, fj, fk
fclass.{s/d} fd, fj

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

Change-Id: Ied34b71c9d0b34456ac5782a59d29d2d0229e326
Reviewed-on: https://go-review.googlesource.com/c/go/+/590675
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.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