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
Sync usage with man page.
[netbsd-mini2440.git]
/
lib
/
libc
/
arch
/
m68k
/
gen
/
fpgetround.S
blob
877bb13353a4d5857fe636ade857c284bde35012
1
/* $NetBSD: fpgetround.S,v 1.7 1999/10/25 23:48:10 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