]> Cypherpunks repositories - gostls13.git/commit
[dev.garbage] runtime: add prefetcht0, prefetcht1, prefetcht2, prefetcht3, prefetchnt...
authorRuss Cox <rsc@golang.org>
Fri, 21 Nov 2014 20:57:10 +0000 (15:57 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 21 Nov 2014 20:57:10 +0000 (15:57 -0500)
commit8c3f64022a34c140853a3ec6a3be5695e6c05de2
treeb6b5dd29f5ec1ca248096e7a4e7e78c8412394f4
parentcc73a44f67a58198161a159b6ee9e3b18d152ab5
[dev.garbage] runtime: add prefetcht0, prefetcht1, prefetcht2, prefetcht3, prefetchnta for GC

We don't know what we need yet, so add them all.
Add them even on x86 architectures (as no-ops) so that
the GC can refer to them unconditionally.

Eventually we'll know what we want and probably
have just one 'prefetch' with an appropriate meaning
on each architecture.

LGTM=rlh
R=rlh
CC=golang-codereviews
https://golang.org/cl/179160043
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/asm_arm.s
src/runtime/asm_power64x.s
src/runtime/runtime1.go
src/runtime/stubs.go