]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: replace range checks with isaddcon2
authorJoel Sing <joel@sing.id.au>
Thu, 20 Feb 2025 11:53:31 +0000 (22:53 +1100)
committerJoel Sing <joel@sing.id.au>
Tue, 25 Mar 2025 11:03:02 +0000 (04:03 -0700)
commitdab10bca372165432931a44d9783a82db7d1a33f
treec23839c0ad225a98e71bb24c278dd92f747385a1
parent4f11f8ff7db476c534b9b1ad8910dcdd8bbcf022
cmd/internal/obj/arm64: replace range checks with isaddcon2

isaddcon2 tests for the range 0 <= v <= 0xffffff - replace duplicated range
checks with calls to isaddcon2.

Change-Id: Ia6f331852ed3d77715b265cb4fcc500579eac711
Reviewed-on: https://go-review.googlesource.com/c/go/+/650935
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Fannie Zhang <Fannie.Zhang@arm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/internal/obj/arm64/asm7.go