]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add zero store operations for riscv64
authorJoel Sing <joel@sing.id.au>
Sun, 1 Mar 2020 17:26:54 +0000 (04:26 +1100)
committerJoel Sing <joel@sing.id.au>
Thu, 5 Mar 2020 11:56:33 +0000 (11:56 +0000)
commitcc6a8bd0d7f782c31e1a35793b4e1253c6716ad5
treeefa562f9aafdc87a201acbdd3da66ee0ec6587ee
parent585e31df63f6879c03b285711de6f9dcba1f2cb0
cmd/compile: add zero store operations for riscv64

This allows for zero stores to be performed using the zero register, rather
than loading a separate register with zero.

Change-Id: Ic81d8dbcdacbb2ca2c3f77682ff5ad7cdc33d18d
Reviewed-on: https://go-review.googlesource.com/c/go/+/221684
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/riscv64/ssa.go
src/cmd/compile/internal/ssa/gen/RISCV64.rules
src/cmd/compile/internal/ssa/gen/RISCV64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteRISCV64.go