1
0
mirror of https://github.com/golang/go synced 2024-10-05 07:21:25 -06:00
go/src/cmd
Keith Randall 3425295e91 [dev.ssa] cmd/compile: clean up comparisons
Add new constant-flags opcodes.  These can be generated from
comparisons that we know the result of, like x&31 < 32.

Constant-fold the constant-flags opcodes into all flag users.

Reorder some CMPxconst args so they read in the comparison direction.

Reorg deadcode removal a bit - it needs to remove the OpCopy ops it
generates when strength-reducing Phi ops.  So it needs to splice out all
the dead blocks and do a copy elimination before it computes live
values.

Change-Id: Ie922602033592ad8212efe4345394973d3b94d9f
Reviewed-on: https://go-review.googlesource.com/18267
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2016-01-13 18:42:00 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api api: create go1.6.txt 2015-12-17 22:45:50 +00:00
asm cmd/internal/obj/x86: add support for TSX instructions 2015-11-26 16:39:00 +00:00
cgo cmd/cgo: gccgo support for cgoCheckPointer 2015-12-17 03:01:38 +00:00
compile [dev.ssa] cmd/compile: clean up comparisons 2016-01-13 18:42:00 +00:00
cover cmd/cover: allow part selection to be retained across page refreshes 2015-11-27 06:13:12 +00:00
dist [dev.ssa] Merge remote-tracking branch 'origin/master' into mergebranch 2016-01-07 10:01:08 -08:00
doc cmd/doc: search the tree in breadth-first order 2015-12-10 18:08:16 +00:00
fix cmd/fix: add gotypes module 2015-07-17 01:47:14 +00:00
go cmd/go: for go get -insecure, skip TLS certificate checking 2016-01-07 01:22:59 +00:00
gofmt go/parser, go/types: report invalid else branch in if statements 2015-12-07 21:36:31 +00:00
internal [dev.ssa] Merge remote-tracking branch 'origin/master' into mergebranch 2016-01-07 10:01:08 -08:00
link cmd/link: use current GOROOT for source file paths for standard library 2016-01-04 20:09:57 +00:00
newlink cmd/internal/obj/mips: added support for GOARCH=mips64{,le} 2015-11-12 04:42:44 +00:00
nm all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
objdump cmd/objdump: skip TestDisasm* for mips64{,le} 2015-09-10 18:27:09 +00:00
pack all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
pprof cmd/pprof: fix scaling of "gigabyte" unit 2015-12-17 16:38:28 +00:00
trace cmd/trace: don't fail when no browser is available 2015-08-21 20:02:23 +00:00
vendor cmd/vendor/golang.org/x/arch: import arm/armasm and x86/x86asm 2015-08-28 16:34:30 +00:00
vet cmd/vet: add some checks for invalid pointer passing using cgo 2015-12-18 00:31:21 +00:00
yacc cmd/yacc: memory allocation improvements 2015-11-26 17:42:14 +00:00