patch-2.1.87 linux/arch/alpha/kernel/head.S
Next file: linux/arch/alpha/kernel/osf_sys.c
Previous file: linux/arch/alpha/kernel/fpreg.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Thu Feb 12 13:31:28 1998
- Orig file:
v2.1.86/linux/arch/alpha/kernel/head.S
- Orig date:
Mon Jan 12 14:51:14 1998
diff -u --recursive --new-file v2.1.86/linux/arch/alpha/kernel/head.S linux/arch/alpha/kernel/head.S
@@ -121,37 +121,3 @@
call_pal PAL_cserve
ret ($26)
.end cserve_dis
-
- #
- # The following two functions don't need trapb/excb instructions
- # around the mf_fpcr/mt_fpcr instructions because (a) the kernel
- # never generates arithmetic faults and (b) call_pal instructions
- # are implied trap barriers.
- #
- .align 3
- .globl rdfpcr
- .ent rdfpcr
-rdfpcr:
- lda $30,-0x10($30)
- stt $f0,0($30)
- mf_fpcr $f0
- stt $f0,8($30)
- ldt $f0,0($30)
- ldq $0,8($30)
- lda $30,0x10($30)
- ret ($26)
- .end rdfpcr
-
- .align 3
- .globl wrfpcr
- .ent wrfpcr
-wrfpcr:
- lda $30,-0x10($30)
- stt $f0,0($30)
- stq $16,8($30)
- ldt $f0,8($30)
- mt_fpcr $f0
- ldt $f0,0($30)
- lda $30,0x10($30)
- ret ($26)
- .end wrfpcr
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov