]> Cypherpunks repositories - gostls13.git/commit
math: amd64 versions of Ceil, Floor and Trunc
authorCharles L. Dorian <cldorian@gmail.com>
Sat, 2 Jun 2012 17:06:12 +0000 (13:06 -0400)
committerRuss Cox <rsc@golang.org>
Sat, 2 Jun 2012 17:06:12 +0000 (13:06 -0400)
commit322057cbfce3c9c295aef4b87d1bf689f75c345f
treed452fc9651a62c0b0fb17112442c0c39ffd5444a
parent2b57a87678caa3adebc3254b1a54d18ab2ada941
math: amd64 versions of Ceil, Floor and Trunc

Ceil  to 4.81 from 20.6 ns/op
Floor to 4.37 from 13.5 ns/op
Trunc to 3.97 from 14.3 ns/op
Also changed three MOVSDs to MOVAPDs in log_amd64.s

R=rsc, golang-dev
CC=golang-dev
https://golang.org/cl/6262048
src/pkg/math/floor_amd64.s
src/pkg/math/log_amd64.s