aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Munday <munday@ca.ibm.com>2016-11-17 12:26:36 -0500
committerMichael Munday <munday@ca.ibm.com>2016-11-17 17:40:30 +0000
commite0942b76c735a69df18d24a23fa16da1e5db8c2e (patch)
tree380486cd0135dbe1a3ec9d59ce0e5dfbb339ef62 /src
parentafb0ae67b7d37b6678179f236c98ef0d952c0403 (diff)
downloadgo-e0942b76c735a69df18d24a23fa16da1e5db8c2e.tar.xz
cmd/asm/internal/asm: fix copy/paste errors in comment
Change-Id: I0249b60e340710bea7b6671c9b7405c278b037bd Reviewed-on: https://go-review.googlesource.com/33351 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/asm/internal/arch/amd64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/asm/internal/arch/amd64.go b/src/cmd/asm/internal/arch/amd64.go
index 625e136d1d..ff20d32daa 100644
--- a/src/cmd/asm/internal/arch/amd64.go
+++ b/src/cmd/asm/internal/arch/amd64.go
@@ -13,8 +13,8 @@ import (
"cmd/internal/obj/x86"
)
-// IsAMD4OP reports whether the op (as defined by an ppc64.A* constant) is
-// The FMADD-like instructions behave similarly.
+// IsAMD4OP reports whether the op (as defined by an amd64.A* constant) is
+// a 4-operand instruction.
func IsAMD4OP(op obj.As) bool {
switch op {
case x86.AVPERM2F128,