Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / arch / m68k / gen / fpgetround.S
blob877bb13353a4d5857fe636ade857c284bde35012
1 /*      $NetBSD: fpgetround.S,v 1.7 1999/10/25 23:48:10 thorpej Exp $   */
3 /*
4  * Written by J.T. Conklin, Apr 6, 1995
5  * Public domain.
6  */
8 #include <machine/asm.h>
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