Skip to content

Commit

Permalink
runtime: remove outdated comment in mkduff.go about usage of STOSQ
Browse files Browse the repository at this point in the history
Change-Id: I71966cc5def4615d64876165872e5e7f2956b270
Reviewed-on: https://go-review.googlesource.com/c/go/+/253397
Run-TryBot: Martin Möhrmann <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
martisch committed Sep 7, 2020
1 parent dc025c0 commit f98f3b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/runtime/mkduff.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f98f3b0

Please sign in to comment.