1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #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)
-
|