Commit 1e09031f authored by David G. Andersen's avatar David G. Andersen Committed by Robert Griesemer

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
parent 9d4ae0ae
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment