patch-2.1.73 linux/arch/mips/kernel/r6000_fpu.S

Next file: linux/arch/mips/kernel/setup.c
Previous file: linux/arch/mips/kernel/r4k_scall.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/arch/mips/kernel/r6000_fpu.S linux/arch/mips/kernel/r6000_fpu.S
@@ -10,7 +10,7 @@
  * Multi-arch abstraction and asm macros for easier reading:
  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
  *
- * $Id: r6000_fpu.S,v 1.2 1997/06/25 16:57:19 ralf Exp $
+ * $Id: r6000_fpu.S,v 1.3 1997/12/01 16:56:56 ralf Exp $
  */
 #include <asm/asm.h>
 #include <asm/fpregdef.h>
@@ -44,18 +44,10 @@
 	sdc1	$f26,(SC_FPREGS+208)(a0)
 	sdc1	$f28,(SC_FPREGS+224)(a0)
 	sdc1	$f30,(SC_FPREGS+240)(a0)
-	sw	t0,SC_FPC_CSR(a0)
-	cfc1	t0,$0				# implementation/version
-
-	jr	ra
-	.set	nomacro
-	 sw	t0,SC_FPC_EIR(a0)
-	.set	macro
-1:
 	jr	ra
-	.set	nomacro
+	 sw	t0,SC_FPC_CSR(a0)
+1:	jr	ra
 	 nop
-	.set	macro
 	END(r6000_save_fp_context)
 
 /* Restore fpu state:
@@ -89,14 +81,8 @@
 	ldc1	$f26,(SC_FPREGS+208)(a0)
 	ldc1	$f28,(SC_FPREGS+224)(a0)
 	ldc1	$f30,(SC_FPREGS+240)(a0)
-
 	jr	ra
-	.set	nomacro
 	 ctc1	t0,fcr31
-	.set	macro
-1:
-	jr	ra
-	.set	nomacro
+1:	jr	ra
 	 nop
-	.set	macro
 	END(r6000_restore_fp_context)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov