mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
c39abe0658
commit
7ddbf4d820
1 changed files with 5 additions and 0 deletions
5
src/cmd/asm/internal/asm/testdata/riscv64.s
vendored
5
src/cmd/asm/internal/asm/testdata/riscv64.s
vendored
|
|
@ -358,6 +358,11 @@ start:
|
||||||
FNMSUBD F1, F2, F3, F4 // 4b82201a
|
FNMSUBD F1, F2, F3, F4 // 4b82201a
|
||||||
FNMADDD F1, F2, F3, F4 // 4f82201a
|
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
|
// 21.7: Double-Precision Floating-Point Classify Instruction
|
||||||
FCLASSD F0, X5 // d31200e2
|
FCLASSD F0, X5 // d31200e2
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue