Skip to content

Instantly share code, notes, and snippets.

@justinruggles
Created July 30, 2012 18:28
Show Gist options
  • Save justinruggles/3208952 to your computer and use it in GitHub Desktop.
Save justinruggles/3208952 to your computer and use it in GitHub Desktop.
Dump of assembler code for function ff_imdct_half_3dnow.pre:
0x085df9d7 <+0>: mov 0x4(%esp),%ebp
0x085df9db <+4>: movd -0x4(%edx,%esi,4),%mm0
0x085df9e0 <+9>: movd (%edi,%ebx,2),%mm1
0x085df9e4 <+13>: punpckldq (%edx,%ebx,4),%mm0
0x085df9e8 <+17>: punpckldq 0x0(%ebp,%ebx,2),%mm1
0x085df9ed <+22>: movq %mm0,%mm2
0x085df9f0 <+25>: movq %mm1,%mm3
0x085df9f3 <+28>: psrlq $0x20,%mm3
0x085df9f7 <+32>: punpckldq %mm1,%mm3
0x085df9fa <+35>: pfmul %mm1,%mm0
0x085df9fe <+39>: pfmul %mm3,%mm2
0x085dfa02 <+43>: movq %mm0,%mm1
0x085dfa05 <+46>: punpckhdq %mm2,%mm0
0x085dfa08 <+49>: punpckldq %mm2,%mm1
0x085dfa0b <+52>: pxor %mm7,%mm0
0x085dfa0e <+55>: pfadd %mm1,%mm0
0x085dfa12 <+59>: mov (%esp),%ebp
0x085dfa15 <+62>: movzwl 0x0(%ebp,%ebx,1),%ebp
=> 0x085dfa1a <+67>: movq %mm0,0x0(%ebp)
0x085dfa1e <+71>: dec %ebx
0x085dfa1f <+72>: jns 0x85df9d7 <ff_imdct_half_3dnow.pre>
0x085dfa21 <+74>: mov %eax,%edi
0x085dfa23 <+76>: mov %ecx,%ebp
0x085dfa25 <+78>: mov %ecx,%eax
0x085dfa27 <+80>: mov (%edi),%ecx
0x085dfa29 <+82>: lea 0x85def60,%edx
0x085dfa2f <+88>: mov -0x8(%edx,%ecx,4),%edx
0x085dfa33 <+92>: call *%edx
0x085dfa35 <+94>: mov 0x10(%edi),%eax
0x085dfa38 <+97>: add %eax,%ebp
0x085dfa3a <+99>: shr %eax
0x085dfa3c <+101>: mov 0x8(%esp),%edx
0x085dfa40 <+105>: mov 0x4(%esp),%ebx
0x085dfa44 <+109>: neg %eax
0x085dfa46 <+111>: mov $0xfffffff8,%ecx
0x085dfa4b <+116>: sub %eax,%ecx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment