mirror of https://github.com/golang/go.git
cmd/compile: fix the typos in genericOps.go
This commit is contained in:
parent
70f4717e96
commit
bf01f58249
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue