]> Cypherpunks repositories - gostls13.git/commit
big: potential bug fix, cleanups
authorRobert Griesemer <gri@golang.org>
Wed, 19 May 2010 16:36:50 +0000 (09:36 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 19 May 2010 16:36:50 +0000 (09:36 -0700)
commita688eb6ee462e1b1d223426d76c404f6522502b6
tree50ac96f2ac7be9b8021366b193dc1e2b4246a6a5
parent5b8117b98aa6c10d92dab9918e815b886dd4c2c1
big: potential bug fix, cleanups

- implemented setWord, use it where setUint64 is wrong
- divLarge: use fast mulWW, divWW; implemented mulWW, divWW
- better assembly code for addMulVVW

R=rsc
CC=golang-dev
https://golang.org/cl/1258042
src/pkg/big/arith.go
src/pkg/big/arith_386.s
src/pkg/big/arith_amd64.s
src/pkg/big/nat.go