]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add support for vector integer arithmetic instructions
authorJoel Sing <joel@sing.id.au>
Tue, 18 Jun 2024 13:36:43 +0000 (23:36 +1000)
committerJoel Sing <joel@sing.id.au>
Sat, 29 Mar 2025 12:54:51 +0000 (05:54 -0700)
commit535e0daefd5ae1364df148c69fc893a068267605
treefe1f6dd5d8bf019fe54a06366f2a72bd07609536
parent5fb9e5dc19c48c8de09720bd4cb64eccd933153d
cmd/internal/obj/riscv: add support for vector integer arithmetic instructions

Add support for vector integer arithmetic instructions to the RISC-V
assembler. This includes vector addition, subtraction, integer
extension, add-with-carry, subtract-with-borrow, bitwise logical
operations, comparison, min/max, integer division and multiplication
instructions.

Change-Id: I8c191ef8e31291e13743732903e4f12356133a46
Reviewed-on: https://go-review.googlesource.com/c/go/+/646775
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
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>
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