From: shaoliming Date: Wed, 5 Oct 2022 01:35:25 +0000 (+0000) Subject: cmd/internal/obj/arm64: add missing operand register in GNU assembly X-Git-Tag: go1.20rc1~732 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9f78c3cb0400c2df143bd0ae124a911f911eaf36;p=gostls13.git cmd/internal/obj/arm64: add missing operand register in GNU assembly Fixes #55832 Change-Id: Ib20279d47c1ca9a383a3c85bb41ca4f550bb0a33 GitHub-Last-Rev: 10af77a2f21397899f69938e6d98bb34b33bfddf GitHub-Pull-Request: golang/go#55838 Reviewed-on: https://go-review.googlesource.com/c/go/+/433575 TryBot-Result: Gopher Robot Run-TryBot: hopehook Reviewed-by: Dmitri Shuralyov Reviewed-by: Cherry Mui Reviewed-by: Than McIntosh --- diff --git a/src/cmd/internal/obj/arm64/doc.go b/src/cmd/internal/obj/arm64/doc.go index c12f618e93..4606e98aa9 100644 --- a/src/cmd/internal/obj/arm64/doc.go +++ b/src/cmd/internal/obj/arm64/doc.go @@ -13,7 +13,7 @@ using different register names. Examples: - ADC R24, R14, R12 <=> adc x12, x24 + ADC R24, R14, R12 <=> adc x12, x14, x24 ADDW R26->24, R21, R15 <=> add w15, w21, w26, asr #24 FCMPS F2, F3 <=> fcmp s3, s2 FCMPD F2, F3 <=> fcmp d3, d2