go/src/cmd
Ilya Tocar 94484d8ed5 cmd/compile: intrinsify math.{Trunc/Ceil/Floor} on amd64
This significantly speed-ups Trunc.
Ceil/Floor are using the same instruction, so do them too.

name     old time/op  new time/op  delta
Floor-6  3.33ns ± 1%  3.22ns ± 0%   -3.39%  (p=0.000 n=10+10)
Ceil-6   3.33ns ± 1%  3.22ns ± 0%   -3.16%  (p=0.000 n=10+7)
Trunc-6  4.83ns ± 0%  3.22ns ± 0%  -33.36%  (p=0.000 n=6+8)

Change-Id: If848790e458eedfe38a6a0407bb4f589c68ac254
Reviewed-on: https://go-review.googlesource.com/68630
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
2017-10-31 19:30:54 +00:00
..
addr2line
api all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
asm cmd/asm, cmd/internal/obj/s390x, math: add "test under mask" instructions 2017-10-30 23:55:14 +00:00
buildid cmd/buildid: add new tool factoring out code needed by go command 2017-10-11 18:16:02 +00:00
cgo cmd/asm, cmd/cgo, cmd/compile, cmd/cover, cmd/link: use standard -V output 2017-10-06 20:28:40 +00:00
compile cmd/compile: intrinsify math.{Trunc/Ceil/Floor} on amd64 2017-10-31 19:30:54 +00:00
cover cmd/cover: don't try to attach directives to synthetic decls 2017-10-17 22:14:28 +00:00
dist cmd/dist: avoid darwin_amd64 assumption in debug prints 2017-10-31 16:25:52 +00:00
doc all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
fix all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
go cmd/vet: tighten printf format error messages 2017-10-31 16:25:35 +00:00
gofmt
internal cmd/go: switch to entirely content-based staleness determination 2017-10-31 13:19:38 +00:00
link cmd/compile, cmd/link: support for DWARF file reference relocations 2017-10-27 17:53:52 +00:00
nm cmd/link: don't use internal linking mode for cgo on PPC64 2017-09-26 15:06:32 +00:00
objdump cmd/objdump: fix and re-enable arm test 2017-10-02 16:11:26 +00:00
pack cmd/pack: fix export data truncation bug 2017-09-09 14:13:33 +00:00
pprof cmd/pprof: restore printing descriptive errors from net/http/pprof endpoints 2017-06-15 02:14:24 +00:00
trace cmd/trace: fix a javascript bug in handling import error 2017-10-20 16:34:50 +00:00
vendor cmd/vendor/golang.org/x/arch: pull latest updates from x repo (commit edaf650) 2017-08-25 14:13:13 +00:00
vet cmd/vet: tighten printf format error messages 2017-10-31 16:25:35 +00:00