]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add support for vector floating-point instructions
authorJoel Sing <joel@sing.id.au>
Wed, 12 Feb 2025 12:40:28 +0000 (23:40 +1100)
committerJoel Sing <joel@sing.id.au>
Thu, 1 May 2025 12:55:31 +0000 (05:55 -0700)
commit5a342266e60fffc9e26091f4f9b69f7aad998e35
tree1e4fa8c6810dcbe80c2a67d1542688a9af1dd531
parent6109185cf9641ea401812c63ba3538742b872952
cmd/internal/obj/riscv: add support for vector floating-point instructions

Add support for vector floating-point instructions to the RISC-V
assembler. This includes single-width and widening addition and
subtraction, multiplication and division, fused multiply-addition,
comparison, min/max, sign-injection, classification and type
conversion instructions.

Change-Id: I8bceb1c5d7eead0561ba5407ace00805a6144f51
Reviewed-on: https://go-review.googlesource.com/c/go/+/646777
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.com>
Reviewed-by: Mark Ryan <markdryan@rivosinc.com>
src/cmd/asm/internal/asm/testdata/riscv64.s
src/cmd/asm/internal/asm/testdata/riscv64error.s
src/cmd/asm/internal/asm/testdata/riscv64validation.s
src/cmd/internal/obj/riscv/anames.go
src/cmd/internal/obj/riscv/cpu.go
src/cmd/internal/obj/riscv/obj.go