Subversion Repositories HelenOS-historic

Rev

Rev 717 | Rev 1288 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 717 Rev 924
Line 154... Line 154...
154
.endm
154
.endm
155
 
155
 
156
 
156
 
157
.global fpu_context_save
157
.global fpu_context_save
158
fpu_context_save:
158
fpu_context_save:
159
#ifdef HAVE_FPU
159
#ifdef ARCH_HAS_FPU
160
	fpu_gp_save 0,$a0
160
	fpu_gp_save 0,$a0
161
	fpu_gp_save 1,$a0
161
	fpu_gp_save 1,$a0
162
	fpu_gp_save 2,$a0
162
	fpu_gp_save 2,$a0
163
	fpu_gp_save 3,$a0
163
	fpu_gp_save 3,$a0
164
	fpu_gp_save 4,$a0
164
	fpu_gp_save 4,$a0
Line 225... Line 225...
225
	j $ra
225
	j $ra
226
	nop
226
	nop
227
 
227
 
228
.global fpu_context_restore
228
.global fpu_context_restore
229
fpu_context_restore:
229
fpu_context_restore:
230
#ifdef HAVE_FPU
230
#ifdef ARCH_HAS_FPU
231
	fpu_gp_restore 0,$a0
231
	fpu_gp_restore 0,$a0
232
	fpu_gp_restore 1,$a0
232
	fpu_gp_restore 1,$a0
233
	fpu_gp_restore 2,$a0
233
	fpu_gp_restore 2,$a0
234
	fpu_gp_restore 3,$a0
234
	fpu_gp_restore 3,$a0
235
	fpu_gp_restore 4,$a0
235
	fpu_gp_restore 4,$a0