aboutsummaryrefslogtreecommitdiff
path: root/src/index/suffixarray/suffixarray_test.go
diff options
context:
space:
mode:
authorQuey-Liang Kao <s101062801@m101.nthu.edu.tw>2020-11-21 22:48:55 +0800
committerJoel Sing <joel@sing.id.au>2020-12-02 14:20:12 +0000
commit0433845ad18a355413033bb3495ba3195f4c69ec (patch)
tree7b7cde1a9da6ef75ed9dda7aa01ea10cdc46b802 /src/index/suffixarray/suffixarray_test.go
parent73e796cb007989449da95fb4adf936ee76b766ca (diff)
downloadgo-0433845ad18a355413033bb3495ba3195f4c69ec.tar.xz
cmd/asm, cmd/internal/obj/riscv: fix branch pseudo-instructions
Pseudo branch instructions BGT, BGTU, BLE, and BLEU implemented In CL 226397 were translated inconsistently compared to other ones due to the inversion of registers. For instance, while "BLT a, b" generates "jump if a < b", "BLE a, b" generates "jump if b <= a." This CL fixes the translation in the assembler and the tests. Change-Id: Ia757be73e848734ca5b3a790e081f7c4f98c30f2 Reviewed-on: https://go-review.googlesource.com/c/go/+/271911 Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Joel Sing <joel@sing.id.au> Run-TryBot: Joel Sing <joel@sing.id.au>
Diffstat (limited to 'src/index/suffixarray/suffixarray_test.go')
0 files changed, 0 insertions, 0 deletions