summaryrefslogtreecommitdiffstats
path: root/src/runtime/preempt_mipsx.s
blob: 7b169acd99991bace9acef60140754edac66d3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// Code generated by mkpreempt.go; DO NOT EDIT.

//go:build mips || mipsle

#include "go_asm.h"
#include "textflag.h"

TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
	MOVW R31, -244(R29)
	SUB $244, R29
	MOVW R1, 4(R29)
	MOVW R2, 8(R29)
	MOVW R3, 12(R29)
	MOVW R4, 16(R29)
	MOVW R5, 20(R29)
	MOVW R6, 24(R29)
	MOVW R7, 28(R29)
	MOVW R8, 32(R29)
	MOVW R9, 36(R29)
	MOVW R10, 40(R29)
	MOVW R11, 44(R29)
	MOVW R12, 48(R29)
	MOVW R13, 52(R29)
	MOVW R14, 56(R29)
	MOVW R15, 60(R29)
	MOVW R16, 64(R29)
	MOVW R17, 68(R29)
	MOVW R18, 72(R29)
	MOVW R19, 76(R29)
	MOVW R20, 80(R29)
	MOVW R21, 84(R29)
	MOVW R22, 88(R29)
	MOVW R24, 92(R29)
	MOVW R25, 96(R29)
	MOVW R28, 100(R29)
	MOVW HI, R1
	MOVW R1, 104(R29)
	MOVW LO, R1
	MOVW R1, 108(R29)
	#ifndef GOMIPS_softfloat
	MOVW FCR31, R1
	MOVW R1, 112(R29)
	MOVF F0, 116(R29)
	MOVF F1, 120(R29)
	MOVF F2, 124(R29)
	MOVF F3, 128(R29)
	MOVF F4, 132(R29)
	MOVF F5, 136(R29)
	MOVF F6, 140(R29)
	MOVF F7, 144(R29)
	MOVF F8, 148(R29)
	MOVF F9, 152(R29)
	MOVF F10, 156(R29)
	MOVF F11, 160(R29)
	MOVF F12, 164(R29)
	MOVF F13, 168(R29)
	MOVF F14, 172(R29)
	MOVF F15, 176(R29)
	MOVF F16, 180(R29)
	MOVF F17, 184(R29)
	MOVF F18, 188(R29)
	MOVF F19, 192(R29)
	MOVF F20, 196(R29)
	MOVF F21, 200(R29)
	MOVF F22, 204(R29)
	MOVF F23, 208(R29)
	MOVF F24, 212(R29)
	MOVF F25, 216(R29)
	MOVF F26, 220(R29)
	MOVF F27, 224(R29)
	MOVF F28, 228(R29)
	MOVF F29, 232(R29)
	MOVF F30, 236(R29)
	MOVF F31, 240(R29)
	#endif
	CALL ·asyncPreempt2(SB)
	#ifndef GOMIPS_softfloat
	MOVF 240(R29), F31
	MOVF 236(R29), F30
	MOVF 232(R29), F29
	MOVF 228(R29), F28
	MOVF 224(R29), F27
	MOVF 220(R29), F26
	MOVF 216(R29), F25
	MOVF 212(R29), F24
	MOVF 208(R29), F23
	MOVF 204(R29), F22
	MOVF 200(R29), F21
	MOVF 196(R29), F20
	MOVF 192(R29), F19
	MOVF 188(R29), F18
	MOVF 184(R29), F17
	MOVF 180(R29), F16
	MOVF 176(R29), F15
	MOVF 172(R29), F14
	MOVF 168(R29), F13
	MOVF 164(R29), F12
	MOVF 160(R29), F11
	MOVF 156(R29), F10
	MOVF 152(R29), F9
	MOVF 148(R29), F8
	MOVF 144(R29), F7
	MOVF 140(R29), F6
	MOVF 136(R29), F5
	MOVF 132(R29), F4
	MOVF 128(R29), F3
	MOVF 124(R29), F2
	MOVF 120(R29), F1
	MOVF 116(R29), F0
	MOVW 112(R29), R1
	MOVW R1, FCR31
	#endif
	MOVW 108(R29), R1
	MOVW R1, LO
	MOVW 104(R29), R1
	MOVW R1, HI
	MOVW 100(R29), R28
	MOVW 96(R29), R25
	MOVW 92(R29), R24
	MOVW 88(R29), R22
	MOVW 84(R29), R21
	MOVW 80(R29), R20
	MOVW 76(R29), R19
	MOVW 72(R29), R18
	MOVW 68(R29), R17
	MOVW 64(R29), R16
	MOVW 60(R29), R15
	MOVW 56(R29), R14
	MOVW 52(R29), R13
	MOVW 48(R29), R12
	MOVW 44(R29), R11
	MOVW 40(R29), R10
	MOVW 36(R29), R9
	MOVW 32(R29), R8
	MOVW 28(R29), R7
	MOVW 24(R29), R6
	MOVW 20(R29), R5
	MOVW 16(R29), R4
	MOVW 12(R29), R3
	MOVW 8(R29), R2
	MOVW 4(R29), R1
	MOVW 244(R29), R31
	MOVW (R29), R23
	ADD $248, R29
	JMP (R23)