mirror of
https://github.com/golang/go.git
synced 2025-05-20 06:43:26 +00: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:
parent
9d4ae0ae5c
commit
1e09031f7f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user