diff options
| author | Meng Zhuo <mengzhuo@iscas.ac.cn> | 2025-09-12 14:23:23 +0800 |
|---|---|---|
| committer | Meng Zhuo <mengzhuo@iscas.ac.cn> | 2025-09-15 18:00:48 -0700 |
| commit | 7ddbf4d820b46ec51eeb4e596c240c9b58501662 (patch) | |
| tree | 5f0bd5a843255a1186915e6817e146160b4442c4 /src/cmd/asm/internal | |
| parent | c39abe065886f62791f41240eef6ca03d452a17b (diff) | |
| download | go-7ddbf4d820b46ec51eeb4e596c240c9b58501662.tar.xz | |
cmd/asm: add double precision comparision testcases for riscv64
Change-Id: If8e03dfdb332a22ec9c6a0021d7e7955520f3ddc
Reviewed-on: https://go-review.googlesource.com/c/go/+/702136
Reviewed-by: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Ryan <markdryan@rivosinc.com>
Reviewed-by: Joel Sing <joel@sing.id.au>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd/asm/internal')
| -rw-r--r-- | src/cmd/asm/internal/asm/testdata/riscv64.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/asm/internal/asm/testdata/riscv64.s b/src/cmd/asm/internal/asm/testdata/riscv64.s index 30f9989982..b216149a19 100644 --- a/src/cmd/asm/internal/asm/testdata/riscv64.s +++ b/src/cmd/asm/internal/asm/testdata/riscv64.s @@ -358,6 +358,11 @@ start: FNMSUBD F1, F2, F3, F4 // 4b82201a FNMADDD F1, F2, F3, F4 // 4f82201a + // 21.6: Double-Precision Floating-Point Compare Instructions + FEQD F0, F1, X7 // d3a300a2 + FLTD F0, F1, X7 // d39300a2 + FLED F0, F1, X7 // d38300a2 + // 21.7: Double-Precision Floating-Point Classify Instruction FCLASSD F0, X5 // d31200e2 |
