]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: auto-generate duff routines
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 31 Mar 2015 16:19:10 +0000 (09:19 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 2 Apr 2015 02:37:59 +0000 (02:37 +0000)
commitad3600945aaf168ba12ae82c9f66c3c60836ba87
tree0389d64b3897004375c03c169398712414ae405f
parent102b80652f7876e9b78b6a3c0c69b530666b52a2
runtime: auto-generate duff routines

This makes it easier to experiment with alternative implementations.

While we're here, update the comments.

No functional changes. Passes toolstash -cmp.

Change-Id: I428535754908f0fdd7cc36c214ddb6e1e60f376e
Reviewed-on: https://go-review.googlesource.com/8310
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
12 files changed:
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_arm.s
src/runtime/asm_arm64.s
src/runtime/asm_ppc64x.s
src/runtime/duff_386.s [new file with mode: 0644]
src/runtime/duff_amd64.s [new file with mode: 0644]
src/runtime/duff_arm.s [new file with mode: 0644]
src/runtime/duff_arm64.s [new file with mode: 0644]
src/runtime/duff_ppc64x.s [new file with mode: 0644]
src/runtime/mkduff.go [new file with mode: 0644]
src/runtime/runtime.go