]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add support for vector reduction instructions
authorJoel Sing <joel@sing.id.au>
Sun, 2 Feb 2025 11:26:07 +0000 (22:26 +1100)
committerJoel Sing <joel@sing.id.au>
Fri, 2 May 2025 11:24:27 +0000 (04:24 -0700)
commit2e60916f6e153db682fd4ea269c7d0a32e3d1768
tree8da7ea22ca1a386f5db6704f804a554f5ac3ce3a
parent7785528c505f6ef9afdb3e089d23dadb860aee11
cmd/internal/obj/riscv: add support for vector reduction instructions

Add support for vector reduction instructions to the RISC-V assembler,
including single-width integer reduction, widening integer reduction,
single-width floating-point reduction and widening floating-point
reduction.

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