16 lines · plain
1// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t.err2// RUN: FileCheck < %t.err %s3 4.intel_syntax5 6// CHECK: error: scale factor in address must be 1, 2, 4 or 87 lea rax, [rdi + rdx*64]8// CHECK: error: scale factor in address must be 1, 2, 4 or 89 lea rax, [rdi + rdx*32]10// CHECK: error: scale factor in address must be 1, 2, 4 or 811 lea rax, [rdi + rdx*16]12// CHECK: error: Scale can't be negative13 lea rax, [rdi + rdx*-8]14// CHECK: error: scale factor in address must be 1, 2, 4 or 815 lea rax, [rdi + -1*rdx]16