]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: rename the iIEncoding
authorMark Ryan <markdryan@rivosinc.com>
Fri, 13 Sep 2024 07:33:03 +0000 (09:33 +0200)
committerMeng Zhuo <mengzhuo1203@gmail.com>
Fri, 27 Sep 2024 00:32:20 +0000 (00:32 +0000)
commit6a730e1ef0b7f312fe01815086a2eb5a25739f2d
tree13734dfa3c4aef31835497a221b61f1beb7bf0b3
parentff695ca2e3ea37dcb688d470e86ed64849c61f2e
cmd/internal/obj/riscv: rename the iIEncoding

We rename it to iIIEncoding to reflect the fact that instructions
that use this encoding take two integer registers.  This change
will allow us to add a new encoding for I-type instructions that
take a single integer register.  This new encoding will be used for
instructions that modify CSRs.

Change-Id: Ic507d0020e18f6aa72353f4d3ffcd0e868261e7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/614355
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Joel Sing <joel@sing.id.au>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Meng Zhuo <mengzhuo1203@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/internal/obj/riscv/obj.go