]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: implement MOV pseudo-instructions
authorJoel Sing <joel@sing.id.au>
Thu, 3 Oct 2019 18:02:38 +0000 (04:02 +1000)
committerJoel Sing <joel@sing.id.au>
Tue, 15 Oct 2019 00:53:01 +0000 (00:53 +0000)
commita04aa1f6d17cd723baad25118b31ab8ca5dc8e20
tree843e18b33c8bd61cd1fc364b48e61e94cc97b74b
parent1ed932d22b7f602d3aa0a4a5ab12ff479a2c1dce
cmd/internal/obj/riscv: implement MOV pseudo-instructions

Add support for rewriting MOV pseudo-instructions into appropriate
RISC-V instructions.

Based on the riscv-go port.

Updates #27532

Change-Id: I22da6f5f12c841d56fb676ab2a37f6d0a686b033
Reviewed-on: https://go-review.googlesource.com/c/go/+/198677
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/asm/internal/asm/testdata/riscvenc.s
src/cmd/internal/obj/riscv/obj.go