aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm
diff options
context:
space:
mode:
authorHuang Qiqi <huangqiqi@loongson.cn>2023-03-13 18:50:49 +0800
committerBen Shi <powerman1st@163.com>2023-03-21 06:53:28 +0000
commit2ef70d9d0f98832c8103a7968b195e560a8bb262 (patch)
tree6daef374655412842365907571acd882e5b1524f /src/cmd/asm
parent6f2ef5ec98e1a14ee7a2805f68241cfa5feff8bd (diff)
downloadgo-2ef70d9d0f98832c8103a7968b195e560a8bb262.tar.xz
cmd/internal/obj/loong64: add support for movgr2cf and movcf2gr instructions
Change-Id: I7ff3c8df24ed7990fe104bc2530354c0bd5fe018 Reviewed-on: https://go-review.googlesource.com/c/go/+/475576 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: abner chenc <chenguoqi@loongson.cn> Reviewed-by: xiaodong liu <teaofmoli@gmail.com> Reviewed-by: WANG Xuerui <git@xen0n.name>
Diffstat (limited to 'src/cmd/asm')
-rw-r--r--src/cmd/asm/internal/asm/testdata/loong64enc1.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/asm/internal/asm/testdata/loong64enc1.s b/src/cmd/asm/internal/asm/testdata/loong64enc1.s
index 0cc077c091..4f3cb2b2ee 100644
--- a/src/cmd/asm/internal/asm/testdata/loong64enc1.s
+++ b/src/cmd/asm/internal/asm/testdata/loong64enc1.s
@@ -222,3 +222,6 @@ lable2:
RDTIMELW R4, R0 // 80600000
RDTIMEHW R4, R0 // 80640000
RDTIMED R4, R5 // 85680000
+
+ MOVV FCC0, R4 // 04dc1401
+ MOVV R4, FCC0 // 80d81401