]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: factor out instructions for MOV pseudo-instructions
authorJoel Sing <joel@sing.id.au>
Mon, 23 Aug 2021 15:01:06 +0000 (01:01 +1000)
committerJoel Sing <joel@sing.id.au>
Fri, 3 Sep 2021 05:27:58 +0000 (05:27 +0000)
commitab7c904bf2bb883b83001d8bb188d1809d74eee6
tree4eafe9dbc8d8c20671fd22271c65d9f4381604d5
parent17910ed4ff5a3cb3dcf4367d4af23ad5a7fe5809
cmd/internal/obj/riscv: factor out instructions for MOV pseudo-instructions

This factors out the machine instruction generation for MOV pseudo-instructions,
which will simplify further changes.

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