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
/
x86_64
/
gen
/
fabs.S
blob
e0d6568ff91d4d25d8a1b6a26e919ec19b252126
1
/* $NetBSD: fabs.S,v 1.4 2014/05/22 15:01:56 uebayasi Exp $ */
2
3
#include <machine/asm.h>
4
#if defined(LIBC_SCCS)
5
RCSID("$NetBSD: fabs.S,v 1.4 2014/05/22 15:01:56 uebayasi Exp $")
6
#endif
7
8
.section .rodata
9
.align 8
10
__signmask:
11
.long 0xffffffff
12
.long 0x7fffffff
13
14
ENTRY(fabs)
15
movsd __signmask(%rip),%xmm1
16
andpd %xmm1,%xmm0
17
ret
18
END(fabs)