1
0
mirror of https://github.com/golang/go synced 2024-10-05 07:11:22 -06:00
go/src
Alexandru Moșoi e197f467d5 [dev.ssa] cmd/compile/internal/ssa: simplify boolean phis
* Decreases the generated code slightly.
* Similar to phiopt pass from gcc, except it only handles
booleans. Handling Eq/Neq had no impact on the generated code.

name       old time/op     new time/op     delta
Template       453ms ± 4%      451ms ± 4%    ~           (p=0.468 n=24+24)
GoTypes        1.55s ± 1%      1.55s ± 2%    ~           (p=0.287 n=24+25)
Compiler       6.53s ± 2%      6.56s ± 1%  +0.46%        (p=0.050 n=23+23)
MakeBash       45.8s ± 2%      45.7s ± 2%    ~           (p=0.866 n=24+25)

name       old text-bytes  new text-bytes  delta
HelloSize       676k ± 0%       676k ± 0%    ~     (all samples are equal)
CmdGoSize      8.07M ± 0%      8.07M ± 0%  -0.03%        (p=0.000 n=25+25)

Change-Id: Ia62477b7554127958a14cb27f85849b095d63663
Reviewed-on: https://go-review.googlesource.com/20090
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-01 17:56:13 +00:00
..
archive all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
bufio all: fix typos and spelling 2016-02-24 18:42:29 +00:00
builtin
bytes runtime: avoid using REP prefix for IndexByte 2016-02-26 01:09:53 +00:00
cmd [dev.ssa] cmd/compile/internal/ssa: simplify boolean phis 2016-03-01 17:56:13 +00:00
compress
container
crypto [dev.ssa] Merge remote-tracking branch 'origin/master' into ssamerge 2016-02-29 13:32:20 -08:00
database/sql all: fix typos and spelling 2016-02-24 18:42:29 +00:00
debug debug/gosym: fix TestPCLine on Plan 9 2016-02-27 05:13:33 +00:00
encoding all: fix typos and spelling 2016-02-24 18:42:29 +00:00
errors
expvar expvar: document that Get returns nil for non-existent vars 2016-02-25 16:48:08 +00:00
flag
fmt fmt: simplify buffer write methods and adjust calls to them 2016-02-27 21:12:19 +00:00
go cmd: stop looking for __.(GO)?SYMDEF entries in archives 2016-02-26 20:26:17 +00:00
hash
html all: fix typos and spelling 2016-02-24 18:42:29 +00:00
image all: fix typos and spelling 2016-02-24 18:42:29 +00:00
index/suffixarray
internal crypto/rand: use the getentropy syscall on OpenBSD 2016-02-26 19:58:09 +00:00
io
log all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
math all: fix typos and spelling 2016-02-24 18:42:29 +00:00
mime all: fix typos 2016-02-23 13:58:47 +00:00
net net/url: support query string without values 2016-02-26 16:13:26 +00:00
os os: fix tests on brillo 2016-02-24 21:05:40 +00:00
path all: fix typos and spelling 2016-02-24 18:42:29 +00:00
reflect cmd/compile: remove uncommonType.name 2016-02-26 12:02:39 +00:00
regexp all: fix typos and spelling 2016-02-24 18:42:29 +00:00
runtime Merge "[dev.ssa] Merge remote-tracking branch 'origin/master' into ssamerge" into dev.ssa 2016-02-29 23:19:17 +00:00
sort all: fix typos and spelling 2016-02-24 18:42:29 +00:00
strconv strconv: Avoid allocation in AppendQuote* 2016-02-27 17:15:01 +00:00
strings
sync sync/atomic: new file for plan9_arm support 2016-02-26 20:16:34 +00:00
syscall syscall: new files for plan_arm support 2016-02-26 20:03:16 +00:00
testing testing/quick: generate more map and slice states 2016-02-26 20:04:04 +00:00
text all: fix typos and spelling 2016-02-24 18:42:29 +00:00
time all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
unicode unicode/utf16: speed up and clean up Encode and EncodeRune 2016-02-24 21:07:03 +00:00
unsafe unsafe: fix typo in documentation of valid Pointer->uintptr->Pointer conversions 2016-01-29 00:41:27 +00:00
vendor net/http: update http2 to check header values, move from vendor to internal 2016-01-21 00:19:02 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: use consistent shebang line 2016-01-14 03:16:20 +00:00
buildall.bash build: use go tool dist list 2016-02-26 03:58:58 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
make.bat cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc