]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: implement AUIPC and LUI instructions
authorJoel Sing <joel@sing.id.au>
Wed, 18 Sep 2019 16:34:06 +0000 (02:34 +1000)
committerJoel Sing <joel@sing.id.au>
Thu, 26 Sep 2019 17:34:54 +0000 (17:34 +0000)
commit430d2aa3493c3a057f83af886cd866291cbf04ea
tree226601b7bfc335cd866c444cfb7b807cc71011b6
parent05c8d8d3655b92ea6608f8f9ff47d85b74b67e94
cmd/internal/obj/riscv: implement AUIPC and LUI instructions

Add support for assembling AUIPC and LUI instructions.

Based on the riscv-go port.

Updates #27532

Change-Id: I178868b6dcc6fdc6b8527454569a3538ed50723e
Reviewed-on: https://go-review.googlesource.com/c/go/+/196840
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