Text file
src/runtime/preempt_arm.s
1 // Code generated by mkpreempt.go; DO NOT EDIT.
2
3 #include "go_asm.h"
4 #include "textflag.h"
5
6 TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
7 MOVW.W R14, -188(R13)
8 MOVW R0, 4(R13)
9 MOVW R1, 8(R13)
10 MOVW R2, 12(R13)
11 MOVW R3, 16(R13)
12 MOVW R4, 20(R13)
13 MOVW R5, 24(R13)
14 MOVW R6, 28(R13)
15 MOVW R7, 32(R13)
16 MOVW R8, 36(R13)
17 MOVW R9, 40(R13)
18 MOVW R11, 44(R13)
19 MOVW R12, 48(R13)
20 MOVW CPSR, R0
21 MOVW R0, 52(R13)
22 MOVB ·goarmsoftfp(SB), R0
23 CMP $0, R0
24 BNE nofp
25 MOVW FPCR, R0
26 MOVW R0, 56(R13)
27 MOVD F0, 60(R13)
28 MOVD F1, 68(R13)
29 MOVD F2, 76(R13)
30 MOVD F3, 84(R13)
31 MOVD F4, 92(R13)
32 MOVD F5, 100(R13)
33 MOVD F6, 108(R13)
34 MOVD F7, 116(R13)
35 MOVD F8, 124(R13)
36 MOVD F9, 132(R13)
37 MOVD F10, 140(R13)
38 MOVD F11, 148(R13)
39 MOVD F12, 156(R13)
40 MOVD F13, 164(R13)
41 MOVD F14, 172(R13)
42 MOVD F15, 180(R13)
43 nofp:
44 CALL ·asyncPreempt2(SB)
45 MOVB ·goarmsoftfp(SB), R0
46 CMP $0, R0
47 BNE nofp2
48 MOVD 180(R13), F15
49 MOVD 172(R13), F14
50 MOVD 164(R13), F13
51 MOVD 156(R13), F12
52 MOVD 148(R13), F11
53 MOVD 140(R13), F10
54 MOVD 132(R13), F9
55 MOVD 124(R13), F8
56 MOVD 116(R13), F7
57 MOVD 108(R13), F6
58 MOVD 100(R13), F5
59 MOVD 92(R13), F4
60 MOVD 84(R13), F3
61 MOVD 76(R13), F2
62 MOVD 68(R13), F1
63 MOVD 60(R13), F0
64 MOVW 56(R13), R0
65 MOVW R0, FPCR
66 nofp2:
67 MOVW 52(R13), R0
68 MOVW R0, CPSR
69 MOVW 48(R13), R12
70 MOVW 44(R13), R11
71 MOVW 40(R13), R9
72 MOVW 36(R13), R8
73 MOVW 32(R13), R7
74 MOVW 28(R13), R6
75 MOVW 24(R13), R5
76 MOVW 20(R13), R4
77 MOVW 16(R13), R3
78 MOVW 12(R13), R2
79 MOVW 8(R13), R1
80 MOVW 4(R13), R0
81 MOVW 188(R13), R14
82 MOVW.P 192(R13), R15
83 UNDEF
84
View as plain text