repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix3.git]
/
lib
/
libc
/
arch
/
i386
/
gen
/
fpgetsticky.S
blob
977957ffe5df4a58512293144e01c4cc9b2ac46e
1
/* $NetBSD: fpgetsticky.S,v 1.7 2014/05/23 02:34:19 uebayasi 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
22
#ifdef WEAK_ALIAS
23
END(_fpgetsticky)
24
#else
25
END(fpgetsticky)
26
#endif