diff options
author | Russ Cox <rsc@golang.org> | 2010-01-25 18:52:55 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-01-25 18:52:55 -0800 |
commit | ab9fc72814710229b0118e302bbceae3e9260926 (patch) | |
tree | e8137325f4384b3cd062ab7f2700db20c32efb4c /src/pkg/bignum | |
parent | 3ed83878d067bfb4eaa5ba5390bcde974382000f (diff) | |
download | golang-ab9fc72814710229b0118e302bbceae3e9260926.tar.gz |
in C and asm, replace pkg·name with ·name
(eliminate assumption of package global name space,
make code easier to move between packages).
R=r
CC=golang-dev
http://codereview.appspot.com/194072
Diffstat (limited to 'src/pkg/bignum')
-rw-r--r-- | src/pkg/bignum/arith_amd64.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/bignum/arith_amd64.s b/src/pkg/bignum/arith_amd64.s index 4474e38aa..37d5a30de 100644 --- a/src/pkg/bignum/arith_amd64.s +++ b/src/pkg/bignum/arith_amd64.s @@ -8,7 +8,7 @@ // func Mul128(x, y uint64) (z1, z0 uint64) // z1<<64 + z0 = x*y // -TEXT bignum·Mul128(SB),7,$0 +TEXT ·Mul128(SB),7,$0 MOVQ a+0(FP), AX MULQ a+8(FP) MOVQ DX, a+16(FP) @@ -19,7 +19,7 @@ TEXT bignum·Mul128(SB),7,$0 // func MulAdd128(x, y, c uint64) (z1, z0 uint64) // z1<<64 + z0 = x*y + c // -TEXT bignum·MulAdd128(SB),7,$0 +TEXT ·MulAdd128(SB),7,$0 MOVQ a+0(FP), AX MULQ a+8(FP) ADDQ a+16(FP), AX @@ -32,7 +32,7 @@ TEXT bignum·MulAdd128(SB),7,$0 // func Div128(x1, x0, y uint64) (q, r uint64) // q = (x1<<64 + x0)/y + r // -TEXT bignum·Div128(SB),7,$0 +TEXT ·Div128(SB),7,$0 MOVQ a+0(FP), DX MOVQ a+8(FP), AX DIVQ a+16(FP) |