]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/arm64: add a restriction on move constant instructions
authorfanzha02 <fannie.zhang@arm.com>
Wed, 17 Mar 2021 06:52:27 +0000 (14:52 +0800)
committerfannie zhang <Fannie.Zhang@arm.com>
Tue, 26 Oct 2021 01:07:41 +0000 (01:07 +0000)
commit41f74079a982dae05da1860a5f195ac08d067bdd
treec0519015ab40146a2ce30ebf2f593e0e4cc8421d
parent0ec1b62ee28c633265036664c21a5cb22086f231
cmd/internal/obj/arm64: add a restriction on move constant instructions

For MOVK/MOVN/MOVZ instructions, the assembler does not accept zero
shifts, and the CL 275812 added the error check. This CL adds this
restriction to the document.

Change-Id: I8818d76ca2f11dade2307f3678ca521f4e64d164
Reviewed-on: https://go-review.googlesource.com/c/go/+/312210
Trust: fannie zhang <Fannie.Zhang@arm.com>
Run-TryBot: fannie zhang <Fannie.Zhang@arm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/internal/obj/arm64/doc.go