go/src
Keith Randall 7b773946c0 [dev.ssa] cmd/compile: disable xor clearing when flags must be preserved
The x86 backend automatically rewrites MOV $0, AX to
XOR AX, AX.  That rewrite isn't ok when the flags register
is live across the MOV.  Keep track of which moves care
about preserving flags, then disable this rewrite for them.

On x86, Prog.Mark was being used to hold the length of the
instruction.  We already store that in Prog.Isize, so no
need to store it in Prog.Mark also.  This frees up Prog.Mark
to hold a bitmask on x86 just like all the other architectures.

Update #12405

Change-Id: Ibad8a8f41fc6222bec1e4904221887d3cc3ca029
Reviewed-on: https://go-review.googlesource.com/18861
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-01-26 17:40:22 +00:00
..
archive archive/zip: fix reading, writing of zip64 archives 2016-01-07 00:44:04 +00:00
bufio
builtin
bytes
cmd [dev.ssa] cmd/compile: disable xor clearing when flags must be preserved 2016-01-26 17:40:22 +00:00
compress build: shorten a few packages with long tests 2015-12-29 15:46:44 +00:00
container
crypto [dev.ssa] Merge remote-tracking branch 'origin/master' into mergebranch 2016-01-19 14:13:16 -08:00
database/sql database/sql/driver: clarify DefaultParameterConverter docs 2016-01-13 18:15:38 +00:00
debug debug/dwarf: fix nil pointer dereference in cyclic type structures 2016-01-14 02:05:31 +00:00
encoding encoding/json: doc: Decode only writes to exported fields 2016-01-08 16:15:25 +00:00
errors
expvar
flag
fmt
go cmd/go, go/build: ignore vendor directories with no Go source files 2016-01-14 03:43:57 +00:00
hash cmd/internal/obj/x86: add new instructions, cleanup. 2016-01-13 14:04:44 +00:00
html
image image/color: have NYCbCrA.RGBA work in 16-bit color. 2015-12-24 06:55:33 +00:00
index/suffixarray
internal internal/syscall/windows: correct GetACP and MultiByteToWideChar 2016-01-08 16:15:59 +00:00
io
log log/syslog: document that syslog is frozen 2016-01-05 22:56:07 +00:00
math math/big: fix Exp(x, x, x) for certain large x 2016-01-13 01:43:35 +00:00
mime
net net: add timeout to DNS requests sent by TestSpecialDomainName 2016-01-19 06:20:36 +00:00
os runtime: for c-archive/c-shared, install signal handlers synchronously 2016-01-09 00:58:38 +00:00
path
reflect
regexp regexp/syntax: fix factoring of common prefixes in alternations 2016-01-08 16:41:46 +00:00
runtime [dev.ssa] Merge remote-tracking branch 'origin/master' into mergebranch 2016-01-19 14:13:16 -08:00
sort
strconv
strings
sync
syscall cmd/compile: recognize Syscall-like functions for liveness analysis 2016-01-14 01:16:45 +00:00
testing testing: move comment inside T.Parallel 2016-01-06 17:59:55 +00:00
text
time time: restore old error text for day out of range 2016-01-08 03:15:20 +00:00
unicode
unsafe
vendor/golang.org/x/net/http2/hpack net/http: document GODEBUG settings, update bundled http2 2016-01-08 00:56:28 +00:00
Make.dist
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: test linux/mips64 and linux/mips64le with buildall.bash 2016-01-19 04:43:44 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
make.rc
nacltest.bash
race.bash cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
race.bat cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.bash cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.bat cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00
run.rc cmd/dist: make test default to --no-rebuild 2015-12-29 15:20:00 +00:00