123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #include <i387/bsd_asm.h>
- //__FBSDID("$FreeBSD: src/lib/msun/i387/s_remquof.S,v 1.3 2011/01/07 16:13:12 kib Exp $");
-
- ENTRY(remquof)
- flds 8(%esp)
- flds 4(%esp)
- 1: fprem1
- fstsw %ax
- sahf
- jp 1b
- fstp %st(1)
- shrl $6,%eax
- movl %eax,%ecx
- andl $0x108,%eax
- rorl $7,%eax
- orl %eax,%ecx
- roll $4,%eax
- orl %ecx,%eax
- andl $7,%eax
- movl 8(%esp),%ecx
- xorl 4(%esp),%ecx
- sarl $16,%ecx
- sarl $16,%ecx
- xorl %ecx,%eax
- andl $1,%ecx
- addl %ecx,%eax
- movl 12(%esp),%ecx
- movl %eax,(%ecx)
- ret
- END(remquof)
-
- #if defined(__ELF__)
- .section .note.GNU-stack,"",%progbits
- #endif
|