• Russ Cox's avatar
    cmd/cc: add PREFETCH built-in (like SET, USED) · d42495aa
    Russ Cox authored
    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
    d42495aa
Name
Last commit
Last update
..
Makefile Loading commit data...
cgen.c Loading commit data...
div.c Loading commit data...
doc.go Loading commit data...
gc.h Loading commit data...
list.c Loading commit data...
machcap.c Loading commit data...
mul.c Loading commit data...
peep.c Loading commit data...
reg.c Loading commit data...
sgen.c Loading commit data...
swt.c Loading commit data...
txt.c Loading commit data...