diff options
| author | Joel Sing <joel@sing.id.au> | 2023-01-09 04:21:37 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2023-02-24 17:53:36 +0000 |
| commit | e7c7f3326335649d6fcae8cba297808fc60ed388 (patch) | |
| tree | f9d3c2b5ca3c8083c177c4419fb0495acd3f3ab1 /src/encoding/json/encode.go | |
| parent | f76fc28c6b31f28783b94596d6328450202c903a (diff) | |
| download | go-e7c7f3326335649d6fcae8cba297808fc60ed388.tar.xz | |
cmd/internal/obj/arm64: factor out code generation for addition of 12 bit immediates
Factor out and simplify code that generates the addition of a 12 bit immediate
(the addition of a negative value is still handled via subtraction). This also
fixes the mishandling of the case where v is 0.
Change-Id: I6040f33d2fec87b772272531b3bf02390ae7f200
Reviewed-on: https://go-review.googlesource.com/c/go/+/461141
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eric Fang <eric.fang@arm.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
