sfpu.s
1.42 KB
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
#include <asm.h>
#include <regdef.h>
LEAF(STORE_FPU)
.extern o_buf 128
.text
/* load from memory to fpu
*/
beq a0,zero,ZERO
beq a0,1,1f
beq a0,2,2f
beq a0,3,3f
beq a0,4,4f
beq a0,5,5f
beq a0,6,6f
beq a0,7,7f
beq a0,8,8f
beq a0,9,9f
beq a0,10,10f
beq a0,11,11f
beq a0,12,12f
beq a0,13,13f
beq a0,14,14f
beq a0,15,15f
beq a0,16,16f
beq a0,17,17f
beq a0,18,18f
beq a0,19,19f
beq a0,20,20f
beq a0,21,21f
beq a0,22,22f
beq a0,23,23f
beq a0,24,24f
beq a0,25,25f
beq a0,26,26f
beq a0,27,27f
beq a0,28,28f
beq a0,29,29f
beq a0,30,30f
beq a0,31,31f
ZERO:
swc1 $f0,(a1)
j RET
1:
swc1 $f1,(a1)
j RET
2:
swc1 $f2,(a1)
j RET
3:
swc1 $f3,(a1)
j RET
4:
swc1 $f4,(a1)
j RET
5:
swc1 $f5,(a1)
j RET
6:
swc1 $f6,(a1)
j RET
7:
swc1 $f7,(a1)
j RET
8:
swc1 $f8,(a1)
j RET
9:
swc1 $f9,(a1)
j RET
10:
swc1 $f10,(a1)
j RET
11:
swc1 $f11,(a1)
j RET
12:
swc1 $f12,(a1)
j RET
13:
swc1 $f13,(a1)
j RET
14:
swc1 $f14,(a1)
j RET
15:
swc1 $f15,(a1)
j RET
16:
swc1 $f16,(a1)
j RET
17:
swc1 $f17,(a1)
j RET
18:
swc1 $f18,(a1)
j RET
19:
swc1 $f19,(a1)
j RET
20:
swc1 $f20,(a1)
j RET
21:
swc1 $f21,(a1)
j RET
22:
swc1 $f22,(a1)
j RET
23:
swc1 $f23,(a1)
j RET
24:
swc1 $f24,(a1)
j RET
25:
swc1 $f25,(a1)
j RET
26:
swc1 $f26,(a1)
j RET
27:
swc1 $f27,(a1)
j RET
28:
swc1 $f28,(a1)
j RET
29:
swc1 $f29,(a1)
j RET
30:
swc1 $f30,(a1)
j RET
31:
swc1 $f31,(a1)
RET:
j ra
END(STORE_FPU)