Project

General

Profile

Bug #1223 » gdb-disassemble.txt

Steve Allison, 2012-09-14 10:53

 
1
(gdb) disassemble $pc-32,$pc+32
2
Dump of assembler code from 0x7ffff68c5d5a to 0x7ffff68c5d9a:
3
   0x00007ffff68c5d5a:  add    %al,(%rax)
4
   0x00007ffff68c5d5c:  add    %al,(%rax)
5
   0x00007ffff68c5d5e:  add    %al,(%rax)
6
   0x00007ffff68c5d60:  mov    %esi,%ecx
7
   0x00007ffff68c5d62:  mov    %edi,%eax
8
   0x00007ffff68c5d64:  and    $0x3f,%rcx
9
   0x00007ffff68c5d68:  and    $0x3f,%rax
10
   0x00007ffff68c5d6c:  cmp    $0x30,%ecx
11
   0x00007ffff68c5d6f:  ja     0x7ffff68c5db0
12
   0x00007ffff68c5d71:  cmp    $0x30,%eax
13
   0x00007ffff68c5d74:  ja     0x7ffff68c5db0
14
   0x00007ffff68c5d76:  movdqu (%rdi),%xmm1
15
=> 0x00007ffff68c5d7a:  movdqu (%rsi),%xmm2
16
   0x00007ffff68c5d7e:  pxor   %xmm0,%xmm0
17
   0x00007ffff68c5d82:  pcmpeqb %xmm1,%xmm0
18
   0x00007ffff68c5d86:  pcmpeqb %xmm2,%xmm1
19
   0x00007ffff68c5d8a:  psubb  %xmm0,%xmm1
20
   0x00007ffff68c5d8e:  pmovmskb %xmm1,%edx
21
   0x00007ffff68c5d92:  sub    $0xffff,%edx
22
   0x00007ffff68c5d98:  jne    0x7ffff68c6bd0
23
End of assembler dump.
(3-3/5)