Advertisement
Guest User

-O0

a guest
Oct 22nd, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. .LFB12:
  2. .cfi_startproc
  3. pushq %rbp
  4. .LCFI9:
  5. .cfi_def_cfa_offset 16
  6. .cfi_offset 6, -16
  7. movq %rsp, %rbp
  8. .LCFI10:
  9. .cfi_def_cfa_register 6
  10. subq $80, %rsp
  11. movq %rdi, -72(%rbp)
  12. movq -72(%rbp), %rax
  13. movq 8(%rax), %rax
  14. movq %rax, -56(%rbp)
  15. .LBB4:
  16. movl $0, -32(%rbp)
  17. jmp .L10
  18. .L11:
  19. movl -32(%rbp), %eax
  20. cltq
  21. salq $5, %rax
  22. addq -56(%rbp), %rax
  23. movq %rax, -48(%rbp)
  24. movq -48(%rbp), %rax
  25. movss (%rax), %xmm0
  26. unpcklps %xmm0, %xmm0
  27. cvtps2pd %xmm0, %xmm0
  28. movsd .LC1(%rip), %xmm1
  29. call fmin
  30. xorpd %xmm1, %xmm1
  31. call fmax
  32. unpcklpd %xmm0, %xmm0
  33. cvtpd2ps %xmm0, %xmm0
  34. movq -48(%rbp), %rax
  35. movss %xmm0, (%rax)
  36. movq -48(%rbp), %rax
  37. movss 4(%rax), %xmm0
  38. unpcklps %xmm0, %xmm0
  39. cvtps2pd %xmm0, %xmm0
  40. movsd .LC3(%rip), %xmm1
  41. call fmin
  42. xorpd %xmm1, %xmm1
  43. call fmax
  44. unpcklpd %xmm0, %xmm0
  45. cvtpd2ps %xmm0, %xmm0
  46. movq -48(%rbp), %rax
  47. movss %xmm0, 4(%rax)
  48. addl $1, -32(%rbp)
  49. .L10:
  50. cmpl $4, -32(%rbp)
  51. jle .L11
  52. .LBE4:
  53. .LBB5:
  54. movl $0, -28(%rbp)
  55. jmp .L12
  56. .L18:
  57. movl -28(%rbp), %eax
  58. cltq
  59. salq $5, %rax
  60. addq -56(%rbp), %rax
  61. movq %rax, -48(%rbp)
  62. .LBB6:
  63. movl -28(%rbp), %eax
  64. addl $1, %eax
  65. movl %eax, -24(%rbp)
  66. jmp .L13
  67. .L17:
  68. movl -24(%rbp), %eax
  69. cltq
  70. salq $5, %rax
  71. addq -56(%rbp), %rax
  72. movq %rax, -40(%rbp)
  73. movq -48(%rbp), %rax
  74. movss (%rax), %xmm0
  75. movq -40(%rbp), %rax
  76. movss (%rax), %xmm1
  77. movaps %xmm0, %xmm2
  78. subss %xmm1, %xmm2
  79. movaps %xmm2, %xmm1
  80. movq -48(%rbp), %rax
  81. movss (%rax), %xmm0
  82. movq -40(%rbp), %rax
  83. movss (%rax), %xmm2
  84. subss %xmm2, %xmm0
  85. mulss %xmm0, %xmm1
  86. movq -48(%rbp), %rax
  87. movss 4(%rax), %xmm0
  88. movq -40(%rbp), %rax
  89. movss 4(%rax), %xmm2
  90. movaps %xmm0, %xmm3
  91. subss %xmm2, %xmm3
  92. movaps %xmm3, %xmm2
  93. movq -48(%rbp), %rax
  94. movss 4(%rax), %xmm0
  95. movq -40(%rbp), %rax
  96. movss 4(%rax), %xmm3
  97. subss %xmm3, %xmm0
  98. mulss %xmm2, %xmm0
  99. addss %xmm1, %xmm0
  100. unpcklps %xmm0, %xmm0
  101. cvtps2pd %xmm0, %xmm1
  102. sqrtsd %xmm1, %xmm0
  103. ucomisd %xmm0, %xmm0
  104. jp .L15
  105. ucomisd %xmm0, %xmm0
  106. je .L14
  107. .L15:
  108. movapd %xmm1, %xmm0
  109. call sqrt
  110. .L14:
  111. movapd %xmm0, %xmm1
  112. movq -48(%rbp), %rax
  113. movss 24(%rax), %xmm2
  114. movq -40(%rbp), %rax
  115. movss 24(%rax), %xmm0
  116. addss %xmm2, %xmm0
  117. unpcklps %xmm0, %xmm0
  118. cvtps2pd %xmm0, %xmm0
  119. ucomisd %xmm1, %xmm0
  120. seta %al
  121. testb %al, %al
  122. je .L16
  123. .LBB7:
  124. movq -48(%rbp), %rax
  125. movss (%rax), %xmm0
  126. movq -40(%rbp), %rax
  127. movss (%rax), %xmm1
  128. subss %xmm1, %xmm0
  129. movss %xmm0, -20(%rbp)
  130. movq -48(%rbp), %rax
  131. movss 4(%rax), %xmm0
  132. movq -40(%rbp), %rax
  133. movss 4(%rax), %xmm1
  134. subss %xmm1, %xmm0
  135. movss %xmm0, -16(%rbp)
  136. movss -20(%rbp), %xmm0
  137. movaps %xmm0, %xmm1
  138. mulss -20(%rbp), %xmm1
  139. movss -16(%rbp), %xmm0
  140. mulss -16(%rbp), %xmm0
  141. addss %xmm1, %xmm0
  142. unpcklps %xmm0, %xmm0
  143. cvtps2pd %xmm0, %xmm0
  144. call sqrt
  145. unpcklpd %xmm0, %xmm0
  146. cvtpd2ps %xmm0, %xmm0
  147. movss %xmm0, -12(%rbp)
  148. movq -48(%rbp), %rax
  149. movss 24(%rax), %xmm1
  150. movq -40(%rbp), %rax
  151. movss 24(%rax), %xmm0
  152. addss %xmm1, %xmm0
  153. movss %xmm0, -8(%rbp)
  154. movss -12(%rbp), %xmm0
  155. subss -8(%rbp), %xmm0
  156. movq -48(%rbp), %rax
  157. movss 28(%rax), %xmm2
  158. movq -40(%rbp), %rax
  159. movss 28(%rax), %xmm1
  160. addss %xmm2, %xmm1
  161. mulss -12(%rbp), %xmm1
  162. divss %xmm1, %xmm0
  163. movss %xmm0, -4(%rbp)
  164. movq -48(%rbp), %rax
  165. movss (%rax), %xmm1
  166. movq -48(%rbp), %rax
  167. movss 28(%rax), %xmm0
  168. mulss -20(%rbp), %xmm0
  169. mulss -4(%rbp), %xmm0
  170. movaps %xmm1, %xmm2
  171. subss %xmm0, %xmm2
  172. movaps %xmm2, %xmm0
  173. movq -48(%rbp), %rax
  174. movss %xmm0, (%rax)
  175. movq -48(%rbp), %rax
  176. movss 4(%rax), %xmm1
  177. movq -48(%rbp), %rax
  178. movss 28(%rax), %xmm0
  179. mulss -16(%rbp), %xmm0
  180. mulss -4(%rbp), %xmm0
  181. movaps %xmm1, %xmm3
  182. subss %xmm0, %xmm3
  183. movaps %xmm3, %xmm0
  184. movq -48(%rbp), %rax
  185. movss %xmm0, 4(%rax)
  186. movq -40(%rbp), %rax
  187. movss (%rax), %xmm1
  188. movq -40(%rbp), %rax
  189. movss 28(%rax), %xmm0
  190. mulss -20(%rbp), %xmm0
  191. mulss -4(%rbp), %xmm0
  192. addss %xmm1, %xmm0
  193. movq -40(%rbp), %rax
  194. movss %xmm0, (%rax)
  195. movq -40(%rbp), %rax
  196. movss 4(%rax), %xmm1
  197. movq -40(%rbp), %rax
  198. movss 28(%rax), %xmm0
  199. mulss -16(%rbp), %xmm0
  200. mulss -4(%rbp), %xmm0
  201. addss %xmm1, %xmm0
  202. movq -40(%rbp), %rax
  203. movss %xmm0, 4(%rax)
  204. .L16:
  205. .LBE7:
  206. addl $1, -24(%rbp)
  207. .L13:
  208. cmpl $4, -24(%rbp)
  209. jle .L17
  210. .LBE6:
  211. addl $1, -28(%rbp)
  212. .L12:
  213. cmpl $4, -28(%rbp)
  214. jle .L18
  215.  
  216.  
  217.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement