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-- ...@@ -266,9 +266,9 @@ E7: SUBL $1, BX // i--
TEXT ·bitLen(SB),7,$0 TEXT ·bitLen(SB),7,$0
BSRQ x+0(FP), AX BSRQ x+0(FP), AX
JZ Z1 JZ Z1
INCQ AX INCL AX
MOVQ AX, n+8(FP) MOVL AX, n+8(FP)
RET RET
Z1: MOVQ $0, n+8(FP) Z1: MOVL $0, n+8(FP)
RET 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