From: David G. Andersen Date: Thu, 26 Jan 2012 00:09:12 +0000 (-0800) Subject: math/big: return type of bitLen is an int; use MOVL on amd64. X-Git-Tag: weekly.2012-01-27~32 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1e09031f7f9293ba032c88abb55b373d341f01bf;p=gostls13.git math/big: return type of bitLen is an int; use MOVL on amd64. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5577050 --- diff --git a/src/pkg/math/big/arith_amd64.s b/src/pkg/math/big/arith_amd64.s index 088f724704..54f647322b 100644 --- a/src/pkg/math/big/arith_amd64.s +++ b/src/pkg/math/big/arith_amd64.s @@ -266,9 +266,9 @@ E7: SUBL $1, BX // i-- TEXT ·bitLen(SB),7,$0 BSRQ x+0(FP), AX JZ Z1 - INCQ AX - MOVQ AX, n+8(FP) + INCL AX + MOVL AX, n+8(FP) RET -Z1: MOVQ $0, n+8(FP) +Z1: MOVL $0, n+8(FP) RET