mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-12 06:31:14 +00:00
51db1780fa
Differential Revision: https://reviews.llvm.org/D35115 llvm-svn: 308972
16 lines
539 B
ArmAsm
16 lines
539 B
ArmAsm
// 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]
|
|
// CHECK: error: Scale can't be negative
|
|
lea rax, [rdi + rdx*-8]
|
|
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
|
|
lea rax, [rdi + -1*rdx]
|