| 1 |
# RUN: not llvm-mc -triple x86_64 -show-encoding %s 2>&1 | FileCheck %s |
| 2 |
|
| 3 |
# CHECK: [[#@LINE+2]]:1: error: instruction length exceeds the limit of 15 |
| 4 |
# CHECK: addq $1234, %cs:-96, %rax |
| 5 |
addq $1234, %cs:-96, %rax |
| 6 |
|
| 7 |
# CHECK: [[#@LINE+2]]:1: error: instruction length exceeds the limit of 15 |
| 8 |
# CHECK: subq $1234, %fs:257(%rbx, %rcx), %rax |
| 9 |
subq $1234, %fs:257(%rbx, %rcx), %rax |
| 10 |
|
| 11 |
# CHECK: [[#@LINE+2]]:1: error: instruction length exceeds the limit of 15 |
| 12 |
# CHECK: orq $1234, 257(%ebx, %ecx), %rax |
| 13 |
orq $1234, 257(%ebx, %ecx), %rax |
| 14 |
|
| 15 |
# CHECK: [[#@LINE+2]]:1: error: instruction length exceeds the limit of 15 |
| 16 |
# CHECK: xorq $1234, %gs:257(%ebx), %rax |
| 17 |
xorq $1234, %gs:257(%ebx), %rax |
| 18 |
|
| 19 |
# CHECK: [[#@LINE+2]]:1: error: instruction length exceeds the limit of 15 |
| 20 |
# CHECK: {nf} andq $1234, %cs:-96 |
| 21 |
{nf} andq $1234, %cs:-96 |
| 22 |
|
| 23 |
# CHECK: [[#@LINE+2]]:1: error: instruction length exceeds the limit of 15 |
| 24 |
# CHECK: {evex} adcq $1234, %cs:-96 |
| 25 |
{evex} adcq $1234, %cs:-96 |