]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: fix the size of STP series instructions in optab
authoreric fang <eric.fang@arm.com>
Thu, 29 Apr 2021 06:33:21 +0000 (06:33 +0000)
committereric fang <eric.fang@arm.com>
Fri, 30 Apr 2021 05:18:37 +0000 (05:18 +0000)
commit9c7207891c16951121d8b3f19f49ec72f87da9fe
treebb7dc0a244114cf9e68b5f17c9ee3baf53190e68
parent303b194c6daf319f88e56d8ece56d924044f65a8
cmd/internal/obj/arm64: fix the size of STP series instructions in optab

When the class of p.To is C_NAUTO4K, STP series instructions will be translated
into add/sub + stp instructions, the total size is 8. Currently this size
value in optab is 12, this CL fixes it.

Change-Id: Ife1b9e9f8a28edca9b59f62b45a80d83f38993b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/314210
Reviewed-by: eric fang <eric.fang@arm.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: eric fang <eric.fang@arm.com>
Run-TryBot: eric fang <eric.fang@arm.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/internal/obj/arm64/asm7.go