]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: avoid obj.Prog rewriting for store instructions
authorJoel Sing <joel@sing.id.au>
Thu, 19 Aug 2021 05:33:01 +0000 (05:33 +0000)
committerJoel Sing <joel@sing.id.au>
Sat, 4 Sep 2021 10:43:00 +0000 (10:43 +0000)
commit0b66310924ace48c15a3140843576d5b069762de
treed5363cdaf8f5dd69d4775d8c36aea816d19135be
parent8a01010c26a6be4ee94917360749c8f618d68079
cmd/internal/obj/riscv: avoid obj.Prog rewriting for store instructions

Rather than rewriting the obj.Prog for a store instruction, generate the
appropriate machine instruction sequence directly.

Change-Id: I026250ca3d249a1013243948a4e567b708b72d0c
Reviewed-on: https://go-review.googlesource.com/c/go/+/344452
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/internal/obj/riscv/obj.go