]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add support for vector permutation instructions
authorJoel Sing <joel@sing.id.au>
Wed, 12 Feb 2025 12:40:58 +0000 (23:40 +1100)
committerJoel Sing <joel@sing.id.au>
Fri, 2 May 2025 11:24:52 +0000 (04:24 -0700)
commit1cc624fd6265abe16de78e9cd84272435156aa72
tree4d4647af5e043a96c2c32b1efd58869b14795721
parent936ecc3e24c5b2e3ea4b0d2ca9eb32c39fdc097e
cmd/internal/obj/riscv: add support for vector permutation instructions

Add support for vector permutation instructions to the RISC-V assembler.
This includes integer scalar move, floating point scalar move, slide up
and slide down, register gather, compression and whole vector register
move instructions.

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