• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc --disassemble %s -triple=i386-apple-darwin9 | FileCheck %s
2
3# CHECK:  movl    %fs:24, %eax
40x64 0xa1 0x18 0x00 0x00 0x00 # mov eax, dword ptr fs:[18h]
5
6# CHECK: rep insb    %dx, %es:(%edi)
70xf3 0x6c #rep ins
8# CHECK: rep insl    %dx, %es:(%edi)
90xf3 0x6d #rep ins
10# CHECK: rep movsb   (%esi), %es:(%edi)
110xf3 0xa4 #rep movs
12# CHECK: rep movsl   (%esi), %es:(%edi)
130xf3 0xa5 #rep movs
14# CHECK: rep outsb   (%esi), %dx
150xf3 0x6e #rep outs
16# CHECK: rep outsl   (%esi), %dx
170xf3 0x6f #rep outs
18# CHECK: rep lodsb   (%esi), %al
190xf3 0xac #rep lods
20# CHECK: rep lodsl   (%esi), %eax
210xf3 0xad #rep lods
22# CHECK: rep stosb   %al, %es:(%edi)
230xf3 0xaa #rep stos
24# CHECK: rep stosl   %eax, %es:(%edi)
250xf3 0xab #rep stos
26# CHECK: rep cmpsb   %es:(%edi), (%esi)
270xf3 0xa6 #rep cmps
28# CHECK: rep cmpsl   %es:(%edi), (%esi)
290xf3 0xa7 #repe cmps
30# CHECK: rep scasb   %es:(%edi), %al
310xf3 0xae #repe scas
32# CHECK: rep scasl   %es:(%edi), %eax
330xf3 0xaf #repe scas
34# CHECK: repne cmpsb   %es:(%edi), (%esi)
350xf2 0xa6 #repne cmps
36# CHECK: repne cmpsl   %es:(%edi), (%esi)
370xf2 0xa7 #repne cmps
38# CHECK: repne scasb   %es:(%edi), %al
390xf2 0xae #repne scas
40# CHECK: repne scasl   %es:(%edi), %eax
410xf2 0xaf #repne scas
42
43# CHECK: repne scasw   %es:(%edi), %ax
440xf2 0x66 0xaf
45# CHECK: repne scasw   %es:(%edi), %ax
460x66 0xf2 0xaf
47
48# CHECK: rep scasw   %es:(%edi), %ax
490xf3 0x66 0xaf
50# CHECK: rep scasw   %es:(%edi), %ax
510x66 0xf3 0xaf
52
53# CHECK: repne insw    %dx, %es:(%edi)
540xf2 0x66 0x6d
55# CHECK: repne insw    %dx, %es:(%edi)
560x66 0xf2 0x6d
57
58# CHECK: rep insw    %dx, %es:(%edi)
590xf3 0x66 0x6d
60# CHECK: rep insw    %dx, %es:(%edi)
610x66 0xf3 0x6d
62