]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove outdated comment in mkduff.go about usage of STOSQ
authorMartin Möhrmann <moehrmann@google.com>
Mon, 7 Sep 2020 18:39:48 +0000 (20:39 +0200)
committerMartin Möhrmann <martisch@uos.de>
Mon, 7 Sep 2020 19:01:17 +0000 (19:01 +0000)
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>

src/runtime/mkduff.go

index 6c7a4cf8dc7e218ca527066cad3cdec697ff77eb..8859ed68ccb897a7cd5a8b3c8e8b1f02454139ef 100644 (file)
@@ -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")