]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use SEQZ pseudo instruction in RISCV64 boolean rules
authorJoel Sing <joel@sing.id.au>
Sat, 25 Apr 2020 18:34:34 +0000 (04:34 +1000)
committerJoel Sing <joel@sing.id.au>
Sat, 2 May 2020 18:10:49 +0000 (18:10 +0000)
commit9439a7d87f90b97e00717fc0849d4460628d82d0
tree8d7245499ad676c62b05b343c26af3edf5f5f924
parentbe08e10b3bc07f3a4e7b27f44d53d582e15fd6c7
cmd/compile: use SEQZ pseudo instruction in RISCV64 boolean rules

This makes the intent clearer, allows for another ellipsis and will aid
in future rewriting. While here, document boolean loads to explain register
contents.

Change-Id: I933db2813826d88819366191fbbea8fcee5e4dda
Reviewed-on: https://go-review.googlesource.com/c/go/+/230120
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/RISCV64.rules
src/cmd/compile/internal/ssa/gen/RISCV64Ops.go
src/cmd/compile/internal/ssa/rewriteRISCV64.go