1 // RUN
: not llvm-mc
-triple x86_64-unknown-unknown
%s
2> %t.err
2 // RUN
: FileCheck
< %t.err
%s
6 // CHECK
: error
: scale factor in address must
be 1, 2, 4 or 8
7 lea rax
, [rdi
+ rdx
*64]
8 // CHECK
: error
: scale factor in address must
be 1, 2, 4 or 8
9 lea rax
, [rdi
+ rdx
*32]
10 // CHECK
: error
: scale factor in address must
be 1, 2, 4 or 8
11 lea rax
, [rdi
+ rdx
*16]
12 // CHECK
: error
: Scale can
't be negative
13 lea rax, [rdi + rdx*-8]
14 // CHECK: error: scale factor in address must be 1, 2, 4 or 8
15 lea rax, [rdi + -1*rdx]