]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fold most repetitive operations to simplify riscv64 rules
authorJunxian Zhu <zhujunxian@oss.cipunited.com>
Fri, 26 May 2023 02:43:01 +0000 (10:43 +0800)
committerM Zhuo <mzh@golangcn.org>
Thu, 10 Aug 2023 11:46:05 +0000 (11:46 +0000)
commitada5f8a46d7bf62c879aa918ac808081fb83b252
tree917355ff71175d549b763ef4cb9bac2d8601e88c
parentd9f7e1dc7349140aa85f82daa6706a1c205d0768
cmd/compile: fold most repetitive operations to simplify riscv64 rules

Most of repetitive rules in riscv64 are simple, so that we can simplify and fold it with | without losting rules readability.

No change in the actual compiler code after running rulegen.

Change-Id: Id0bbfd93e63b49b7f66ecb62eb9440b4900c7938
Reviewed-on: https://go-review.googlesource.com/c/go/+/498455
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: M Zhuo <mzh@golangcn.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: M Zhuo <mzh@golangcn.org>
src/cmd/compile/internal/ssa/_gen/RISCV64.rules