cmd/compile: fix the typos in genericOps.go

This commit is contained in:
Shuo Wang 2024-10-21 14:18:35 +08:00
parent 70f4717e96
commit bf01f58249
1 changed files with 1 additions and 1 deletions

View 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.