Guest User

Sin Optimization g++_O3

a guest
Feb 4th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.16 KB | None | 0 0
  1. g++_O3: file format elf64-x86-64
  2.  
  3.  
  4. 0000000000401000 <sin1(double)>:
  5. 401000: 66 0f 28 c8 movapd %xmm0,%xmm1
  6. 401004: f2 0f 59 c1 mulsd %xmm1,%xmm0
  7. 401008: 66 0f 28 f1 movapd %xmm1,%xmm6
  8. 40100c: 66 0f 28 e9 movapd %xmm1,%xmm5
  9. 401010: 66 0f 28 e1 movapd %xmm1,%xmm4
  10. 401014: 66 0f 28 d9 movapd %xmm1,%xmm3
  11. 401018: 66 0f 28 d1 movapd %xmm1,%xmm2
  12. 40101c: f2 0f 59 c1 mulsd %xmm1,%xmm0
  13. 401020: f2 0f 59 f0 mulsd %xmm0,%xmm6
  14. 401024: f2 0f 59 05 94 04 00 mulsd 0x494(%rip),%xmm0 # 4014c0 <_IO_stdin_used+0x40>
  15. 40102b: 00
  16. 40102c: f2 0f 59 f1 mulsd %xmm1,%xmm6
  17. 401030: f2 0f 58 c1 addsd %xmm1,%xmm0
  18. 401034: f2 0f 59 ee mulsd %xmm6,%xmm5
  19. 401038: f2 0f 59 35 88 04 00 mulsd 0x488(%rip),%xmm6 # 4014c8 <_IO_stdin_used+0x48>
  20. 40103f: 00
  21. 401040: f2 0f 59 e9 mulsd %xmm1,%xmm5
  22. 401044: f2 0f 58 c6 addsd %xmm6,%xmm0
  23. 401048: f2 0f 59 e5 mulsd %xmm5,%xmm4
  24. 40104c: f2 0f 59 2d 7c 04 00 mulsd 0x47c(%rip),%xmm5 # 4014d0 <_IO_stdin_used+0x50>
  25. 401053: 00
  26. 401054: f2 0f 59 e1 mulsd %xmm1,%xmm4
  27. 401058: f2 0f 58 c5 addsd %xmm5,%xmm0
  28. 40105c: f2 0f 59 dc mulsd %xmm4,%xmm3
  29. 401060: f2 0f 59 25 70 04 00 mulsd 0x470(%rip),%xmm4 # 4014d8 <_IO_stdin_used+0x58>
  30. 401067: 00
  31. 401068: f2 0f 59 d9 mulsd %xmm1,%xmm3
  32. 40106c: f2 0f 58 c4 addsd %xmm4,%xmm0
  33. 401070: f2 0f 59 d3 mulsd %xmm3,%xmm2
  34. 401074: f2 0f 59 1d 64 04 00 mulsd 0x464(%rip),%xmm3 # 4014e0 <_IO_stdin_used+0x60>
  35. 40107b: 00
  36. 40107c: f2 0f 59 d1 mulsd %xmm1,%xmm2
  37. 401080: f2 0f 58 c3 addsd %xmm3,%xmm0
  38. 401084: f2 0f 10 1d 5c 04 00 movsd 0x45c(%rip),%xmm3 # 4014e8 <_IO_stdin_used+0x68>
  39. 40108b: 00
  40. 40108c: f2 0f 59 da mulsd %xmm2,%xmm3
  41. 401090: f2 0f 59 d1 mulsd %xmm1,%xmm2
  42. 401094: f2 0f 58 c3 addsd %xmm3,%xmm0
  43. 401098: f2 0f 59 d1 mulsd %xmm1,%xmm2
  44. 40109c: f2 0f 59 15 4c 04 00 mulsd 0x44c(%rip),%xmm2 # 4014f0 <_IO_stdin_used+0x70>
  45. 4010a3: 00
  46. 4010a4: f2 0f 58 c2 addsd %xmm2,%xmm0
  47. 4010a8: c3 retq
  48. 4010a9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  49.  
  50. 00000000004010b0 <sin2(double)>:
  51. 4010b0: 66 0f 28 c8 movapd %xmm0,%xmm1
  52. 4010b4: 66 0f 57 d2 xorpd %xmm2,%xmm2
  53. 4010b8: f2 0f 59 c8 mulsd %xmm0,%xmm1
  54. 4010bc: f2 0f 10 1d fc 03 00 movsd 0x3fc(%rip),%xmm3 # 4014c0 <_IO_stdin_used+0x40>
  55. 4010c3: 00
  56. 4010c4: f2 0f 58 d0 addsd %xmm0,%xmm2
  57. 4010c8: f2 0f 59 c1 mulsd %xmm1,%xmm0
  58. 4010cc: f2 0f 59 d8 mulsd %xmm0,%xmm3
  59. 4010d0: f2 0f 59 c1 mulsd %xmm1,%xmm0
  60. 4010d4: f2 0f 58 da addsd %xmm2,%xmm3
  61. 4010d8: f2 0f 10 15 e8 03 00 movsd 0x3e8(%rip),%xmm2 # 4014c8 <_IO_stdin_used+0x48>
  62. 4010df: 00
  63. 4010e0: f2 0f 59 d0 mulsd %xmm0,%xmm2
  64. 4010e4: f2 0f 59 c1 mulsd %xmm1,%xmm0
  65. 4010e8: f2 0f 58 d3 addsd %xmm3,%xmm2
  66. 4010ec: f2 0f 10 1d dc 03 00 movsd 0x3dc(%rip),%xmm3 # 4014d0 <_IO_stdin_used+0x50>
  67. 4010f3: 00
  68. 4010f4: f2 0f 59 d8 mulsd %xmm0,%xmm3
  69. 4010f8: f2 0f 59 c1 mulsd %xmm1,%xmm0
  70. 4010fc: f2 0f 58 da addsd %xmm2,%xmm3
  71. 401100: f2 0f 10 15 d0 03 00 movsd 0x3d0(%rip),%xmm2 # 4014d8 <_IO_stdin_used+0x58>
  72. 401107: 00
  73. 401108: f2 0f 59 d0 mulsd %xmm0,%xmm2
  74. 40110c: f2 0f 59 c1 mulsd %xmm1,%xmm0
  75. 401110: f2 0f 58 d3 addsd %xmm3,%xmm2
  76. 401114: f2 0f 10 1d c4 03 00 movsd 0x3c4(%rip),%xmm3 # 4014e0 <_IO_stdin_used+0x60>
  77. 40111b: 00
  78. 40111c: f2 0f 59 d8 mulsd %xmm0,%xmm3
  79. 401120: f2 0f 59 c1 mulsd %xmm1,%xmm0
  80. 401124: f2 0f 58 da addsd %xmm2,%xmm3
  81. 401128: f2 0f 10 15 b8 03 00 movsd 0x3b8(%rip),%xmm2 # 4014e8 <_IO_stdin_used+0x68>
  82. 40112f: 00
  83. 401130: f2 0f 59 d0 mulsd %xmm0,%xmm2
  84. 401134: f2 0f 59 c1 mulsd %xmm1,%xmm0
  85. 401138: f2 0f 58 d3 addsd %xmm3,%xmm2
  86. 40113c: f2 0f 59 05 ac 03 00 mulsd 0x3ac(%rip),%xmm0 # 4014f0 <_IO_stdin_used+0x70>
  87. 401143: 00
  88. 401144: f2 0f 58 c2 addsd %xmm2,%xmm0
  89. 401148: c3 retq
  90. 401149: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  91.  
  92. 0000000000401150 <sin3(double)>:
  93. 401150: 66 0f 28 d0 movapd %xmm0,%xmm2
  94. 401154: f2 0f 10 0d 94 03 00 movsd 0x394(%rip),%xmm1 # 4014f0 <_IO_stdin_used+0x70>
  95. 40115b: 00
  96. 40115c: f2 0f 59 d0 mulsd %xmm0,%xmm2
  97. 401160: f2 0f 59 ca mulsd %xmm2,%xmm1
  98. 401164: f2 0f 58 0d 7c 03 00 addsd 0x37c(%rip),%xmm1 # 4014e8 <_IO_stdin_used+0x68>
  99. 40116b: 00
  100. 40116c: f2 0f 59 ca mulsd %xmm2,%xmm1
  101. 401170: f2 0f 5c 0d 80 03 00 subsd 0x380(%rip),%xmm1 # 4014f8 <_IO_stdin_used+0x78>
  102. 401177: 00
  103. 401178: f2 0f 59 ca mulsd %xmm2,%xmm1
  104. 40117c: f2 0f 58 0d 54 03 00 addsd 0x354(%rip),%xmm1 # 4014d8 <_IO_stdin_used+0x58>
  105. 401183: 00
  106. 401184: f2 0f 59 ca mulsd %xmm2,%xmm1
  107. 401188: f2 0f 5c 0d 70 03 00 subsd 0x370(%rip),%xmm1 # 401500 <_IO_stdin_used+0x80>
  108. 40118f: 00
  109. 401190: f2 0f 59 ca mulsd %xmm2,%xmm1
  110. 401194: f2 0f 58 0d 2c 03 00 addsd 0x32c(%rip),%xmm1 # 4014c8 <_IO_stdin_used+0x48>
  111. 40119b: 00
  112. 40119c: f2 0f 59 ca mulsd %xmm2,%xmm1
  113. 4011a0: f2 0f 5c 0d 60 03 00 subsd 0x360(%rip),%xmm1 # 401508 <_IO_stdin_used+0x88>
  114. 4011a7: 00
  115. 4011a8: f2 0f 59 ca mulsd %xmm2,%xmm1
  116. 4011ac: f2 0f 58 0d 5c 03 00 addsd 0x35c(%rip),%xmm1 # 401510 <_IO_stdin_used+0x90>
  117. 4011b3: 00
  118. 4011b4: f2 0f 59 c8 mulsd %xmm0,%xmm1
  119. 4011b8: 66 0f 28 c1 movapd %xmm1,%xmm0
  120. 4011bc: c3 retq
  121. 4011bd: 0f 1f 00 nopl (%rax)
  122.  
  123. 00000000004011c0 <sin4(double)>:
  124. 4011c0: 66 0f 28 d0 movapd %xmm0,%xmm2
  125. 4011c4: f2 0f 10 0d 24 03 00 movsd 0x324(%rip),%xmm1 # 4014f0 <_IO_stdin_used+0x70>
  126. 4011cb: 00
  127. 4011cc: f2 0f 59 d0 mulsd %xmm0,%xmm2
  128. 4011d0: 66 0f 28 da movapd %xmm2,%xmm3
  129. 4011d4: f2 0f 59 da mulsd %xmm2,%xmm3
  130. 4011d8: f2 0f 59 cb mulsd %xmm3,%xmm1
  131. 4011dc: f2 0f 5c 0d 14 03 00 subsd 0x314(%rip),%xmm1 # 4014f8 <_IO_stdin_used+0x78>
  132. 4011e3: 00
  133. 4011e4: f2 0f 59 cb mulsd %xmm3,%xmm1
  134. 4011e8: f2 0f 5c 0d 10 03 00 subsd 0x310(%rip),%xmm1 # 401500 <_IO_stdin_used+0x80>
  135. 4011ef: 00
  136. 4011f0: f2 0f 59 cb mulsd %xmm3,%xmm1
  137. 4011f4: f2 0f 5c 0d 0c 03 00 subsd 0x30c(%rip),%xmm1 # 401508 <_IO_stdin_used+0x88>
  138. 4011fb: 00
  139. 4011fc: f2 0f 59 ca mulsd %xmm2,%xmm1
  140. 401200: f2 0f 10 15 e0 02 00 movsd 0x2e0(%rip),%xmm2 # 4014e8 <_IO_stdin_used+0x68>
  141. 401207: 00
  142. 401208: f2 0f 59 d3 mulsd %xmm3,%xmm2
  143. 40120c: f2 0f 58 15 c4 02 00 addsd 0x2c4(%rip),%xmm2 # 4014d8 <_IO_stdin_used+0x58>
  144. 401213: 00
  145. 401214: f2 0f 59 d3 mulsd %xmm3,%xmm2
  146. 401218: f2 0f 58 15 a8 02 00 addsd 0x2a8(%rip),%xmm2 # 4014c8 <_IO_stdin_used+0x48>
  147. 40121f: 00
  148. 401220: f2 0f 59 d3 mulsd %xmm3,%xmm2
  149. 401224: f2 0f 58 15 e4 02 00 addsd 0x2e4(%rip),%xmm2 # 401510 <_IO_stdin_used+0x90>
  150. 40122b: 00
  151. 40122c: f2 0f 58 ca addsd %xmm2,%xmm1
  152. 401230: f2 0f 59 c8 mulsd %xmm0,%xmm1
  153. 401234: 66 0f 28 c1 movapd %xmm1,%xmm0
  154. 401238: c3 retq
  155. 401239: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
  156.  
  157. 0000000000401240 <sin5(double)>:
  158. 401240: 66 0f 28 d0 movapd %xmm0,%xmm2
  159. 401244: f2 0f 10 0d a4 02 00 movsd 0x2a4(%rip),%xmm1 # 4014f0 <_IO_stdin_used+0x70>
  160. 40124b: 00
  161. 40124c: f2 0f 59 d0 mulsd %xmm0,%xmm2
  162. 401250: 66 0f 28 e2 movapd %xmm2,%xmm4
  163. 401254: f2 0f 59 e2 mulsd %xmm2,%xmm4
  164. 401258: 66 0f 28 dc movapd %xmm4,%xmm3
  165. 40125c: f2 0f 59 da mulsd %xmm2,%xmm3
  166. 401260: f2 0f 59 cb mulsd %xmm3,%xmm1
  167. 401264: f2 0f 58 0d 6c 02 00 addsd 0x26c(%rip),%xmm1 # 4014d8 <_IO_stdin_used+0x58>
  168. 40126b: 00
  169. 40126c: f2 0f 59 cb mulsd %xmm3,%xmm1
  170. 401270: f2 0f 5c 0d 90 02 00 subsd 0x290(%rip),%xmm1 # 401508 <_IO_stdin_used+0x88>
  171. 401277: 00
  172. 401278: f2 0f 59 ca mulsd %xmm2,%xmm1
  173. 40127c: f2 0f 10 15 64 02 00 movsd 0x264(%rip),%xmm2 # 4014e8 <_IO_stdin_used+0x68>
  174. 401283: 00
  175. 401284: f2 0f 59 d3 mulsd %xmm3,%xmm2
  176. 401288: f2 0f 5c 15 70 02 00 subsd 0x270(%rip),%xmm2 # 401500 <_IO_stdin_used+0x80>
  177. 40128f: 00
  178. 401290: f2 0f 59 d3 mulsd %xmm3,%xmm2
  179. 401294: f2 0f 58 15 74 02 00 addsd 0x274(%rip),%xmm2 # 401510 <_IO_stdin_used+0x90>
  180. 40129b: 00
  181. 40129c: f2 0f 58 ca addsd %xmm2,%xmm1
  182. 4012a0: f2 0f 10 15 38 02 00 movsd 0x238(%rip),%xmm2 # 4014e0 <_IO_stdin_used+0x60>
  183. 4012a7: 00
  184. 4012a8: f2 0f 59 d3 mulsd %xmm3,%xmm2
  185. 4012ac: f2 0f 58 15 14 02 00 addsd 0x214(%rip),%xmm2 # 4014c8 <_IO_stdin_used+0x48>
  186. 4012b3: 00
  187. 4012b4: f2 0f 59 d4 mulsd %xmm4,%xmm2
  188. 4012b8: f2 0f 58 ca addsd %xmm2,%xmm1
  189. 4012bc: f2 0f 59 c8 mulsd %xmm0,%xmm1
  190. 4012c0: 66 0f 28 c1 movapd %xmm1,%xmm0
  191. 4012c4: c3 retq
  192. 4012c5: 66 66 2e 0f 1f 84 00 data32 nopw %cs:0x0(%rax,%rax,1)
  193. 4012cc: 00 00 00 00
  194.  
  195. 00000000004012d0 <sin6(double)>:
  196. 4012d0: 66 0f 28 d8 movapd %xmm0,%xmm3
  197. 4012d4: f2 0f 10 0d 14 02 00 movsd 0x214(%rip),%xmm1 # 4014f0 <_IO_stdin_used+0x70>
  198. 4012db: 00
  199. 4012dc: f2 0f 59 d8 mulsd %xmm0,%xmm3
  200. 4012e0: f2 0f 59 cb mulsd %xmm3,%xmm1
  201. 4012e4: 66 0f 28 d3 movapd %xmm3,%xmm2
  202. 4012e8: f2 0f 59 d3 mulsd %xmm3,%xmm2
  203. 4012ec: f2 0f 58 0d f4 01 00 addsd 0x1f4(%rip),%xmm1 # 4014e8 <_IO_stdin_used+0x68>
  204. 4012f3: 00
  205. 4012f4: f2 0f 59 d2 mulsd %xmm2,%xmm2
  206. 4012f8: f2 0f 59 cb mulsd %xmm3,%xmm1
  207. 4012fc: f2 0f 5c 0d f4 01 00 subsd 0x1f4(%rip),%xmm1 # 4014f8 <_IO_stdin_used+0x78>
  208. 401303: 00
  209. 401304: f2 0f 59 cb mulsd %xmm3,%xmm1
  210. 401308: f2 0f 58 0d c8 01 00 addsd 0x1c8(%rip),%xmm1 # 4014d8 <_IO_stdin_used+0x58>
  211. 40130f: 00
  212. 401310: f2 0f 59 d1 mulsd %xmm1,%xmm2
  213. 401314: f2 0f 10 0d b4 01 00 movsd 0x1b4(%rip),%xmm1 # 4014d0 <_IO_stdin_used+0x50>
  214. 40131b: 00
  215. 40131c: f2 0f 59 cb mulsd %xmm3,%xmm1
  216. 401320: f2 0f 58 0d a0 01 00 addsd 0x1a0(%rip),%xmm1 # 4014c8 <_IO_stdin_used+0x48>
  217. 401327: 00
  218. 401328: f2 0f 59 cb mulsd %xmm3,%xmm1
  219. 40132c: f2 0f 5c 0d d4 01 00 subsd 0x1d4(%rip),%xmm1 # 401508 <_IO_stdin_used+0x88>
  220. 401333: 00
  221. 401334: f2 0f 59 cb mulsd %xmm3,%xmm1
  222. 401338: f2 0f 58 0d d0 01 00 addsd 0x1d0(%rip),%xmm1 # 401510 <_IO_stdin_used+0x90>
  223. 40133f: 00
  224. 401340: f2 0f 58 d1 addsd %xmm1,%xmm2
  225. 401344: f2 0f 59 d0 mulsd %xmm0,%xmm2
  226. 401348: 66 0f 28 c2 movapd %xmm2,%xmm0
  227. 40134c: c3 retq
  228. 40134d: 0f 1f 00 nopl (%rax)
  229.  
  230. 0000000000401350 <sin7(double)>:
  231. 401350: 66 0f 28 d0 movapd %xmm0,%xmm2
  232. 401354: f2 0f 59 d0 mulsd %xmm0,%xmm2
  233. 401358: 66 0f 28 ca movapd %xmm2,%xmm1
  234. 40135c: 66 0f 28 e2 movapd %xmm2,%xmm4
  235. 401360: f2 0f 59 ca mulsd %xmm2,%xmm1
  236. 401364: f2 0f 59 e0 mulsd %xmm0,%xmm4
  237. 401368: 66 0f 28 e9 movapd %xmm1,%xmm5
  238. 40136c: f2 0f 59 e9 mulsd %xmm1,%xmm5
  239. 401370: 66 0f 28 dd movapd %xmm5,%xmm3
  240. 401374: f2 0f 59 d8 mulsd %xmm0,%xmm3
  241. 401378: f2 0f 10 0d 50 01 00 movsd 0x150(%rip),%xmm1 # 4014d0 <_IO_stdin_used+0x50>
  242. 40137f: 00
  243. 401380: f2 0f 59 ca mulsd %xmm2,%xmm1
  244. 401384: f2 0f 58 0d 3c 01 00 addsd 0x13c(%rip),%xmm1 # 4014c8 <_IO_stdin_used+0x48>
  245. 40138b: 00
  246. 40138c: f2 0f 59 ca mulsd %xmm2,%xmm1
  247. 401390: f2 0f 5c 0d 70 01 00 subsd 0x170(%rip),%xmm1 # 401508 <_IO_stdin_used+0x88>
  248. 401397: 00
  249. 401398: f2 0f 59 cc mulsd %xmm4,%xmm1
  250. 40139c: f2 0f 58 c8 addsd %xmm0,%xmm1
  251. 4013a0: f2 0f 10 05 48 01 00 movsd 0x148(%rip),%xmm0 # 4014f0 <_IO_stdin_used+0x70>
  252. 4013a7: 00
  253. 4013a8: f2 0f 59 c2 mulsd %xmm2,%xmm0
  254. 4013ac: f2 0f 58 05 34 01 00 addsd 0x134(%rip),%xmm0 # 4014e8 <_IO_stdin_used+0x68>
  255. 4013b3: 00
  256. 4013b4: f2 0f 59 c2 mulsd %xmm2,%xmm0
  257. 4013b8: f2 0f 5c 05 38 01 00 subsd 0x138(%rip),%xmm0 # 4014f8 <_IO_stdin_used+0x78>
  258. 4013bf: 00
  259. 4013c0: f2 0f 59 c2 mulsd %xmm2,%xmm0
  260. 4013c4: f2 0f 58 05 0c 01 00 addsd 0x10c(%rip),%xmm0 # 4014d8 <_IO_stdin_used+0x58>
  261. 4013cb: 00
  262. 4013cc: f2 0f 59 c3 mulsd %xmm3,%xmm0
  263. 4013d0: f2 0f 58 c8 addsd %xmm0,%xmm1
  264. 4013d4: 66 0f 28 c1 movapd %xmm1,%xmm0
  265. 4013d8: c3 retq
  266. 4013d9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
Advertisement
Add Comment
Please, Sign In to add comment