]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add support for vector fixed-point arithmetic instructions
authorJoel Sing <joel@sing.id.au>
Sun, 5 Jan 2025 13:30:30 +0000 (00:30 +1100)
committerJoel Sing <joel@sing.id.au>
Tue, 1 Apr 2025 12:31:22 +0000 (05:31 -0700)
commit4c1b8ca98c716f0499bb30fd141aa6d4dec7390c
treea60b4973fb6987a81ee9eb6318edfea079fdfb06
parent4c32b1cc753e9005ed7c741bf69d3cb69ee3a56c
cmd/internal/obj/riscv: add support for vector fixed-point arithmetic instructions

Add support for vector fixed-point arithmetic instructions to the
RISC-V assembler. This includes single width saturating addition
and subtraction, averaging addition and subtraction and scaling
shift instructions.

Change-Id: I9aa27e9565ad016ba5bb2b479e1ba70db24e4ff5
Reviewed-on: https://go-review.googlesource.com/c/go/+/646776
Reviewed-by: Mark Ryan <markdryan@rivosinc.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.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/obj.go