1
0
mirror of https://github.com/golang/go synced 2024-11-08 18:26:14 -07:00
go/src/cmd/5g
Russ Cox 4acb70d377 cmd/gc: bypass DATA instruction for data initialized to integer constant
Eventually we will want to bypass DATA for everything,
but the relocations are not standardized well enough across
architectures to make that possible.

This did not help as much as I expected, but it is definitely better.
It shaves maybe 1-2% off all.bash depending on how much you
trust the timings of a single run:

Before: 241.139r 362.702u 112.967s
After:  234.339r 359.623u 111.045s

R=golang-codereviews, gobot, r, iant
CC=golang-codereviews
https://golang.org/cl/44650043
2013-12-20 14:24:39 -05:00
..
cgen64.c
cgen.c cmd/gc: inline copy in frontend to call memmove directly. 2013-09-12 00:15:28 +02:00
doc.go cmd/godoc: use go/build to determine package and example files 2013-02-19 11:19:58 -08:00
galign.c cmd/5g, cmd/6g, cmd/8g: use liblink 2013-12-08 22:51:55 -05:00
gg.h cmd/5g, cmd/6g, cmd/8g: use liblink 2013-12-08 22:51:55 -05:00
ggen.c cmd/5g, cmd/6g, cmd/8g: use liblink 2013-12-08 22:51:55 -05:00
gobj.c cmd/gc: bypass DATA instruction for data initialized to integer constant 2013-12-20 14:24:39 -05:00
gsubr.c cmd/cc, cmd/gc: update compilers, assemblers for liblink changes 2013-12-16 12:51:38 -05:00
list.c cmd/5g, cmd/6g, cmd/8g: use liblink 2013-12-08 22:51:55 -05:00
Makefile
opt.h cmd/gc: add temporary-merging optimization pass 2013-08-13 00:09:31 -04:00
peep.c cmd/5g, cmd/6g, cmd/8g: use liblink 2013-12-08 22:51:55 -05:00
prog.c cmd/5g, cmd/5l, cmd/6g, cmd/6l, cmd/8g, cmd/8l, cmd/gc, runtime: generate pointer maps by liveness analysis 2013-12-05 17:35:22 -08:00
reg.c cmd/5g, cmd/6g, cmd/8g: use liblink 2013-12-08 22:51:55 -05:00