]> Cypherpunks repositories - gostls13.git/commit
math/big: enable pure Go (no assembly) build with build tag
authorRobert Griesemer <gri@golang.org>
Fri, 20 Mar 2015 20:02:56 +0000 (13:02 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 20 Mar 2015 21:58:19 +0000 (21:58 +0000)
commit98182c86b1e5536ec617793e9127a76197e88ba0
tree30f2280a56870de5e505d15e9a64101b0bbe6a30
parent4224d81fae7bfce98629894d14f4644018037cfb
math/big: enable pure Go (no assembly) build with build tag

To use a pure Go implementation of the low-level arithmetic
functions (when no platform-specific assembly implementations
are available), set the build tag math_big_pure_go.

This will make it easy to vendor the math/big package where no
assembly is available (for instance for use with gc which relies
on 1.4 functionality for now).

Change-Id: I91e17c0fdc568a20ec1512d7c64621241dc60c17
Reviewed-on: https://go-review.googlesource.com/7856
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/math/big/arith_386.s
src/math/big/arith_amd64.s
src/math/big/arith_amd64p32.s
src/math/big/arith_arm.s
src/math/big/arith_arm64.s
src/math/big/arith_decl.go
src/math/big/arith_decl_pure.go [new file with mode: 0644]
src/math/big/arith_ppc64x.s