Rev 3403 | Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3403 | Rev 4342 | ||
---|---|---|---|
Line 157... | Line 157... | ||
157 | .endm |
157 | .endm |
158 | 158 | ||
159 | 159 | ||
160 | .global fpu_context_save |
160 | .global fpu_context_save |
161 | fpu_context_save: |
161 | fpu_context_save: |
162 | #ifdef ARCH_HAS_FPU |
162 | #ifdef CONFIG_FPU |
163 | fpu_gp_save 0,$a0 |
163 | fpu_gp_save 0,$a0 |
164 | fpu_gp_save 1,$a0 |
164 | fpu_gp_save 1,$a0 |
165 | fpu_gp_save 2,$a0 |
165 | fpu_gp_save 2,$a0 |
166 | fpu_gp_save 3,$a0 |
166 | fpu_gp_save 3,$a0 |
167 | fpu_gp_save 4,$a0 |
167 | fpu_gp_save 4,$a0 |
Line 228... | Line 228... | ||
228 | j $ra |
228 | j $ra |
229 | nop |
229 | nop |
230 | 230 | ||
231 | .global fpu_context_restore |
231 | .global fpu_context_restore |
232 | fpu_context_restore: |
232 | fpu_context_restore: |
233 | #ifdef ARCH_HAS_FPU |
233 | #ifdef CONFIG_FPU |
234 | fpu_gp_restore 0,$a0 |
234 | fpu_gp_restore 0,$a0 |
235 | fpu_gp_restore 1,$a0 |
235 | fpu_gp_restore 1,$a0 |
236 | fpu_gp_restore 2,$a0 |
236 | fpu_gp_restore 2,$a0 |
237 | fpu_gp_restore 3,$a0 |
237 | fpu_gp_restore 3,$a0 |
238 | fpu_gp_restore 4,$a0 |
238 | fpu_gp_restore 4,$a0 |