repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git]
/
lib
/
libc
/
arch
/
m68k
/
gen
/
fpsetmask.S
blob
379512ffbed053eaa862273d376796b19e93103a
1
/* $NetBSD: fpsetmask.S,v 1.6 1999/10/25 23:48:11 thorpej Exp $ */
2
3
/*
4
* Written by Charles M. Hannum, Apr 9, 1995
5
* Public Domain.
6
*/
7
8
#include <machine/asm.h>
9
10
#ifdef WEAK_ALIAS
11
WEAK_ALIAS(fpsetmask, _fpsetmask)
12
ENTRY(_fpsetmask)
13
#else
14
ENTRY(fpsetmask)
15
#endif
16
movel %d2,%sp@-
17
fmovel %fpcr,%d1
18
movel %sp@(8),%d2
19
bfextu %d1{#18:#5},%d0
20
bfins %d2,%d1{#18:#5}
21
movel %sp@+,%d2
22
fmovel %d1,%fpcr
23
rts