]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/internal/obj/riscv: add tests for BGE/BGEU/BLT/BLTU
authorJoel Sing <joel@sing.id.au>
Sun, 22 Nov 2020 00:52:55 +0000 (11:52 +1100)
committerJoel Sing <joel@sing.id.au>
Tue, 1 Dec 2020 05:11:44 +0000 (05:11 +0000)
commitf5978a09589badb927d3aa96998fc785524cae02
tree99458398b30e94182234280e90565523ebfcd27e
parenta36ba090fd647e741668629527e25c657c40f8f3
cmd/internal/obj/riscv: add tests for BGE/BGEU/BLT/BLTU

Add tests for BGE/BGEU/BLT/BLTU branch instructions. Also add pure Go variants
of these to ensure that the test data, Go and assembly all match up.

Change-Id: I84c68605e116a4e57f6c5c765bf0aaecab84b675
Reviewed-on: https://go-review.googlesource.com/c/go/+/271913
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Quey-Liang Kao <s101062801@m101.nthu.edu.tw>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go
src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.s