Advertisement
prat3492

Untitled

Sep 3rd, 2015
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. --- before.s 2015-09-03 19:46:49.915113750 +0200
  2. +++ after.s 2015-09-03 19:45:37.714298422 +0200
  3. @@ -25,7 +25,7 @@
  4. push {r4, r5}
  5. - ands r3, r2, #1
  6. + tst r2, #1
  7. beq .L2
  8. adds r5, r1, #1
  9. - ldrb r1, [r1] @ zero_extendqisi2
  10. - mov r4, r1
  11. + ldrb r3, [r1] @ zero_extendqisi2
  12. + mov r4, r3
  13. tst r2, #2
  14. @@ -34,10 +34,13 @@
  15. .L7:
  16. - ldrh r2, [r1]
  17. - cbnz r3, .L4
  18. - mov r3, r0
  19. -.L8:
  20. - strh r2, [r3] @ movhi
  21. + ldrh r1, [r1]
  22. + tst r2, #1
  23. + itte ne
  24. + addne r3, r0, #1
  25. + strbne r4, [r0]
  26. + moveq r3, r0
  27. + strh r1, [r3] @ movhi
  28. b .L1
  29. .L3:
  30. - cbz r3, .L1
  31. + tst r2, #1
  32. + beq .L1
  33. b .L5
  34. @@ -47,8 +50,4 @@
  35. b .L1
  36. -.L4:
  37. - adds r3, r0, #1
  38. - strb r4, [r0]
  39. - b .L8
  40. .L5:
  41. - strb r1, [r0]
  42. + strb r3, [r0]
  43. .L1:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement