1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:24:41 -07:00

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
This commit is contained in:
David G. Andersen 2012-01-25 16:09:12 -08:00 committed by Robert Griesemer
parent 9d4ae0ae5c
commit 1e09031f7f

View File

@ -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