1
0
mirror of https://github.com/golang/go synced 2024-11-20 08:04:42 -07:00
go/src/cmd/6c
Russ Cox d42495aa80 cmd/cc: add PREFETCH built-in (like SET, USED)
This makes it possible to inline the prefetch of upcoming
memory addresses during garbage collection, instead of
needing to flush registers, make a function call, and
reload registers.  On garbage collection-heavy workloads,
this results in a 5% speedup.

Fixes #3493.

R=dvyukov, ken, r, dave
CC=golang-dev
https://golang.org/cl/5990066
2012-05-02 16:22:56 -04:00
..
cgen.c cmd/6c: fix probable code gen bug 2012-04-10 12:51:36 -04:00
div.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
doc.go
gc.h cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
list.c 6c, 8c: show line numbers in -S output 2010-09-10 11:53:51 -04:00
machcap.c
Makefile build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
mul.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
peep.c cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
reg.c cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
sgen.c amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
swt.c 5c, 6c, 8c: take GOROOT_FINAL into consideration 2012-04-04 00:04:36 +08:00
txt.c cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00