diff options
| author | Ilya Tocar <ilya.tocar@intel.com> | 2017-10-31 16:49:27 -0500 |
|---|---|---|
| committer | Ilya Tocar <ilya.tocar@intel.com> | 2017-11-02 17:33:52 +0000 |
| commit | 2f1f607b21af8c30e80fb4fc062a8f447cffd48b (patch) | |
| tree | 0bf84082678bfd5c51ebcf4a93200aa184740e68 /src/net/http/requestwrite_test.go | |
| parent | 6128ff84f1106af4944f50f74070566e87f2cb35 (diff) | |
| download | go-2f1f607b21af8c30e80fb4fc062a8f447cffd48b.tar.xz | |
cmd/compile: intrinsify math.RoundToEven on amd64
We already do this for floor/ceil, but RoundToEven was added later.
Intrinsify it also.
name old time/op new time/op delta
RoundToEven-8 3.00ns ± 1% 0.68ns ± 2% -77.34% (p=0.000 n=10+10)
Change-Id: Ib158cbceb436c6725b2d9353a526c5c4be19bcad
Reviewed-on: https://go-review.googlesource.com/74852
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/net/http/requestwrite_test.go')
0 files changed, 0 insertions, 0 deletions
