Guest User

SSE generated code

a guest
Sep 26th, 2010
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             skinningMat.x[0] = (row0)->x * weights.x + (row1)->x * weights.y + (row2)->x * weights.z + (row3)->x * weights.w;
  2. 5F919BF5  movss       xmm2,dword ptr [eax+edx]  
  3. 5F919BFA  fstp        qword ptr [ebp-34h]  
  4. 5F919BFD  mov         ecx,dword ptr [ebp-34h]  
  5. 5F919C00  fld         dword ptr [esi+4]  
  6. 5F919C03  add         eax,edx  
  7. 5F919C05  fadd        st,st(1)  
  8. 5F919C07  lea         ecx,[ecx+ecx*2]  
  9. 5F919C0A  shl         ecx,4  
  10. 5F919C0D  movss       xmm4,dword ptr [ecx+edx]  
  11. 5F919C12  fstp        qword ptr [ebp-40h]  
  12. 5F919C15  add         ecx,edx  
  13. 5F919C17  fld         dword ptr [esi+8]  
  14. 5F919C1A  mov         edx,dword ptr [ebp-40h]  
  15. 5F919C1D  fadd        st,st(1)  
  16.             skinningMat.x[1] = (row0+1)->x * weights.x + (row1+1)->x * weights.y + (row2+1)->x * weights.z + (row3+1)->x * weights.w;
  17. 5F919C1F  movss       xmm6,dword ptr [eax+10h]  
  18. 5F919C24  lea         edx,[edx+edx*2]  
  19. 5F919C27  shl         edx,4  
  20. 5F919C2A  movss       xmm3,dword ptr [edx+ebx]  
  21. 5F919C2F  fstp        qword ptr [ebp-28h]  
  22. 5F919C32  mov         esi,dword ptr [ebp-28h]  
  23. 5F919C35  add         edx,ebx  
  24. 5F919C37  lea         esi,[esi+esi*2]  
  25. 5F919C3A  shl         esi,4  
  26. 5F919C3D  movss       xmm5,dword ptr [esi+ebx]  
  27. 5F919C42  add         esi,ebx  
  28. 5F919C44  mov         ebx,dword ptr [ebp-4]  
  29. 5F919C47  mov         ebx,dword ptr [ebx+0Ch]  
  30. 5F919C4A  mov         dword ptr [weights],ebx  
  31. 5F919C4D  mov         ebx,dword ptr [ebp-4]  
  32. 5F919C50  mov         ebx,dword ptr [ebx+10h]  
  33. 5F919C53  movss       xmm1,dword ptr [weights]  
  34.             skinningMat.x[2] = (row0+2)->x * weights.x + (row1+2)->x * weights.y + (row2+2)->x * weights.z + (row3+2)->x * weights.w;
  35. 5F919C58  movss       xmm7,dword ptr [eax+20h]  
  36. 5F919C5D  mov         dword ptr [ebp-74h],ebx  
  37. 5F919C60  mov         ebx,dword ptr [ebp-4]  
  38. 5F919C63  mov         ebx,dword ptr [ebx+14h]  
  39. 5F919C66  movss       xmm0,dword ptr [ebp-74h]  
  40. 5F919C6B  mov         dword ptr [ebp-70h],ebx  
  41. 5F919C6E  mov         ebx,dword ptr [ebp-4]  
  42. 5F919C71  mov         ebx,dword ptr [ebx+18h]  
  43. 5F919C74  mulss       xmm4,xmm0  
  44. 5F919C78  mulss       xmm6,xmm1  
  45. 5F919C7C  mulss       xmm2,xmm1  
  46. 5F919C80  addss       xmm4,xmm2  
  47. 5F919C84  movss       xmm2,dword ptr [ebp-70h]  
  48. 5F919C89  mulss       xmm3,xmm2  
  49. 5F919C8D  addss       xmm4,xmm3  
  50. 5F919C91  mov         dword ptr [ebp-6Ch],ebx  
  51. 5F919C94  movss       xmm3,dword ptr [ebp-6Ch]  
  52. 5F919C99  mulss       xmm5,xmm3  
  53. 5F919C9D  addss       xmm4,xmm5  
  54. 5F919CA1  movss       xmm5,dword ptr [ecx+10h]  
  55. 5F919CA6  mulss       xmm5,xmm0  
  56. 5F919CAA  addss       xmm5,xmm6  
  57. 5F919CAE  movss       xmm6,dword ptr [edx+10h]  
  58. 5F919CB3  mulss       xmm6,xmm2  
  59. 5F919CB7  addss       xmm5,xmm6  
  60. 5F919CBB  movss       xmm6,dword ptr [esi+10h]  
  61. 5F919CC0  mulss       xmm6,xmm3  
  62. 5F919CC4  addss       xmm5,xmm6  
  63. 5F919CC8  movss       xmm6,dword ptr [ecx+20h]  
  64. 5F919CCD  mulss       xmm6,xmm0  
  65. 5F919CD1  mulss       xmm7,xmm1  
  66. 5F919CD5  addss       xmm6,xmm7  
  67. 5F919CD9  movss       xmm7,dword ptr [edx+20h]  
  68. 5F919CDE  mulss       xmm7,xmm2  
  69. 5F919CE2  addss       xmm6,xmm7  
  70. 5F919CE6  movss       xmm7,dword ptr [esi+20h]  
  71. 5F919CEB  mulss       xmm7,xmm3  
  72. 5F919CEF  addss       xmm6,xmm7  
  73. 5F919CF3  movss       dword ptr [ebp-0B0h],xmm6  
  74.             skinningMat.x[4] = (row0)->y * weights.x + (row1)->y * weights.y + (row2)->y * weights.z + (row3)->y * weights.w;
  75. 5F919CFB  movss       xmm6,dword ptr [ecx+4]  
  76. 5F919D00  mulss       xmm6,xmm0  
  77. 5F919D04  movss       xmm7,dword ptr [eax+4]  
  78. 5F919D09  mulss       xmm7,xmm1  
  79. 5F919D0D  addss       xmm6,xmm7  
  80. 5F919D11  movss       xmm7,dword ptr [edx+4]  
  81. 5F919D16  mulss       xmm7,xmm2  
  82. 5F919D1A  addss       xmm6,xmm7  
  83. 5F919D1E  movss       xmm7,dword ptr [esi+4]  
  84. 5F919D23  mulss       xmm7,xmm3  
  85. 5F919D27  addss       xmm6,xmm7  
  86.             skinningMat.x[5] = (row0+1)->y * weights.x + (row1+1)->y * weights.y + (row2+1)->y * weights.z + (row3+1)->y * weights.w;
  87. 5F919D2B  movss       xmm7,dword ptr [eax+14h]  
  88. 5F919D30  mulss       xmm7,xmm1  
  89. 5F919D34  movss       dword ptr [ebp-0A8h],xmm6  
  90. 5F919D3C  movss       xmm6,dword ptr [ecx+14h]  
  91. 5F919D41  mulss       xmm6,xmm0  
  92. 5F919D45  addss       xmm6,xmm7  
  93. 5F919D49  movss       xmm7,dword ptr [edx+14h]  
  94. 5F919D4E  mulss       xmm7,xmm2  
  95. 5F919D52  addss       xmm6,xmm7  
  96. 5F919D56  movss       xmm7,dword ptr [esi+14h]  
  97. 5F919D5B  mulss       xmm7,xmm3  
  98. 5F919D5F  addss       xmm6,xmm7  
  99.             skinningMat.x[6] = (row0+2)->y * weights.x + (row1+2)->y * weights.y + (row2+2)->y * weights.z + (row3+2)->y * weights.w;
  100. 5F919D63  movss       xmm7,dword ptr [eax+24h]  
  101. 5F919D68  mulss       xmm7,xmm1  
  102. 5F919D6C  movss       dword ptr [ebp-0A4h],xmm6  
  103. 5F919D74  movss       xmm6,dword ptr [ecx+24h]  
  104. 5F919D79  mulss       xmm6,xmm0  
  105. 5F919D7D  addss       xmm6,xmm7  
  106. 5F919D81  movss       xmm7,dword ptr [edx+24h]  
  107. 5F919D86  mulss       xmm7,xmm2  
  108. 5F919D8A  addss       xmm6,xmm7  
  109. 5F919D8E  movss       xmm7,dword ptr [esi+24h]  
  110. 5F919D93  mulss       xmm7,xmm3  
  111. 5F919D97  addss       xmm6,xmm7  
  112.             skinningMat.x[8] = (row0)->z * weights.x + (row1)->z * weights.y + (row2)->z * weights.z + (row3)->z * weights.w;
  113. 5F919D9B  movss       xmm7,dword ptr [eax+8]  
  114. 5F919DA0  mulss       xmm7,xmm1  
  115. 5F919DA4  movss       dword ptr [ebp-0A0h],xmm6  
  116. 5F919DAC  movss       xmm6,dword ptr [ecx+8]  
  117. 5F919DB1  mulss       xmm6,xmm0  
  118. 5F919DB5  addss       xmm6,xmm7  
  119. 5F919DB9  movss       xmm7,dword ptr [edx+8]  
  120. 5F919DBE  mulss       xmm7,xmm2  
  121. 5F919DC2  addss       xmm6,xmm7  
  122. 5F919DC6  movss       xmm7,dword ptr [esi+8]  
  123. 5F919DCB  mulss       xmm7,xmm3  
  124. 5F919DCF  addss       xmm6,xmm7  
  125.             skinningMat.x[9] = (row0+1)->z * weights.x + (row1+1)->z * weights.y + (row2 + 1)->z * weights.z + (row3+1)->z * weights.w;
  126. 5F919DD3  movss       xmm7,dword ptr [eax+18h]  
  127. 5F919DD8  movss       dword ptr [ebp-98h],xmm6  
  128. 5F919DE0  movss       xmm6,dword ptr [ecx+18h]  
  129. 5F919DE5  mulss       xmm7,xmm1  
  130. 5F919DE9  mulss       xmm6,xmm0  
  131. 5F919DED  addss       xmm6,xmm7  
  132. 5F919DF1  movss       xmm7,dword ptr [edx+18h]  
  133. 5F919DF6  mulss       xmm7,xmm2  
  134. 5F919DFA  addss       xmm6,xmm7  
  135. 5F919DFE  movss       xmm7,dword ptr [esi+18h]  
  136. 5F919E03  mulss       xmm7,xmm3  
  137. 5F919E07  addss       xmm6,xmm7  
  138.             skinningMat.x[10] = (row0+2)->z * weights.x + (row1+2)->z * weights.y + (row2+2)->z * weights.z + (row3+2)->z * weights.w;
  139. 5F919E0B  movss       xmm7,dword ptr [eax+28h]  
  140. 5F919E10  movss       dword ptr [ebp-94h],xmm6  
  141. 5F919E18  movss       xmm6,dword ptr [ecx+28h]  
  142. 5F919E1D  mulss       xmm7,xmm1  
  143. 5F919E21  mulss       xmm6,xmm0  
  144. 5F919E25  addss       xmm6,xmm7  
  145. 5F919E29  movss       xmm7,dword ptr [edx+28h]  
  146. 5F919E2E  mulss       xmm7,xmm2  
  147. 5F919E32  addss       xmm6,xmm7  
  148. 5F919E36  movss       xmm7,dword ptr [esi+28h]  
  149. 5F919E3B  mulss       xmm7,xmm3  
  150. 5F919E3F  addss       xmm6,xmm7  
  151.             skinningMat.x[12] = (row0)->w * weights.x + (row1)->w * weights.y + (row2)->w * weights.z + (row3)->w * weights.w;
  152. 5F919E43  movss       xmm7,dword ptr [eax+0Ch]  
  153. 5F919E48  movss       dword ptr [ebp-90h],xmm6  
  154. 5F919E50  movss       xmm6,dword ptr [ecx+0Ch]  
  155. 5F919E55  mulss       xmm7,xmm1  
  156. 5F919E59  mulss       xmm6,xmm0  
  157. 5F919E5D  addss       xmm6,xmm7  
  158. 5F919E61  movss       xmm7,dword ptr [edx+0Ch]  
  159. 5F919E66  mulss       xmm7,xmm2  
  160. 5F919E6A  addss       xmm6,xmm7  
  161. 5F919E6E  movss       xmm7,dword ptr [esi+0Ch]  
  162. 5F919E73  mulss       xmm7,xmm3  
  163. 5F919E77  addss       xmm6,xmm7  
  164.             skinningMat.x[13] = (row0+1)->w * weights.x + (row1+1)->w * weights.y + (row2+1)->w * weights.z + (row3+1)->w * weights.w;
  165. 5F919E7B  movss       xmm7,dword ptr [eax+1Ch]  
  166. 5F919E80  mulss       xmm7,xmm1  
  167. 5F919E84  movss       dword ptr [ebp-88h],xmm6  
  168. 5F919E8C  movss       xmm6,dword ptr [ecx+1Ch]  
  169. 5F919E91  mulss       xmm6,xmm0  
  170. 5F919E95  addss       xmm6,xmm7  
  171. 5F919E99  movss       xmm7,dword ptr [edx+1Ch]  
  172. 5F919E9E  mulss       xmm7,xmm2  
  173. 5F919EA2  addss       xmm6,xmm7  
  174. 5F919EA6  movss       xmm7,dword ptr [esi+1Ch]  
  175. 5F919EAB  mulss       xmm7,xmm3  
  176. 5F919EAF  addss       xmm6,xmm7  
  177.             skinningMat.x[14] = (row0+2)->w * weights.x + (row1+2)->w * weights.y + (row2+2)->w * weights.z + (row3+2)->w * weights.w;
  178. 5F919EB3  movss       xmm7,dword ptr [ecx+2Ch]  
  179. 5F919EB8  mulss       xmm7,xmm0  
  180. 5F919EBC  movss       xmm0,dword ptr [eax+2Ch]
Advertisement
Add Comment
Please, Sign In to add comment