]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: add support for Zicond instructions
authorlxq015 <1824368278@qq.com>
Wed, 17 Sep 2025 04:10:13 +0000 (04:10 +0000)
committerMeng Zhuo <mengzhuo1203@gmail.com>
Thu, 18 Sep 2025 01:54:30 +0000 (18:54 -0700)
commitef05b66d6115209361dd99ff8f3ab978695fd74a
treeee258d594ddb30097e2e7758b6862352651289ba
parent78ef487a6f936a39e9d4ebf66ac421bb1244a7a9
cmd/internal/obj/riscv: add support for Zicond instructions

This patch implement assembler for the Zicond extension: CZEROEQZ and CZERONEZ.

Follow-up to CL 631576
Updates #75350

Change-Id: Icf4be131fe61c3b7a3bde4811cf42dc807660907
GitHub-Last-Rev: 6539cc86cbf3c49c3247ed935bcbbb31bb886dea
GitHub-Pull-Request: golang/go#75408
Reviewed-on: https://go-review.googlesource.com/c/go/+/702677
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Joel Sing <joel@sing.id.au>
Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Mark Ryan <markdryan@rivosinc.com>
TryBot-Bypass: Joel Sing <joel@sing.id.au>
src/cmd/asm/internal/asm/testdata/riscv64.s
src/cmd/internal/obj/riscv/anames.go
src/cmd/internal/obj/riscv/cpu.go
src/cmd/internal/obj/riscv/inst.go
src/cmd/internal/obj/riscv/obj.go