]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: optimize bvec routines
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 30 Apr 2018 15:42:03 +0000 (08:42 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 1 May 2018 13:34:56 +0000 (13:34 +0000)
commit60c76f7656f24074b7708369c1628835c89118da
treeb7b3d20fc3df2e11bf05df39b042446bc34662ae
parentd91e9705f87da8b939a6e074ebaa0de6b0340541
cmd/compile: optimize bvec routines

The recent improvements to the prove pass
make it possible to provide bounds
hints to the compiler in some bvec routines.

This speeds up the compilation of the code in

name  old time/op       new time/op       delta
Pkg         7.93s ± 4%        7.69s ± 3%  -2.98%  (p=0.000 n=29+26)

While we're here, clean up some C-isms.

Updates #13554
Updates #20393

Change-Id: I47a0ec68543a9fc95c5359c3f37813fb529cb4f0
Reviewed-on: https://go-review.googlesource.com/110560
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/bv.go