]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix the typos in genericOps.go
authorShuo Wang <wangshuo@kylinos.cn>
Mon, 21 Oct 2024 06:29:38 +0000 (06:29 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 21 Oct 2024 18:42:06 +0000 (18:42 +0000)
Change-Id: I7ff869e21e67cf6a193f7a92bf7b05f047ee005c
GitHub-Last-Rev: bf01f582492c95ff169eab89b688bfb938695c50
GitHub-Pull-Request: golang/go#69957
Reviewed-on: https://go-review.googlesource.com/c/go/+/620778
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/cmd/compile/internal/ssa/_gen/genericOps.go

index ceaff221d7bfe11efc96e3062828b244149d62aa..7f6e386499f49ff36a1dc6dec3aaf61dd2556f79 100644 (file)
@@ -630,7 +630,7 @@ var genericOps = []opData{
        // Atomic operation variants
        // These variants have the same semantics as above atomic operations.
        // But they are used for generating more efficient code on certain modern machines, with run-time CPU feature detection.
-       // On ARM64, these are used when the LSE hardware feature is avaliable (either known at compile time or detected at runtime). If LSE is not avaliable,
+       // On ARM64, these are used when the LSE hardware feature is available (either known at compile time or detected at runtime). If LSE is not available,
        // then the basic atomic oprations are used instead.
        // These are not currently used on any other platform.
        {name: "AtomicAdd32Variant", argLength: 3, typ: "(UInt32,Mem)", hasSideEffects: true},          // Do *arg0 += arg1.  arg2=memory.  Returns sum and new memory.