Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc x86_64
- 00000000000004e0 <av_get_channel_layout_nb_channels>:
- 4e0: 89 c8 mov eax,ecx
- 4e2: 89 ca mov edx,ecx
- 4e4: 48 c1 e9 20 shr rcx,0x20
- 4e8: d1 e8 shr eax,1
- 4ea: 25 55 55 55 55 and eax,0x55555555
- 4ef: 29 c2 sub edx,eax
- 4f1: 89 d0 mov eax,edx
- 4f3: 81 e2 33 33 33 33 and edx,0x33333333
- 4f9: c1 e8 02 shr eax,0x2
- 4fc: 25 33 33 33 33 and eax,0x33333333
- 501: 01 d0 add eax,edx
- 503: 41 89 c1 mov r9d,eax
- 506: 41 c1 e9 04 shr r9d,0x4
- 50a: 41 01 c1 add r9d,eax
- 50d: 41 81 e1 0f 0f 0f 0f and r9d,0xf0f0f0f
- 514: 44 89 c8 mov eax,r9d
- 517: c1 e8 08 shr eax,0x8
- 51a: 41 01 c1 add r9d,eax
- 51d: 89 c8 mov eax,ecx
- 51f: d1 e8 shr eax,1
- 521: 25 55 55 55 55 and eax,0x55555555
- 526: 29 c1 sub ecx,eax
- 528: 41 89 c8 mov r8d,ecx
- 52b: c1 e9 02 shr ecx,0x2
- 52e: 41 81 e0 33 33 33 33 and r8d,0x33333333
- 535: 81 e1 33 33 33 33 and ecx,0x33333333
- 53b: 42 8d 14 01 lea edx,[rcx+r8*1]
- 53f: 89 d0 mov eax,edx
- 541: c1 e8 04 shr eax,0x4
- 544: 01 c2 add edx,eax
- 546: 81 e2 0f 0f 0f 0f and edx,0xf0f0f0f
- 54c: 89 d0 mov eax,edx
- 54e: c1 e8 08 shr eax,0x8
- 551: 01 c2 add edx,eax
- 553: 44 89 c8 mov eax,r9d
- 556: c1 e8 10 shr eax,0x10
- 559: 44 01 c8 add eax,r9d
- 55c: 83 e0 3f and eax,0x3f
- 55f: 41 89 c1 mov r9d,eax
- 562: 89 d0 mov eax,edx
- 564: c1 e8 10 shr eax,0x10
- 567: 01 c2 add edx,eax
- 569: 83 e2 3f and edx,0x3f
- 56c: 41 8d 04 11 lea eax,[r9+rdx*1]
- 570: c3 ret
- gcc x86_64 -mpopcnt
- 00000000000004c0 <av_get_channel_layout_nb_channels>:
- 4c0: f3 48 0f b8 c1 popcnt rax,rcx
- 4c5: c3 ret
- gcc x86_32 -mpopcnt
- 000004e0 <_av_get_channel_layout_nb_channels>:
- 4e0: f3 0f b8 54 24 04 popcnt edx,DWORD PTR [esp+0x4]
- 4e6: f3 0f b8 44 24 08 popcnt eax,DWORD PTR [esp+0x8]
- 4ec: 01 d0 add eax,edx
- 4ee: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement