]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add support for vector mask instructions
authorJoel Sing <joel@sing.id.au>
Sun, 2 Feb 2025 12:09:12 +0000 (23:09 +1100)
committerJoel Sing <joel@sing.id.au>
Fri, 2 May 2025 11:24:40 +0000 (04:24 -0700)
commit936ecc3e24c5b2e3ea4b0d2ca9eb32c39fdc097e
tree9b2d43c09040e40fb0fea32845925aa6ef899acb
parent2e60916f6e153db682fd4ea269c7d0a32e3d1768
cmd/internal/obj/riscv: add support for vector mask instructions

Add support for vector mask instructions to the RISC-V assembler.
These allow manipulation of vector masks and include mask register
logical instructions, population count and find-first bit set
instructions.

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