1
0
mirror of https://github.com/golang/go synced 2024-11-20 09:04:44 -07:00
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
bytes
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
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
encoding encoding/json: fix bad formatting introduced in CL 20356 2016-10-24 20:37:52 +00:00
errors
expvar
flag
fmt
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
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 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
reflect all: minor vet fixes 2016-10-24 17:27:37 +00:00
regexp
runtime runtime: fix comments in time.go 2016-10-26 03:51:33 +00:00
sort
strconv
strings
sync
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
unicode
unsafe
vendor/golang_org/x
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc