Skip to content

Instantly share code, notes, and snippets.

@tkelman
Created May 13, 2014 01:38
Show Gist options
  • Save tkelman/c208e27a1fda765a5fa7 to your computer and use it in GitHub Desktop.
Save tkelman/c208e27a1fda765a5fa7 to your computer and use it in GitHub Desktop.
deps/openlibm/src/s_sin.c.o: file format pe-i386
Disassembly of section .text:
00000000 <_sin>:
0: 83 ec 4c sub $0x4c,%esp
3: dd 44 24 50 fldl 0x50(%esp)
7: dd 54 24 18 fstl 0x18(%esp)
b: 8b 44 24 1c mov 0x1c(%esp),%eax
f: 25 ff ff ff 7f and $0x7fffffff,%eax
14: 3d fb 21 e9 3f cmp $0x3fe921fb,%eax
19: 7f 49 jg 64 <_sin+0x64>
1b: 3d ff ff 4f 3e cmp $0x3e4fffff,%eax
20: 7f 28 jg 4a <_sin+0x4a>
22: d9 7c 24 26 fnstcw 0x26(%esp)
26: 0f b7 44 24 26 movzwl 0x26(%esp),%eax
2b: b4 0c mov $0xc,%ah
2d: 66 89 44 24 24 mov %ax,0x24(%esp)
32: d9 6c 24 24 fldcw 0x24(%esp)
36: db 54 24 20 fistl 0x20(%esp)
3a: d9 6c 24 26 fldcw 0x26(%esp)
3e: 8b 44 24 20 mov 0x20(%esp),%eax
42: d9 c0 fld %st(0)
44: 85 c0 test %eax,%eax
46: 74 2f je 77 <_sin+0x77>
48: dd d8 fstp %st(0)
4a: d9 ee fldz
4c: dd 5c 24 08 fstpl 0x8(%esp)
50: c7 44 24 10 00 00 00 movl $0x0,0x10(%esp)
57: 00
58: dd 1c 24 fstpl (%esp)
5b: e8 00 00 00 00 call 60 <_sin+0x60>
60: 83 c4 4c add $0x4c,%esp
63: c3 ret
64: 3d ff ff ef 7f cmp $0x7fefffff,%eax
69: 7e 15 jle 80 <_sin+0x80>
6b: d8 e0 fsub %st(0),%st
6d: dd 5c 24 28 fstpl 0x28(%esp)
71: dd 44 24 28 fldl 0x28(%esp)
75: eb 02 jmp 79 <_sin+0x79>
77: dd d9 fstp %st(1)
79: 83 c4 4c add $0x4c,%esp
7c: c3 ret
7d: 8d 76 00 lea 0x0(%esi),%esi
80: 8d 44 24 30 lea 0x30(%esp),%eax
84: 89 44 24 08 mov %eax,0x8(%esp)
88: dd 1c 24 fstpl (%esp)
8b: e8 00 00 00 00 call 90 <_sin+0x90>
90: 83 e0 03 and $0x3,%eax
93: 83 f8 01 cmp $0x1,%eax
96: 74 28 je c0 <_sin+0xc0>
98: 83 f8 02 cmp $0x2,%eax
9b: 74 57 je f4 <_sin+0xf4>
9d: 85 c0 test %eax,%eax
9f: 74 35 je d6 <_sin+0xd6>
a1: dd 44 24 38 fldl 0x38(%esp)
a5: dd 5c 24 08 fstpl 0x8(%esp)
a9: dd 44 24 30 fldl 0x30(%esp)
ad: dd 1c 24 fstpl (%esp)
b0: e8 00 00 00 00 call b5 <_sin+0xb5>
b5: d9 e0 fchs
b7: eb c0 jmp 79 <_sin+0x79>
b9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
c0: dd 44 24 38 fldl 0x38(%esp)
c4: dd 5c 24 08 fstpl 0x8(%esp)
c8: dd 44 24 30 fldl 0x30(%esp)
cc: dd 1c 24 fstpl (%esp)
cf: e8 00 00 00 00 call d4 <_sin+0xd4>
d4: eb a3 jmp 79 <_sin+0x79>
d6: dd 44 24 38 fldl 0x38(%esp)
da: dd 5c 24 08 fstpl 0x8(%esp)
de: dd 44 24 30 fldl 0x30(%esp)
e2: c7 44 24 10 01 00 00 movl $0x1,0x10(%esp)
e9: 00
ea: dd 1c 24 fstpl (%esp)
ed: e8 00 00 00 00 call f2 <_sin+0xf2>
f2: eb 85 jmp 79 <_sin+0x79>
f4: dd 44 24 38 fldl 0x38(%esp)
f8: dd 5c 24 08 fstpl 0x8(%esp)
fc: dd 44 24 30 fldl 0x30(%esp)
100: c7 44 24 10 01 00 00 movl $0x1,0x10(%esp)
107: 00
108: dd 1c 24 fstpl (%esp)
10b: e8 00 00 00 00 call 110 <_sin+0x110>
110: d9 e0 fchs
112: e9 62 ff ff ff jmp 79 <_sin+0x79>
117: 90 nop
118: 90 nop
119: 90 nop
11a: 90 nop
11b: 90 nop
11c: 90 nop
11d: 90 nop
11e: 90 nop
11f: 90 nop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment