brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.7 KiB · e951b30 Raw
194 lines · plain
1// RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s2 3// CHECK: movrsb  268435456(%rbp,%r14,8), %bl4// CHECK: encoding: [0x42,0x0f,0x38,0x8a,0x9c,0xf5,0x00,0x00,0x00,0x10]5          movrs  268435456(%rbp,%r14,8), %bl6 7// CHECK: movrsb  291(%r8,%rax,4), %bl8// CHECK: encoding: [0x41,0x0f,0x38,0x8a,0x9c,0x80,0x23,0x01,0x00,0x00]9          movrs  291(%r8,%rax,4), %bl10 11// CHECK: movrsb  (%rip), %bl12// CHECK: encoding: [0x0f,0x38,0x8a,0x1d,0x00,0x00,0x00,0x00]13          movrs  (%rip), %bl14 15// CHECK: movrsb  -32(,%rbp,2), %bl16// CHECK: encoding: [0x0f,0x38,0x8a,0x1c,0x6d,0xe0,0xff,0xff,0xff]17          movrs  -32(,%rbp,2), %bl18 19// CHECK: movrsb  127(%rcx), %bl20// CHECK: encoding: [0x0f,0x38,0x8a,0x59,0x7f]21          movrs  127(%rcx), %bl22 23// CHECK: movrsb  -128(%rdx), %bl24// CHECK: encoding: [0x0f,0x38,0x8a,0x5a,0x80]25          movrs  -128(%rdx), %bl26 27// CHECK: movrsw  268435456(%rbp,%r14,8), %bx28// CHECK: encoding: [0x66,0x42,0x0f,0x38,0x8b,0x9c,0xf5,0x00,0x00,0x00,0x10]29          movrs  268435456(%rbp,%r14,8), %bx30 31// CHECK: movrsw  291(%r8,%rax,4), %bx32// CHECK: encoding: [0x66,0x41,0x0f,0x38,0x8b,0x9c,0x80,0x23,0x01,0x00,0x00]33          movrs  291(%r8,%rax,4), %bx34 35// CHECK: movrsw  (%rip), %bx36// CHECK: encoding: [0x66,0x0f,0x38,0x8b,0x1d,0x00,0x00,0x00,0x00]37          movrs  (%rip), %bx38 39// CHECK: movrsw  -32(,%rbp,2), %bx40// CHECK: encoding: [0x66,0x0f,0x38,0x8b,0x1c,0x6d,0xe0,0xff,0xff,0xff]41          movrs  -32(,%rbp,2), %bx42 43// CHECK: movrsw  127(%rcx), %bx44// CHECK: encoding: [0x66,0x0f,0x38,0x8b,0x59,0x7f]45          movrs  127(%rcx), %bx46 47// CHECK: movrsw  -128(%rdx), %bx48// CHECK: encoding: [0x66,0x0f,0x38,0x8b,0x5a,0x80]49          movrs  -128(%rdx), %bx50 51// CHECK: movrsl  268435456(%rbp,%r14,8), %ebx52// CHECK: encoding: [0x42,0x0f,0x38,0x8b,0x9c,0xf5,0x00,0x00,0x00,0x10]53          movrs  268435456(%rbp,%r14,8), %ebx54 55// CHECK: movrsl  291(%r8,%rax,4), %ebx56// CHECK: encoding: [0x41,0x0f,0x38,0x8b,0x9c,0x80,0x23,0x01,0x00,0x00]57          movrs  291(%r8,%rax,4), %ebx58 59// CHECK: movrsl  (%rip), %ebx60// CHECK: encoding: [0x0f,0x38,0x8b,0x1d,0x00,0x00,0x00,0x00]61          movrs  (%rip), %ebx62 63// CHECK: movrsl  -32(,%rbp,2), %ebx64// CHECK: encoding: [0x0f,0x38,0x8b,0x1c,0x6d,0xe0,0xff,0xff,0xff]65          movrs  -32(,%rbp,2), %ebx66 67// CHECK: movrsl  127(%rcx), %ebx68// CHECK: encoding: [0x0f,0x38,0x8b,0x59,0x7f]69          movrs  127(%rcx), %ebx70 71// CHECK: movrsl  -128(%rdx), %ebx72// CHECK: encoding: [0x0f,0x38,0x8b,0x5a,0x80]73          movrs  -128(%rdx), %ebx74 75// CHECK: movrsq  268435456(%rbp,%r14,8), %rbx76// CHECK: encoding: [0x4a,0x0f,0x38,0x8b,0x9c,0xf5,0x00,0x00,0x00,0x10]77          movrs  268435456(%rbp,%r14,8), %rbx78 79// CHECK: movrsq  291(%r8,%rax,4), %rbx80// CHECK: encoding: [0x49,0x0f,0x38,0x8b,0x9c,0x80,0x23,0x01,0x00,0x00]81          movrs  291(%r8,%rax,4), %rbx82 83// CHECK: movrsq  (%rip), %rbx84// CHECK: encoding: [0x48,0x0f,0x38,0x8b,0x1d,0x00,0x00,0x00,0x00]85          movrs  (%rip), %rbx86 87// CHECK: movrsq  -32(,%rbp,2), %rbx88// CHECK: encoding: [0x48,0x0f,0x38,0x8b,0x1c,0x6d,0xe0,0xff,0xff,0xff]89          movrs  -32(,%rbp,2), %rbx90 91// CHECK: movrsq  127(%rcx), %rbx92// CHECK: encoding: [0x48,0x0f,0x38,0x8b,0x59,0x7f]93          movrs  127(%rcx), %rbx94 95// CHECK: movrsq  -128(%rdx), %rbx96// CHECK: encoding: [0x48,0x0f,0x38,0x8b,0x5a,0x80]97          movrs  -128(%rdx), %rbx98 99// CHECK: movrsb  268435456(%rbp,%r14,8), %r16b100// CHECK: encoding: [0x62,0xa4,0x7c,0x08,0x8a,0x84,0xf5,0x00,0x00,0x00,0x10]101          movrs  268435456(%rbp,%r14,8), %r16b102 103// CHECK: movrsb  291(%r17,%rax,4), %bl104// CHECK: encoding: [0x62,0xfc,0x7c,0x08,0x8a,0x9c,0x81,0x23,0x01,0x00,0x00]105          movrs  291(%r17,%rax,4), %bl106 107// CHECK: {evex}  movrsb  (%rip), %bl108// CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x8a,0x1d,0x00,0x00,0x00,0x00]109          {evex} movrs  (%rip), %bl110 111// CHECK: movrsb  -32(,%rbp,2), %r18b112// CHECK: encoding: [0x62,0xe4,0x7c,0x08,0x8a,0x14,0x6d,0xe0,0xff,0xff,0xff]113          movrs  -32(,%rbp,2), %r18b114 115// CHECK: movrsb  127(%r19), %bl116// CHECK: encoding: [0x62,0xfc,0x7c,0x08,0x8a,0x5b,0x7f]117          movrs 127(%r19), %bl118 119// CHECK: movrsb  -128(%r20), %bl120// CHECK: encoding: [0x62,0xfc,0x7c,0x08,0x8a,0x5c,0x24,0x80]121          movrs  -128(%r20), %bl122 123// CHECK: movrsw  268435456(%rbp,%r14,8), %r16w124// CHECK: encoding: [0x62,0xa4,0x7d,0x08,0x8b,0x84,0xf5,0x00,0x00,0x00,0x10]125          movrs  268435456(%rbp,%r14,8), %r16w126 127// CHECK: movrsw  291(%r17,%rax,4), %bx128// CHECK: encoding: [0x62,0xfc,0x7d,0x08,0x8b,0x9c,0x81,0x23,0x01,0x00,0x00]129          movrs  291(%r17,%rax,4), %bx130 131// CHECK: {evex}  movrsw  (%rip), %bx132// CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x8b,0x1d,0x00,0x00,0x00,0x00]133          {evex} movrs  (%rip), %bx134 135// CHECK: movrsw  -32(,%rbp,2), %r18w136// CHECK: encoding: [0x62,0xe4,0x7d,0x08,0x8b,0x14,0x6d,0xe0,0xff,0xff,0xff]137          movrs  -32(,%rbp,2), %r18w138 139// CHECK: movrsw  127(%r19), %bx140// CHECK: encoding: [0x62,0xfc,0x7d,0x08,0x8b,0x5b,0x7f]141          movrs 127(%r19), %bx142 143// CHECK: movrsw  -128(%r20), %bx144// CHECK: encoding: [0x62,0xfc,0x7d,0x08,0x8b,0x5c,0x24,0x80]145          movrs  -128(%r20), %bx146 147// CHECK: movrsl  268435456(%rbp,%r14,8), %r16d148// CHECK: encoding: [0x62,0xa4,0x7c,0x08,0x8b,0x84,0xf5,0x00,0x00,0x00,0x10]149          movrs  268435456(%rbp,%r14,8), %r16d150 151// CHECK: movrsl  291(%r17,%rax,4), %ebx152// CHECK: encoding: [0x62,0xfc,0x7c,0x08,0x8b,0x9c,0x81,0x23,0x01,0x00,0x00]153          movrs  291(%r17,%rax,4), %ebx154 155// CHECK: {evex}  movrsl  (%rip), %ebx156// CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x8b,0x1d,0x00,0x00,0x00,0x00]157          {evex} movrs  (%rip), %ebx158 159// CHECK: movrsl  -32(,%rbp,2), %r18d160// CHECK: encoding: [0x62,0xe4,0x7c,0x08,0x8b,0x14,0x6d,0xe0,0xff,0xff,0xff]161          movrs  -32(,%rbp,2), %r18d162 163// CHECK: movrsl  127(%r19), %ebx164// CHECK: encoding: [0x62,0xfc,0x7c,0x08,0x8b,0x5b,0x7f]165          movrs 127(%r19), %ebx166 167// CHECK: movrsl  -128(%r20), %ebx168// CHECK: encoding: [0x62,0xfc,0x7c,0x08,0x8b,0x5c,0x24,0x80]169          movrs  -128(%r20), %ebx170 171// CHECK: movrsq  268435456(%rbp,%r14,8), %r16172// CHECK: encoding: [0x62,0xa4,0xfc,0x08,0x8b,0x84,0xf5,0x00,0x00,0x00,0x10]173          movrs  268435456(%rbp,%r14,8), %r16174 175// CHECK: movrsq  291(%r17,%rax,4), %rbx176// CHECK: encoding: [0x62,0xfc,0xfc,0x08,0x8b,0x9c,0x81,0x23,0x01,0x00,0x00]177          movrs  291(%r17,%rax,4), %rbx178 179// CHECK: {evex}  movrsq  (%rip), %rbx180// CHECK: encoding: [0x62,0xf4,0xfc,0x08,0x8b,0x1d,0x00,0x00,0x00,0x00]181          {evex} movrs  (%rip), %rbx182 183// CHECK: movrsq  -32(,%rbp,2), %r18184// CHECK: encoding: [0x62,0xe4,0xfc,0x08,0x8b,0x14,0x6d,0xe0,0xff,0xff,0xff]185          movrs  -32(,%rbp,2), %r18186 187// CHECK: movrsq  127(%r19), %rbx188// CHECK: encoding: [0x62,0xfc,0xfc,0x08,0x8b,0x5b,0x7f]189          movrs 127(%r19), %rbx190 191// CHECK: movrsq  -128(%r20), %rbx192// CHECK: encoding: [0x62,0xfc,0xfc,0x08,0x8b,0x5c,0x24,0x80]193          movrs  -128(%r20), %rbx194