aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/intel-syntax-invalid-scale.s
blob: 69c6add06d5b8a91576be3091a8c2df64f0f9d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t.err
// RUN: FileCheck < %t.err %s

.intel_syntax

// CHECK: error: scale factor in address must be 1, 2, 4 or 8
    lea rax, [rdi + rdx*64]
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
    lea rax, [rdi + rdx*32]
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
    lea rax, [rdi + rdx*16]