mirror of
https://github.com/golang/go
synced 2024-11-21 22:34:48 -07:00
runtime: Add some missing runtime· prefixes to ARM asm code.
R=r, r2 CC=golang-dev https://golang.org/cl/3024041
This commit is contained in:
parent
bd8913f791
commit
7e69c90ade
@ -10,7 +10,7 @@
|
||||
// }else
|
||||
// return 0;
|
||||
|
||||
TEXT cas(SB),7,$0
|
||||
TEXT runtime·cas(SB),7,$0
|
||||
MOVW 0(FP), R1 // *val
|
||||
MOVW 4(FP), R2 // old
|
||||
MOVW 8(FP), R3 // new
|
||||
|
@ -62,7 +62,7 @@ TEXT save<>(SB), 7, $0
|
||||
MOVW 20(FP), R(D) /* denominator */
|
||||
CMP $0, R(D)
|
||||
BNE s1
|
||||
BL panicdivide(SB)
|
||||
BL runtime·panicdivide(SB)
|
||||
/* MOVW -1(R(D)), R(TMP) /* divide by zero fault */
|
||||
s1: RET
|
||||
|
||||
@ -178,7 +178,7 @@ TEXT _sfloat(SB), 7, $64 // 4 arg + 14*4 saved regs + cpsr
|
||||
MOVW R1, 60(R13)
|
||||
WORD $0xe10f1000 // mrs r1, cpsr
|
||||
MOVW R1, 64(R13)
|
||||
BL _sfloat2(SB)
|
||||
BL runtime·_sfloat2(SB)
|
||||
MOVW R0, 0(R13)
|
||||
MOVW 64(R13), R1
|
||||
WORD $0xe128f001 // msr cpsr_f, r1
|
||||
|
Loading…
Reference in New Issue
Block a user