aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2020-03-02 04:23:12 +1100
committerJoel Sing <joel@sing.id.au>2020-03-03 11:36:47 +0000
commitbd6f4cd886458bb4ab1f492202fa2b499dcfc6f7 (patch)
tree61f53f045d065a1f4be1779ea34f6806830d80a3 /src/encoding
parent52b457d6f320c3491ab14a71afc3c7416b36430c (diff)
downloadgo-bd6f4cd886458bb4ab1f492202fa2b499dcfc6f7.tar.xz
cmd/compile: improve subtraction of constants on riscv64
Convert subtraction of a constant into an ADDI with a negative immediate, where possible. Change-Id: Ie8d54b7538f0012e5f898abea233b2957fe31899 Reviewed-on: https://go-review.googlesource.com/c/go/+/221679 Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions