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
Remove building with NOCRYPTO option
[minix.git]
/
lib
/
libc
/
arch
/
i386
/
gen
/
fpgetprec.S
blob
aa7974e7c22f213614203215b9a0c493b075cc7d
1
/* $NetBSD: fpgetprec.S,v 1.2 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(fpgetprec, _fpgetprec)
12
ENTRY(_fpgetprec)
13
#else
14
ENTRY(fpgetprec)
15
#endif
16
subl $4,%esp
17
fnstcw (%esp)
18
movl (%esp),%eax
19
rorl $8,%eax
20
andl $3,%eax
21
addl $4,%esp
22
ret
23
#ifdef WEAK_ALIAS
24
END(_fpgetprec)
25
#else
26
END(fpgetprec)
27
#endif