aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Möhrmann <moehrmann@google.com>2020-09-07 20:39:48 +0200
committerMartin Möhrmann <martisch@uos.de>2020-09-07 19:01:17 +0000
commitf98f3b0c306634e850975c5972ceb8519404edae (patch)
treee4f1512a3266d038717bf3fa72fc0520253aef9d
parentdc025c0f9b75edc5140f1895083055a559f6bd79 (diff)
downloadgo-f98f3b0c306634e850975c5972ceb8519404edae.tar.gz
go-f98f3b0c306634e850975c5972ceb8519404edae.zip
runtime: remove outdated comment in mkduff.go about usage of STOSQ
Change-Id: I71966cc5def4615d64876165872e5e7f2956b270 Reviewed-on: https://go-review.googlesource.com/c/go/+/253397 Run-TryBot: Martin Möhrmann <martisch@uos.de> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--src/runtime/mkduff.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/mkduff.go b/src/runtime/mkduff.go
index 6c7a4cf8dc..8859ed68cc 100644
--- a/src/runtime/mkduff.go
+++ b/src/runtime/mkduff.go
@@ -83,7 +83,6 @@ func copyAMD64(w io.Writer) {
//
// This is equivalent to a sequence of MOVSQ but
// for some reason that is 3.5x slower than this code.
- // The STOSQ in duffzero seem fine, though.
fmt.Fprintln(w, "TEXT runtime·duffcopy(SB), NOSPLIT, $0-0")
for i := 0; i < 64; i++ {
fmt.Fprintln(w, "\tMOVUPS\t(SI), X0")