all: fix typos

Change-Id: I0c64540bc7848773955a517c20c7dc9d45cbe618
GitHub-Last-Rev: a97430e47c17183bebaf28f0f5bd3d10f91bbf5b
GitHub-Pull-Request: golang/arch#5
Reviewed-on: https://go-review.googlesource.com/c/arch/+/337169
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
diff --git a/arm64/arm64asm/plan9x.go b/arm64/arm64asm/plan9x.go
index 3aaf0b2..f4eef8c 100644
--- a/arm64/arm64asm/plan9x.go
+++ b/arm64/arm64asm/plan9x.go
@@ -500,7 +500,7 @@
 SHA256SU1
 `)
 
-// floating point instrcutions without "F" prefix.
+// floating point instructions without "F" prefix.
 var fOpsWithoutFPrefix = map[Op]bool{
 	LDP: true,
 	STP: true,
diff --git a/x86/x86csv/reader.go b/x86/x86csv/reader.go
index ed59e31..5c48ae9 100644
--- a/x86/x86csv/reader.go
+++ b/x86/x86csv/reader.go
@@ -24,7 +24,7 @@
 
 // ReadAll reads all remaining rows from r.
 //
-// If error is occured, still returns all rows
+// If error has occurred, still returns all rows
 // that have been read during method execution.
 //
 // A successful call returns err == nil, not err == io.EOF.
diff --git a/x86/x86spec/spec.go b/x86/x86spec/spec.go
index b49e006..2526794 100644
--- a/x86/x86spec/spec.go
+++ b/x86/x86spec/spec.go
@@ -36,7 +36,7 @@
 //
 // 4. The instruction encoding. For example, "C1 /4 ib".
 //
-// 5. The validity of the instruction in 32-bit (aka compatiblity, legacy) mode.
+// 5. The validity of the instruction in 32-bit (aka compatibility, legacy) mode.
 //
 // 6. The validity of the instruction in 64-bit mode.
 //
diff --git a/x86/xeddata/operand.go b/x86/xeddata/operand.go
index e934ed7..1632828 100644
--- a/x86/xeddata/operand.go
+++ b/x86/xeddata/operand.go
@@ -66,7 +66,7 @@
 	// Possible values:
 	//   EVEX.b context {
 	//     TXT=ZEROSTR  - zeroing
-	//     TXT=SAESTR   - surpress all exceptions
+	//     TXT=SAESTR   - suppress all exceptions
 	//     TXT=ROUNDC   - rounding
 	//     TXT=BCASTSTR - broadcasting
 	//   }