brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.1 KiB · caac8bc Raw
195 lines · plain
1# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT2# RUN: llvm-mc --disassemble %s -triple=x86_64 --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL3 4# ATT:   movrsb  268435456(%rbp,%r14,8), %bl5# INTEL: movrs bl, byte ptr [rbp + 8*r14 + 268435456]60x42,0x0f,0x38,0x8a,0x9c,0xf5,0x00,0x00,0x00,0x107 8# ATT:   movrsb  291(%r8,%rax,4), %bl9# INTEL: movrs bl, byte ptr [r8 + 4*rax + 291]100x41,0x0f,0x38,0x8a,0x9c,0x80,0x23,0x01,0x00,0x0011 12# ATT:   movrsb  (%rip), %bl13# INTEL: movrs bl, byte ptr [rip]140x0f,0x38,0x8a,0x1d,0x00,0x00,0x00,0x0015 16# ATT:   movrsb  -32(,%rbp,2), %bl17# INTEL: movrs bl, byte ptr [2*rbp - 32]180x0f,0x38,0x8a,0x1c,0x6d,0xe0,0xff,0xff,0xff19 20# ATT:   movrsb  127(%rcx), %bl21# INTEL: movrs bl, byte ptr [rcx + 127]220x0f,0x38,0x8a,0x59,0x7f23 24# ATT:   movrsb  -128(%rdx), %bl25# INTEL: movrs bl, byte ptr [rdx - 128]260x0f,0x38,0x8a,0x5a,0x8027 28# ATT:   movrsw  268435456(%rbp,%r14,8), %bx29# INTEL: movrs bx, word ptr [rbp + 8*r14 + 268435456]300x66,0x42,0x0f,0x38,0x8b,0x9c,0xf5,0x00,0x00,0x00,0x1031 32# ATT:   movrsw  291(%r8,%rax,4), %bx33# INTEL: movrs bx, word ptr [r8 + 4*rax + 291]340x66,0x41,0x0f,0x38,0x8b,0x9c,0x80,0x23,0x01,0x00,0x0035 36# ATT:   movrsw  (%rip), %bx37# INTEL: movrs bx, word ptr [rip]380x66,0x0f,0x38,0x8b,0x1d,0x00,0x00,0x00,0x0039 40# ATT:   movrsw  -32(,%rbp,2), %bx41# INTEL: movrs bx, word ptr [2*rbp - 32]420x66,0x0f,0x38,0x8b,0x1c,0x6d,0xe0,0xff,0xff,0xff43 44# ATT:   movrsw  127(%rcx), %bx45# INTEL: movrs bx, word ptr [rcx + 127]460x66,0x0f,0x38,0x8b,0x59,0x7f47 48# ATT:   movrsw  -128(%rdx), %bx49# INTEL: movrs bx, word ptr [rdx - 128]500x66,0x0f,0x38,0x8b,0x5a,0x8051 52# ATT:   movrsl  268435456(%rbp,%r14,8), %ebx53# INTEL: movrs ebx, dword ptr [rbp + 8*r14 + 268435456]540x42,0x0f,0x38,0x8b,0x9c,0xf5,0x00,0x00,0x00,0x1055 56# ATT:   movrsl  291(%r8,%rax,4), %ebx57# INTEL: movrs ebx, dword ptr [r8 + 4*rax + 291]580x41,0x0f,0x38,0x8b,0x9c,0x80,0x23,0x01,0x00,0x0059 60# ATT:   movrsl  (%rip), %ebx61# INTEL: movrs ebx, dword ptr [rip]620x0f,0x38,0x8b,0x1d,0x00,0x00,0x00,0x0063 64# ATT:   movrsl  -32(,%rbp,2), %ebx65# INTEL: movrs ebx, dword ptr [2*rbp - 32]660x0f,0x38,0x8b,0x1c,0x6d,0xe0,0xff,0xff,0xff67 68# ATT:   movrsl  127(%rcx), %ebx69# INTEL: movrs ebx, dword ptr [rcx + 127]700x0f,0x38,0x8b,0x59,0x7f71 72# ATT:   movrsl  -128(%rdx), %ebx73# INTEL: movrs ebx, dword ptr [rdx - 128]740x0f,0x38,0x8b,0x5a,0x8075 76# ATT:   movrsq  268435456(%rbp,%r14,8), %rbx77# INTEL: movrs rbx, qword ptr [rbp + 8*r14 + 268435456]780x4a,0x0f,0x38,0x8b,0x9c,0xf5,0x00,0x00,0x00,0x1079 80# ATT:   movrsq  291(%r8,%rax,4), %rbx81# INTEL: movrs rbx, qword ptr [r8 + 4*rax + 291]820x49,0x0f,0x38,0x8b,0x9c,0x80,0x23,0x01,0x00,0x0083 84# ATT:   movrsq  (%rip), %rbx85# INTEL: movrs rbx, qword ptr [rip]860x48,0x0f,0x38,0x8b,0x1d,0x00,0x00,0x00,0x0087 88# ATT:   movrsq  -32(,%rbp,2), %rbx89# INTEL: movrs rbx, qword ptr [2*rbp - 32]900x48,0x0f,0x38,0x8b,0x1c,0x6d,0xe0,0xff,0xff,0xff91 92# ATT:   movrsq  127(%rcx), %rbx93# INTEL: movrs rbx, qword ptr [rcx + 127]940x48,0x0f,0x38,0x8b,0x59,0x7f95 96# ATT:   movrsq  -128(%rdx), %rbx97# INTEL: movrs rbx, qword ptr [rdx - 128]980x48,0x0f,0x38,0x8b,0x5a,0x8099 100# ATT:   movrsb  268435456(%rbp,%r14,8), %r16b101# INTEL: movrs r16b, byte ptr [rbp + 8*r14 + 268435456]1020x62,0xa4,0x7c,0x08,0x8a,0x84,0xf5,0x00,0x00,0x00,0x10103 104# ATT:   movrsb  291(%r17,%rax,4), %bl105# INTEL: movrs bl, byte ptr [r17 + 4*rax + 291]1060x62,0xfc,0x7c,0x08,0x8a,0x9c,0x81,0x23,0x01,0x00,0x00107 108# ATT:   movrsb  (%rip), %bl109# INTEL: movrs bl, byte ptr [rip]1100x62,0xf4,0x7c,0x08,0x8a,0x1d,0x00,0x00,0x00,0x00111 112# ATT:   movrsb  -32(,%rbp,2), %r18b113# INTEL: movrs r18b, byte ptr [2*rbp - 32]1140x62,0xe4,0x7c,0x08,0x8a,0x14,0x6d,0xe0,0xff,0xff,0xff115 116# ATT:   movrsb  127(%r19), %bl117# INTEL: movrs bl, byte ptr [r19 + 127]1180x62,0xfc,0x7c,0x08,0x8a,0x5b,0x7f119 120# ATT:   movrsb  -128(%r20,%riz), %bl121# INTEL: movrs bl, byte ptr [r20 + riz - 128]1220x62,0xfc,0x7c,0x08,0x8a,0x5c,0x24,0x80123 124# ATT:   movrsw  268435456(%rbp,%r14,8), %r16w125# INTEL: movrs r16w, word ptr [rbp + 8*r14 + 268435456]1260x62,0xa4,0x7d,0x08,0x8b,0x84,0xf5,0x00,0x00,0x00,0x10127 128# ATT:   movrsw  291(%r17,%rax,4), %bx129# INTEL: movrs bx, word ptr [r17 + 4*rax + 291]1300x62,0xfc,0x7d,0x08,0x8b,0x9c,0x81,0x23,0x01,0x00,0x00131 132# ATT:   movrsw  (%rip), %bx133# INTEL: movrs bx, word ptr [rip]1340x62,0xf4,0x7d,0x08,0x8b,0x1d,0x00,0x00,0x00,0x00135 136# ATT:   movrsw  -32(,%rbp,2), %r18w137# INTEL: movrs r18w, word ptr [2*rbp - 32]1380x62,0xe4,0x7d,0x08,0x8b,0x14,0x6d,0xe0,0xff,0xff,0xff139 140# ATT:   movrsw  127(%r19), %bx141# INTEL: movrs bx, word ptr [r19 + 127]1420x62,0xfc,0x7d,0x08,0x8b,0x5b,0x7f143 144# ATT:   movrsw  -128(%r20,%riz), %bx145# INTEL: movrs bx, word ptr [r20 + riz - 128]1460x62,0xfc,0x7d,0x08,0x8b,0x5c,0x24,0x80147 148# ATT:   movrsl  268435456(%rbp,%r14,8), %r16d149# INTEL: movrs r16d, dword ptr [rbp + 8*r14 + 268435456]1500x62,0xa4,0x7c,0x08,0x8b,0x84,0xf5,0x00,0x00,0x00,0x10151 152# ATT:   movrsl  291(%r17,%rax,4), %ebx153# INTEL: movrs ebx, dword ptr [r17 + 4*rax + 291]1540x62,0xfc,0x7c,0x08,0x8b,0x9c,0x81,0x23,0x01,0x00,0x00155 156# ATT:   movrsl  (%rip), %ebx157# INTEL: movrs ebx, dword ptr [rip]1580x62,0xf4,0x7c,0x08,0x8b,0x1d,0x00,0x00,0x00,0x00159 160# ATT:   movrsl  -32(,%rbp,2), %r18d161# INTEL: movrs r18d, dword ptr [2*rbp - 32]1620x62,0xe4,0x7c,0x08,0x8b,0x14,0x6d,0xe0,0xff,0xff,0xff163 164# ATT:   movrsl  127(%r19), %ebx165# INTEL: movrs ebx, dword ptr [r19 + 127]1660x62,0xfc,0x7c,0x08,0x8b,0x5b,0x7f167 168# ATT:   movrsl  -128(%r20,%riz), %ebx169# INTEL: movrs ebx, dword ptr [r20 + riz - 128]1700x62,0xfc,0x7c,0x08,0x8b,0x5c,0x24,0x80171 172# ATT:   movrsq  268435456(%rbp,%r14,8), %r16173# INTEL: movrs r16, qword ptr [rbp + 8*r14 + 268435456]1740x62,0xa4,0xfc,0x08,0x8b,0x84,0xf5,0x00,0x00,0x00,0x10175 176# ATT:   movrsq  291(%r17,%rax,4), %rbx177# INTEL: movrs rbx, qword ptr [r17 + 4*rax + 291]1780x62,0xfc,0xfc,0x08,0x8b,0x9c,0x81,0x23,0x01,0x00,0x00179 180# ATT:   movrsq  (%rip), %rbx181# INTEL: movrs rbx, qword ptr [rip]1820x62,0xf4,0xfc,0x08,0x8b,0x1d,0x00,0x00,0x00,0x00183 184# ATT:   movrsq  -32(,%rbp,2), %r18185# INTEL: movrs r18, qword ptr [2*rbp - 32]1860x62,0xe4,0xfc,0x08,0x8b,0x14,0x6d,0xe0,0xff,0xff,0xff187 188# ATT:   movrsq  127(%r19), %rbx189# INTEL: movrs rbx, qword ptr [r19 + 127]1900x62,0xfc,0xfc,0x08,0x8b,0x5b,0x7f191 192# ATT:   movrsq  -128(%r20,%riz), %rbx193# INTEL: movrs rbx, qword ptr [r20 + riz - 128]1940x62,0xfc,0xfc,0x08,0x8b,0x5c,0x24,0x80195