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
/
i386
/
gen
/
fpgetsticky.S
blob
e96077c6c958d7e5f0fb34b83a592b6fb54bcc6c
1
/* $NetBSD: fpgetsticky.S,v 1.5 1998/01/09 03:45:05 perry Exp $ */
2
3
/*
4
* Written by J.T. Conklin, Apr 4, 1995
5
* Public domain.
6
*/
7
8
#include <machine/asm.h>
9
10
#ifdef WEAK_ALIAS
11
WEAK_ALIAS(fpgetsticky, _fpgetsticky)
12
ENTRY(_fpgetsticky)
13
#else
14
ENTRY(fpgetsticky)
15
#endif
16
subl $4,%esp
17
fnstsw (%esp)
18
movl (%esp),%eax
19
andl $63,%eax
20
addl $4,%esp
21
ret