repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
release.sh: restore -jJAILDIR option
[minix.git]
/
lib
/
libc
/
arch
/
m68k
/
gen
/
fpsetsticky.S
blob
f0d7db2ec1e393f1cc6b116441cac47653a6f3f8
1
/* $NetBSD: fpsetsticky.S,v 1.7 2002/01/13 21:45:45 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(fpsetsticky, _fpsetsticky)
12
ENTRY(_fpsetsticky)
13
#else
14
ENTRY(fpsetsticky)
15
#endif
16
movel %d2,%sp@-
17
fmovel %fpsr,%d1
18
movel %sp@(8),%d2
19
bfextu %d1{#24:#5},%d0
20
bfins %d2,%d1{#24:#5}
21
movel %sp@+,%d2
22
fmovel %d1,%fpsr
23
rts