2.9
[glibc/nacl-glibc.git] / sysdeps / x86_64 / fpu / s_finitel.S
blob9e49796901992f2d6c134f5ebc63073e105b56b1
1 /*
2  * Written by Joe Keane <jgk@jgk.org>.
3  * Adopted for x86-64 by Andreas Jaeger <aj@suse.de>.
4  */
6 #include <machine/asm.h>
8 ENTRY(__finitel)
9         movl    16(%rsp),%eax
10         orl     $0xffff8000, %eax
11         incl    %eax
12         shrl    $31, %eax
13         ret
14 END (__finitel)
15 weak_alias (__finitel, finitel)
16 hidden_def (__finitel)