aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2023-08-28 02:14:22 +1000
committerJoel Sing <joel@sing.id.au>2023-09-08 04:20:37 +0000
commit13d5ca42fdbbbd4e3f104928f945a266642857dd (patch)
tree580a16a30c7dc9657f0e012a7d4a451d76bf2146 /src/syscall
parent834a6f9a338b25543cb736ebef03488e8d30a839 (diff)
downloadgo-13d5ca42fdbbbd4e3f104928f945a266642857dd.tar.xz
cmd/internal/obj/riscv: simplify instructionsForMOV
Rather than handling shift based scaling in two locations, rework logic so there is a single exit path. Change-Id: I832b4932d53183736050059a11019ced08281b3b Reviewed-on: https://go-review.googlesource.com/c/go/+/523455 Reviewed-by: M Zhuo <mzh@golangcn.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Mark Ryan <markdryan@rivosinc.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions