]> Cypherpunks repositories - gostls13.git/commit
math: amd64 versions of exp and fabs
authorCharles L. Dorian <cldorian@gmail.com>
Wed, 30 Jun 2010 21:44:27 +0000 (14:44 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 30 Jun 2010 21:44:27 +0000 (14:44 -0700)
commita0117bafa0ddba85a063b958111b1989e39b1a43
tree6bfd864992d97620eecd6a0d67cbdb18eae1630f
parent0e25775518e9401d9f08ddd2d5646bd102cb7a11
math: amd64 versions of exp and fabs

Benchmark of exp to 28 ns/op from 64 ns/op,
on 2.53GHz Intel Core 2 Duo.

R=rsc
CC=golang-dev
https://golang.org/cl/1594041
src/pkg/math/Makefile
src/pkg/math/all_test.go
src/pkg/math/exp.go
src/pkg/math/exp2.go [new file with mode: 0644]
src/pkg/math/exp_amd64.s [new file with mode: 0644]
src/pkg/math/fabs_amd64.s [new file with mode: 0644]