]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/arm64: add missing operand register in GNU assembly
authorshaoliming <shaojacobi@gmail.com>
Wed, 5 Oct 2022 01:35:25 +0000 (01:35 +0000)
committerCherry Mui <cherryyz@google.com>
Wed, 5 Oct 2022 14:57:54 +0000 (14:57 +0000)
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 <gobot@golang.org>
Run-TryBot: hopehook <hopehook@golangcn.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/internal/obj/arm64/doc.go

index c12f618e939107422d87b1030be5e64b3923c44d..4606e98aa99d08770e580c33f54baca7eedcdaf5 100644 (file)
@@ -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