go/src/cmd
fanzha02 6efd51c6b7 cmd/compile: change the condition flags of floating-point comparisons in arm64 backend
Current compiler reverses operands to work around NaN in
"less than" and "less equal than" comparisons. But if we
want to use "FCMPD/FCMPS $(0.0), Fn" to do some optimization,
the workaround way does not work. Because assembler does
not support instruction "FCMPD/FCMPS Fn, $(0.0)".

This CL sets condition flags for floating-point comparisons
to resolve this problem.

Change-Id: Ia48076a1da95da64596d6e68304018cb301ebe33
Reviewed-on: https://go-review.googlesource.com/c/go/+/164718
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2019-03-07 21:23:52 +00:00
..
addr2line all: add -mod=vendor to GOFLAGS in tests that execute 'go' commands within std or cmd 2019-03-05 18:21:29 +00:00
api cmd/api: fix no go files package panic 2019-03-04 15:32:18 +00:00
asm cmd/asm: add arm64 v8.1 atomic instructions 2019-03-06 18:52:03 +00:00
buildid cmd/buildid: fix rewrite algorithm 2018-01-04 16:56:51 +00:00
cgo cmd/cgo: use explicit type for arg with bad pointer typedef 2019-03-07 01:42:23 +00:00
compile cmd/compile: change the condition flags of floating-point comparisons in arm64 backend 2019-03-07 21:23:52 +00:00
cover all: add -mod=vendor to GOFLAGS in tests that execute 'go' commands within std or cmd 2019-03-05 18:21:29 +00:00
dist cmd/dist, cmd/link: allow passing default dynamic linker/loader 2019-03-01 06:06:13 +00:00
doc cmd/doc: treat any non-empty GOMOD as module mode 2018-11-29 18:59:50 +00:00
fix cmd/fix,cmd/cgo,misc/cgo: map the EGLDisplay C type to uintptr in Go 2018-12-15 19:27:41 +00:00
go cmd/go: add notary simulation and GONOVERIFY support 2019-03-07 01:45:06 +00:00
gofmt cmd/gofmt: normalize integer imaginary literals starting with 0 2019-02-19 20:38:06 +00:00
internal cmd/asm: add arm64 v8.1 atomic instructions 2019-03-06 18:52:03 +00:00
link cmd/link: fix contents of debug_pubnames/debug_pubtypes 2019-03-06 23:18:15 +00:00
nm all: add -mod=vendor to GOFLAGS in tests that execute 'go' commands within std or cmd 2019-03-05 18:21:29 +00:00
objdump all: add -mod=vendor to GOFLAGS in tests that execute 'go' commands within std or cmd 2019-03-05 18:21:29 +00:00
pack cmd: remove some unused parameters 2018-04-02 15:51:31 +00:00
pprof all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
test2json cmd/test2json: document missing "skip" action 2018-03-24 18:37:22 +00:00
trace all: fix typos as reported by 'misspell' 2019-02-26 23:02:05 +00:00
vendor cmd: update vendored golang.org/x/sys/unix 2019-02-28 13:29:53 +00:00
vet cmd/vet/all: build the vet tool within the golang.org/x/tools repository 2019-03-06 20:05:33 +00:00