go/src
Michael Munday 3202aa7800 cmd/compile: improve s390x SSA rules for logical ops
This CL introduces some minor changes to match rules more closely
to the instructions they are targeting. s390x logical operation
with immediate instructions typically leave some bits in the
target register unchanged. This means for example that an XOR
with -1 requires 2 instructions. It is better in cases such as
this to create a constant and leave it visible to the compiler
so that it can be reused rather than hiding it in the assembler.

This CL also tweaks the rules a bit to ensure that constants are
folded when possible.

Change-Id: I1c6dee31ece00fc3c5fdf6a24f1abbc91dd2db2a
Reviewed-on: https://go-review.googlesource.com/31754
Reviewed-by: Keith Randall <khr@golang.org>
2016-10-26 12:30:28 +00:00
..
archive archive/tar: validate sparse headers in parsePAX 2016-10-22 16:35:14 +00:00
bufio bufio: remove unnecessary "continue" 2016-10-24 14:49:44 +00:00
builtin builtin: clarify that make(map[K]V, n) allocates space for n elements 2016-09-10 12:57:37 +00:00
bytes bytes: encode size of rune read by ReadRune into lastRead to speed up UnreadRune 2016-10-17 06:00:35 +00:00
cmd cmd/compile: improve s390x SSA rules for logical ops 2016-10-26 12:30:28 +00:00
compress all: minor vet fixes 2016-10-24 17:27:37 +00:00
container
context context: make DeadlineExceeded implement net.Error 2016-10-05 15:53:04 +00:00
crypto crypto/tls: fix vet issues again 2016-10-25 14:27:48 +00:00
database/sql database/sql: fix possible context leak in test 2016-10-24 17:56:11 +00:00
debug cmd/dist: use debug/pe directly for cmd/link 2016-10-17 15:22:17 +00:00
encoding encoding/json: fix bad formatting introduced in CL 20356 2016-10-24 20:37:52 +00:00
errors
expvar expvar: add Value methods 2016-10-13 21:39:03 +00:00
flag flag: use strconv instead of fmt in values' String funcs 2016-09-10 10:29:44 +00:00
fmt fmt: always handle special methods if print operand is a reflect.Value 2016-10-18 10:50:26 +00:00
go cmd/compile/internal/gc: enable new parser by default 2016-10-25 22:28:40 +00:00
hash
html html/template: add test case for unbounded template expansion 2016-10-24 15:44:30 +00:00
image image/color: improve speed of RGBA methods 2016-10-25 07:51:17 +00:00
index/suffixarray
internal syscall: use ERROR_IO_PENDING value in errnoErr 2016-10-22 23:05:01 +00:00
io io: clarify Pipe docs 2016-10-18 12:53:56 +00:00
log log: document that log messages end in newlines 2016-10-24 15:32:38 +00:00
math math/cmplx: prevent infinite loop in tanSeries 2016-10-25 18:32:22 +00:00
mime net/http: multipart ReadForm close file after copy 2016-10-05 16:35:03 +00:00
net net/http: fix redirect logic to handle mutations of cookies 2016-10-25 23:51:29 +00:00
os all: minor vet fixes 2016-10-24 17:27:37 +00:00
path path/filepath: make TestToNorm robust 2016-10-25 01:57:05 +00:00
plugin plugin: mention OS X support and concurrency 2016-10-19 17:24:19 +00:00
reflect all: minor vet fixes 2016-10-24 17:27:37 +00:00
regexp regexp: avoid alloc in QuoteMeta when not quoting 2016-10-19 07:09:08 +00:00
runtime runtime: fix comments in time.go 2016-10-26 03:51:33 +00:00
sort sort: fix a slice benchmark not using the stable variant, add another 2016-10-05 14:43:23 +00:00
strconv strconv: strip \r in raw strings passed to Unquote 2016-10-17 18:34:02 +00:00
strings strings: use Index in Count 2016-10-15 16:39:31 +00:00
sync sync: throw, not panic, for unlock of unlocked mutex 2016-10-19 17:46:27 +00:00
syscall syscall: use name+(NN)FP on plan9/amd64 2016-10-25 22:13:35 +00:00
testing testing/quick, text/tabwriter: freeze packages 2016-10-24 23:31:50 +00:00
text testing/quick, text/tabwriter: freeze packages 2016-10-24 23:31:50 +00:00
time time: revise Timer comments for Stop, Reset 2016-10-18 12:55:24 +00:00
unicode runtime: speed up non-ASCII rune decoding 2016-10-17 11:25:22 +00:00
unsafe
vendor/golang_org/x vendor/golang_org/x/crypto/curve25519: update to f62085100e1abe3d5c9b3b8c9a38d50b71323f64 2016-10-21 21:33:30 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/dist, cmd/go: add environment variable override for pkg-config 2016-10-03 18:08:01 +00:00
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc