Text file
src/runtime/preempt_arm64.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 MOVD R30, -496(RSP)
8 SUB $496, RSP
9 #ifdef GOOS_linux
10 MOVD R29, -8(RSP)
11 SUB $8, RSP, R29
12 #endif
13 #ifdef GOOS_ios
14 MOVD R30, (RSP)
15 #endif
16 MOVD R0, 8(RSP)
17 MOVD R1, 16(RSP)
18 MOVD R2, 24(RSP)
19 MOVD R3, 32(RSP)
20 MOVD R4, 40(RSP)
21 MOVD R5, 48(RSP)
22 MOVD R6, 56(RSP)
23 MOVD R7, 64(RSP)
24 MOVD R8, 72(RSP)
25 MOVD R9, 80(RSP)
26 MOVD R10, 88(RSP)
27 MOVD R11, 96(RSP)
28 MOVD R12, 104(RSP)
29 MOVD R13, 112(RSP)
30 MOVD R14, 120(RSP)
31 MOVD R15, 128(RSP)
32 MOVD R16, 136(RSP)
33 MOVD R17, 144(RSP)
34 MOVD R19, 152(RSP)
35 MOVD R20, 160(RSP)
36 MOVD R21, 168(RSP)
37 MOVD R22, 176(RSP)
38 MOVD R23, 184(RSP)
39 MOVD R24, 192(RSP)
40 MOVD R25, 200(RSP)
41 MOVD R26, 208(RSP)
42 MOVD NZCV, R0
43 MOVD R0, 216(RSP)
44 MOVD FPSR, R0
45 MOVD R0, 224(RSP)
46 FMOVD F0, 232(RSP)
47 FMOVD F1, 240(RSP)
48 FMOVD F2, 248(RSP)
49 FMOVD F3, 256(RSP)
50 FMOVD F4, 264(RSP)
51 FMOVD F5, 272(RSP)
52 FMOVD F6, 280(RSP)
53 FMOVD F7, 288(RSP)
54 FMOVD F8, 296(RSP)
55 FMOVD F9, 304(RSP)
56 FMOVD F10, 312(RSP)
57 FMOVD F11, 320(RSP)
58 FMOVD F12, 328(RSP)
59 FMOVD F13, 336(RSP)
60 FMOVD F14, 344(RSP)
61 FMOVD F15, 352(RSP)
62 FMOVD F16, 360(RSP)
63 FMOVD F17, 368(RSP)
64 FMOVD F18, 376(RSP)
65 FMOVD F19, 384(RSP)
66 FMOVD F20, 392(RSP)
67 FMOVD F21, 400(RSP)
68 FMOVD F22, 408(RSP)
69 FMOVD F23, 416(RSP)
70 FMOVD F24, 424(RSP)
71 FMOVD F25, 432(RSP)
72 FMOVD F26, 440(RSP)
73 FMOVD F27, 448(RSP)
74 FMOVD F28, 456(RSP)
75 FMOVD F29, 464(RSP)
76 FMOVD F30, 472(RSP)
77 FMOVD F31, 480(RSP)
78 CALL ·asyncPreempt2(SB)
79 FMOVD 480(RSP), F31
80 FMOVD 472(RSP), F30
81 FMOVD 464(RSP), F29
82 FMOVD 456(RSP), F28
83 FMOVD 448(RSP), F27
84 FMOVD 440(RSP), F26
85 FMOVD 432(RSP), F25
86 FMOVD 424(RSP), F24
87 FMOVD 416(RSP), F23
88 FMOVD 408(RSP), F22
89 FMOVD 400(RSP), F21
90 FMOVD 392(RSP), F20
91 FMOVD 384(RSP), F19
92 FMOVD 376(RSP), F18
93 FMOVD 368(RSP), F17
94 FMOVD 360(RSP), F16
95 FMOVD 352(RSP), F15
96 FMOVD 344(RSP), F14
97 FMOVD 336(RSP), F13
98 FMOVD 328(RSP), F12
99 FMOVD 320(RSP), F11
100 FMOVD 312(RSP), F10
101 FMOVD 304(RSP), F9
102 FMOVD 296(RSP), F8
103 FMOVD 288(RSP), F7
104 FMOVD 280(RSP), F6
105 FMOVD 272(RSP), F5
106 FMOVD 264(RSP), F4
107 FMOVD 256(RSP), F3
108 FMOVD 248(RSP), F2
109 FMOVD 240(RSP), F1
110 FMOVD 232(RSP), F0
111 MOVD 224(RSP), R0
112 MOVD R0, FPSR
113 MOVD 216(RSP), R0
114 MOVD R0, NZCV
115 MOVD 208(RSP), R26
116 MOVD 200(RSP), R25
117 MOVD 192(RSP), R24
118 MOVD 184(RSP), R23
119 MOVD 176(RSP), R22
120 MOVD 168(RSP), R21
121 MOVD 160(RSP), R20
122 MOVD 152(RSP), R19
123 MOVD 144(RSP), R17
124 MOVD 136(RSP), R16
125 MOVD 128(RSP), R15
126 MOVD 120(RSP), R14
127 MOVD 112(RSP), R13
128 MOVD 104(RSP), R12
129 MOVD 96(RSP), R11
130 MOVD 88(RSP), R10
131 MOVD 80(RSP), R9
132 MOVD 72(RSP), R8
133 MOVD 64(RSP), R7
134 MOVD 56(RSP), R6
135 MOVD 48(RSP), R5
136 MOVD 40(RSP), R4
137 MOVD 32(RSP), R3
138 MOVD 24(RSP), R2
139 MOVD 16(RSP), R1
140 MOVD 8(RSP), R0
141 MOVD 496(RSP), R30
142 #ifdef GOOS_linux
143 MOVD -8(RSP), R29
144 #endif
145 MOVD (RSP), R27
146 ADD $512, RSP
147 JMP (R27)
148
View as plain text