Advertisement
Guest User

Untitled

a guest
Feb 24th, 2015
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. gcc x86_64
  2. 00000000000004e0 <av_get_channel_layout_nb_channels>:
  3. 4e0: 89 c8 mov eax,ecx
  4. 4e2: 89 ca mov edx,ecx
  5. 4e4: 48 c1 e9 20 shr rcx,0x20
  6. 4e8: d1 e8 shr eax,1
  7. 4ea: 25 55 55 55 55 and eax,0x55555555
  8. 4ef: 29 c2 sub edx,eax
  9. 4f1: 89 d0 mov eax,edx
  10. 4f3: 81 e2 33 33 33 33 and edx,0x33333333
  11. 4f9: c1 e8 02 shr eax,0x2
  12. 4fc: 25 33 33 33 33 and eax,0x33333333
  13. 501: 01 d0 add eax,edx
  14. 503: 41 89 c1 mov r9d,eax
  15. 506: 41 c1 e9 04 shr r9d,0x4
  16. 50a: 41 01 c1 add r9d,eax
  17. 50d: 41 81 e1 0f 0f 0f 0f and r9d,0xf0f0f0f
  18. 514: 44 89 c8 mov eax,r9d
  19. 517: c1 e8 08 shr eax,0x8
  20. 51a: 41 01 c1 add r9d,eax
  21. 51d: 89 c8 mov eax,ecx
  22. 51f: d1 e8 shr eax,1
  23. 521: 25 55 55 55 55 and eax,0x55555555
  24. 526: 29 c1 sub ecx,eax
  25. 528: 41 89 c8 mov r8d,ecx
  26. 52b: c1 e9 02 shr ecx,0x2
  27. 52e: 41 81 e0 33 33 33 33 and r8d,0x33333333
  28. 535: 81 e1 33 33 33 33 and ecx,0x33333333
  29. 53b: 42 8d 14 01 lea edx,[rcx+r8*1]
  30. 53f: 89 d0 mov eax,edx
  31. 541: c1 e8 04 shr eax,0x4
  32. 544: 01 c2 add edx,eax
  33. 546: 81 e2 0f 0f 0f 0f and edx,0xf0f0f0f
  34. 54c: 89 d0 mov eax,edx
  35. 54e: c1 e8 08 shr eax,0x8
  36. 551: 01 c2 add edx,eax
  37. 553: 44 89 c8 mov eax,r9d
  38. 556: c1 e8 10 shr eax,0x10
  39. 559: 44 01 c8 add eax,r9d
  40. 55c: 83 e0 3f and eax,0x3f
  41. 55f: 41 89 c1 mov r9d,eax
  42. 562: 89 d0 mov eax,edx
  43. 564: c1 e8 10 shr eax,0x10
  44. 567: 01 c2 add edx,eax
  45. 569: 83 e2 3f and edx,0x3f
  46. 56c: 41 8d 04 11 lea eax,[r9+rdx*1]
  47. 570: c3 ret
  48.  
  49.  
  50. gcc x86_64 -mpopcnt
  51. 00000000000004c0 <av_get_channel_layout_nb_channels>:
  52. 4c0: f3 48 0f b8 c1 popcnt rax,rcx
  53. 4c5: c3 ret
  54.  
  55.  
  56. gcc x86_32 -mpopcnt
  57. 000004e0 <_av_get_channel_layout_nb_channels>:
  58. 4e0: f3 0f b8 54 24 04 popcnt edx,DWORD PTR [esp+0x4]
  59. 4e6: f3 0f b8 44 24 08 popcnt eax,DWORD PTR [esp+0x8]
  60. 4ec: 01 d0 add eax,edx
  61. 4ee: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement