Commit 084143d8 authored by Cherry Zhang's avatar Cherry Zhang

math/big: don't use R18 in ARM64 assembly

R18 seems reserved on Apple platforms.

May fix darwin/arm64 build.

Change-Id: Ia2c1de550a64827c85a64affa53b94c62aacce8e
Reviewed-on: https://go-review.googlesource.com/98896
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarElias Naur <elias.naur@gmail.com>
parent 9745397e
...@@ -54,11 +54,11 @@ loop: ...@@ -54,11 +54,11 @@ loop:
LDP.P 32(R8), (R11, R12) LDP.P 32(R8), (R11, R12)
LDP -16(R8), (R13, R14) LDP -16(R8), (R13, R14)
LDP.P 32(R9), (R15, R16) LDP.P 32(R9), (R15, R16)
LDP -16(R9), (R17, R18) LDP -16(R9), (R17, R19)
ADCS R15, R11 ADCS R15, R11
ADCS R16, R12 ADCS R16, R12
ADCS R17, R13 ADCS R17, R13
ADCS R18, R14 ADCS R19, R14
STP.P (R11, R12), 32(R10) STP.P (R11, R12), 32(R10)
STP (R13, R14), -16(R10) STP (R13, R14), -16(R10)
SUB $4, R0 SUB $4, R0
...@@ -95,11 +95,11 @@ loop: ...@@ -95,11 +95,11 @@ loop:
LDP.P 32(R8), (R11, R12) LDP.P 32(R8), (R11, R12)
LDP -16(R8), (R13, R14) LDP -16(R8), (R13, R14)
LDP.P 32(R9), (R15, R16) LDP.P 32(R9), (R15, R16)
LDP -16(R9), (R17, R18) LDP -16(R9), (R17, R19)
SBCS R15, R11 SBCS R15, R11
SBCS R16, R12 SBCS R16, R12
SBCS R17, R13 SBCS R17, R13
SBCS R18, R14 SBCS R19, R14
STP.P (R11, R12), 32(R10) STP.P (R11, R12), 32(R10)
STP (R13, R14), -16(R10) STP (R13, R14), -16(R10)
SUB $4, R0 SUB $4, R0
......
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