]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: implement control transfer instructions
authorJoel Sing <joel@sing.id.au>
Wed, 18 Sep 2019 17:53:50 +0000 (03:53 +1000)
committerJoel Sing <joel@sing.id.au>
Thu, 26 Sep 2019 17:37:02 +0000 (17:37 +0000)
commita37f2b4f60aef93fec1911eeac43c33dc5ff1857
treed90a1061b87d570f754ac2a7fece7c94508dde95
parent430d2aa3493c3a057f83af886cd866291cbf04ea
cmd/internal/obj/riscv: implement control transfer instructions

Add support for assembling control transfer instructions.

Based on the riscv-go port.

Updates #27532

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