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
vm: fix a null dereference on out-of-memory
[minix.git]
/
lib
/
libc
/
arch
/
m68k
/
gen
/
fpgetround.S
blob
29c3729325bb62332293f3d6d3ce9a6732b77960
1
/* $NetBSD: fpgetround.S,v 1.8 2002/01/13 21:45:44 thorpej Exp $ */
2
3
/*
4
* Written by J.T. Conklin, Apr 6, 1995
5
* Public domain.
6
*/
7
8
#include <machine/asm.h>
9
10
#ifdef WEAK_ALIAS
11
WEAK_ALIAS(fpgetround, _fpgetround)
12
ENTRY(_fpgetround)
13
#else
14
ENTRY(fpgetround)
15
#endif
16
fmovel %fpcr,%d0
17
bfextu %d0{#26:#2},%d0
18
rts