Advertisement
tp7

repair mode 10

tp7
Nov 21st, 2013
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     middle_loop:
  2.  
  3.     movdqu  xmm1,               [edi]
  4.     movdqu xmm2, [esi + ebx]
  5.     movdqa xmm3, xmm1
  6.     movdqa xmm7, xmm1
  7.     pmaxub xmm3, xmm2
  8.     pminub xmm7, xmm2
  9.     psubusb xmm3, xmm7
  10.  
  11.  
  12.     movdqu xmm4, [esi + ebx + 1]
  13.     movdqa xmm5, xmm1
  14.     movdqa xmm7, xmm1
  15.     pmaxub xmm5, xmm4
  16.     pminub xmm7, xmm4
  17.     psubusb xmm5, xmm7
  18.  
  19.     pminub xmm3, xmm5
  20.     pcmpeqb xmm5, xmm3
  21.     psubusb xmm2, xmm5
  22.     pand xmm5, xmm4
  23.     por xmm2, xmm5
  24.  
  25.  
  26.     movdqu xmm4, [esi + ebx + 2]
  27.     movdqa xmm5, xmm1
  28.     movdqa xmm7, xmm1
  29.     pmaxub xmm5, xmm4
  30.     pminub xmm7, xmm4
  31.     psubusb xmm5, xmm7
  32.  
  33.     pminub xmm3, xmm5
  34.     pcmpeqb xmm5, xmm3
  35.     psubusb xmm2, xmm5
  36.     pand xmm5, xmm4
  37.     por xmm2, xmm5
  38.  
  39.     movdqu xmm4, [esi]
  40.     movdqa xmm5, xmm1
  41.     movdqa xmm7, xmm1
  42.     pmaxub xmm5, xmm4
  43.     pminub xmm7, xmm4
  44.     psubusb xmm5, xmm7
  45.  
  46.     pminub xmm3, xmm5
  47.     pcmpeqb xmm5, xmm3
  48.     psubusb xmm2, xmm5
  49.     pand xmm5, xmm4
  50.     por xmm2, xmm5
  51.  
  52.     movdqu xmm4, [esi + 2]
  53.     movdqa xmm5, xmm1
  54.     movdqa xmm7, xmm1
  55.     pmaxub xmm5, xmm4
  56.     pminub xmm7, xmm4
  57.     psubusb xmm5, xmm7
  58.  
  59.     pminub xmm3, xmm5
  60.     pcmpeqb xmm5, xmm3
  61.     psubusb xmm2, xmm5
  62.     pand xmm5, xmm4
  63.     por xmm2, xmm5
  64.  
  65.     movdqu xmm4, [esi + 1]
  66.     movdqa xmm5, xmm1
  67.     movdqa xmm7, xmm1
  68.     pmaxub xmm5, xmm4
  69.     pminub xmm7, xmm4
  70.     psubusb xmm5, xmm7
  71.  
  72.     pminub xmm3, xmm5
  73.     pcmpeqb xmm5, xmm3
  74.     psubusb xmm2, xmm5
  75.     pand xmm5, xmm4
  76.     por xmm2, xmm5
  77.  
  78.     movdqu xmm4, [esi + 2*ebx]
  79.     movdqa xmm5, xmm1
  80.     movdqa xmm7, xmm1
  81.     pmaxub xmm5, xmm4
  82.     pminub xmm7, xmm4
  83.     psubusb xmm5, xmm7
  84.  
  85.     pminub xmm3, xmm5
  86.     pcmpeqb xmm5, xmm3
  87.     psubusb xmm2, xmm5
  88.     pand xmm5, xmm4
  89.     por xmm2, xmm5
  90.  
  91.     movdqu xmm4, [esi + 2*ebx + 2]
  92.     movdqa xmm5, xmm1
  93.     movdqa xmm7, xmm1
  94.     pmaxub xmm5, xmm4
  95.     pminub xmm7, xmm4
  96.     psubusb xmm5, xmm7
  97.  
  98.     pminub xmm3, xmm5
  99.     pcmpeqb xmm5, xmm3
  100.     psubusb xmm2, xmm5
  101.     pand xmm5, xmm4
  102.     por xmm2, xmm5
  103.  
  104.     movdqu xmm4, [esi + 2*ebx + 1]
  105.     movdqa xmm5, xmm1
  106.     movdqa xmm7, xmm1
  107.     pmaxub xmm5, xmm4
  108.     pminub xmm7, xmm4
  109.     psubusb xmm5, xmm7
  110.  
  111.     pminub xmm3, xmm5
  112.     pcmpeqb xmm5, xmm3
  113.     psubusb xmm2, xmm5
  114.     pand xmm5, xmm4
  115.     por xmm2, xmm5
  116.  
  117. movdqu  xmm4,               xmm2
  118. pminub      xmm1,               xmm2
  119. add         esi,                16
  120. pmaxub      xmm1,               xmm4
  121. movdqu  [edi],              xmm1
  122. add         edi,                16
  123. dec         ecx
  124. jnz         middle_loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement