1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:21:21 -06:00
go/src/cmd
Rémy Oudompheng 2c0b00744f cmd/6c, cmd/8c: avoid generating long multiplication when not necessary.
On amd64
benchmark                        old ns/op    new ns/op    delta
BenchmarkHashStringSpeed                91           74  -18.49%
BenchmarkHashInt32Speed                 54           45  -17.88%
BenchmarkHashInt64Speed                 76           58  -23.53%
BenchmarkHashStringArraySpeed          231          188  -18.61%

Fixes #5367.

R=golang-dev, iant, dave, daniel.morsing, ality, rsc
CC=golang-dev
https://golang.org/cl/9040043
2013-06-04 08:33:00 +02:00
..
5a cmd/5a, cmd/dist, runtime: support m/g in the assembler, drop support for R9/R10 2013-05-30 03:03:52 +08:00
5c cmd/cgo, cmd/ld: new cgo object file section 2013-03-01 00:27:57 -05:00
5g cmd/5g, cmd/6g, cmd/8g: provide embedded trampolines with argument size information 2013-05-31 13:34:57 -07:00
5l cmd/[568]l/obj.c: NULL is not recognised in Plan 9 build, use nil instead. 2013-05-30 15:02:10 +10:00
6a cmd/6a, cmd/8a, cmd/6l, cmd/8l: add AES instructions 2013-03-07 12:54:00 -08:00
6c cmd/6c, cmd/8c: avoid generating long multiplication when not necessary. 2013-06-04 08:33:00 +02:00
6g cmd/5g, cmd/6g, cmd/8g: provide embedded trampolines with argument size information 2013-05-31 13:34:57 -07:00
6l cmd/[568]l/obj.c: NULL is not recognised in Plan 9 build, use nil instead. 2013-05-30 15:02:10 +10:00
8a 8a/8l: add PCMPEQB and PMOVMSKB to 386. 2013-03-29 00:34:03 -07:00
8c cmd/6c, cmd/8c: avoid generating long multiplication when not necessary. 2013-06-04 08:33:00 +02:00
8g cmd/5g, cmd/6g, cmd/8g: provide embedded trampolines with argument size information 2013-05-31 13:34:57 -07:00
8l cmd/[568]l/obj.c: NULL is not recognised in Plan 9 build, use nil instead. 2013-05-30 15:02:10 +10:00
addr2line cmd/addr2line: exit 0 for --help 2013-03-11 18:12:07 -04:00
api cmd/api: add more platforms 2013-05-21 21:47:32 +08:00
cc cmd/cc: reject unions containing pointers 2013-05-22 21:13:30 +02:00
cgo cmd/cgo: using __typeof__(a->r) instead of putting invalid TYPE in "a->r = (const TYPE)" 2013-06-02 22:46:53 +08:00
dist cmd/5a, cmd/dist, runtime: support m/g in the assembler, drop support for R9/R10 2013-05-30 03:03:52 +08:00
fix cmd/fix: remove obsolete testdata. 2013-06-02 15:40:32 +02:00
gc cmd/gc: fix missing slice/array types in export data. 2013-06-04 08:18:36 +02:00
go cmd/go: document flag passing for tests 2013-06-03 16:39:42 -04:00
godoc cmd/go: Add support for including C++ files in packages 2013-05-31 11:33:36 -07:00
gofmt go/parser: ParseExpr must accept type expressions 2013-04-03 07:41:26 -07:00
ld cmd/ld, runtime: clean up CL 9666047 2013-06-03 16:44:35 -04:00
nm cmd/nm: don't add filename elements for m symbols 2013-04-03 18:23:43 -07:00
objdump runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pack cmd/godoc: use go/build to determine package and example files 2013-02-19 11:19:58 -08:00
prof all: clean up C function prototypes 2013-02-26 09:51:33 -08:00
yacc cmd/yacc: don't emit line comment when -l is given 2013-05-15 12:08:51 +08:00