aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm
diff options
context:
space:
mode:
authorWayne Zuo <wdvxdr@golangcn.org>2022-07-09 11:28:50 +0800
committerKeith Randall <khr@golang.org>2022-08-23 23:17:55 +0000
commit1dcef7b3bdcea4a829ea22c821e6a9484c325d61 (patch)
tree530b33e0623054f5be26998f955e085879c92480 /src/cmd/asm
parentaa4299735b78189eeac1e2c4edafb9d014cc62d7 (diff)
downloadgo-1dcef7b3bdcea4a829ea22c821e6a9484c325d61.tar.xz
cmd/internal/obj/loong64: add MASKEQZ and MASKNEZ instructions support
Change-Id: Ied16c3be47c863a94d46bd568191057ded4b7d0a Reviewed-on: https://go-review.googlesource.com/c/go/+/416734 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: xiaodong liu <teaofmoli@gmail.com>
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 56eb244f6f..320046609a 100644
--- a/src/cmd/asm/internal/asm/testdata/loong64enc1.s
+++ b/src/cmd/asm/internal/asm/testdata/loong64enc1.s
@@ -180,6 +180,9 @@ lable2:
SRLV $32, R4, R5 // 85804500
SRLV $32, R4 // 84804500
+ MASKEQZ R4, R5, R6 // a6101300
+ MASKNEZ R4, R5, R6 // a6901300
+
MOVFD F4, F5 // 85241901
MOVDF F4, F5 // 85181901
MOVWF F4, F5 // 85101d01