]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj,cmd/asm: add vector registers to riscv64 assembler
authorJoel Sing <joel@sing.id.au>
Thu, 27 Jun 2024 14:03:53 +0000 (00:03 +1000)
committerJoel Sing <joel@sing.id.au>
Thu, 24 Oct 2024 12:32:56 +0000 (12:32 +0000)
commit4646556ba49367b3ea19181ac7d5f8ba1b5928b8
tree0426cdbd980ce3773488076930a036791531c211
parent77c53c16e98a2371741eb5c2a7a335073d73c351
cmd/internal/obj,cmd/asm: add vector registers to riscv64 assembler

This adds V0 through V31 as vector registers, which are available on CPUs
that support the V extension.

Change-Id: Ibffee3f9a2cf1d062638715b3744431d72d451ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/595404
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Mark Ryan <markdryan@rivosinc.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: 鹏程汪 <wangpengcheng.pp@bytedance.com>
src/cmd/asm/internal/arch/arch.go
src/cmd/internal/obj/riscv/cpu.go
src/cmd/internal/obj/riscv/list.go
src/cmd/internal/obj/riscv/obj.go