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
vm: fix a null dereference on out-of-memory
[minix.git]
/
lib
/
libc
/
arch
/
x86_64
/
gen
/
fabs.S
blob
69d577cc43726735048b820f4cdffc38cf61c36e
1
/* $NetBSD: fabs.S,v 1.3 2004/03/23 17:11:35 drochner Exp $ */
2
3
#include <machine/asm.h>
4
#if defined(LIBC_SCCS)
5
RCSID("$NetBSD: fabs.S,v 1.3 2004/03/23 17:11:35 drochner 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