[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.3a-diagnostics.s
blobfe1ce3068eedfb5df6526264c7ad9ebe38dd8779
1 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.3a < %s 2> %t
2 // RUN: FileCheck %s < %t
4 msr ID_ISAR6_EL1, x0
5 // CHECK: error: expected writable system register or pstate
6 // CHECK-NEXT: msr ID_ISAR6_EL1, x0
7 // CHECK-NEXT: ^
9 ldraa x0, [x1, 4089]
10 // CHECK: error: index must be a multiple of 8 in range [-4096, 4088].
11 ldraa x0, [x1, -4097]
12 // CHECK: error: index must be a multiple of 8 in range [-4096, 4088].
13 ldraa x0, [x1, 4086]
14 // CHECK: error: index must be a multiple of 8 in range [-4096, 4088].
15 ldrab x0, [x1, 4089]
16 // CHECK: error: index must be a multiple of 8 in range [-4096, 4088].
17 ldrab x0, [x1, -4097]
18 // CHECK: error: index must be a multiple of 8 in range [-4096, 4088].
19 ldrab x0, [x1, 4086]
20 // CHECK: error: index must be a multiple of 8 in range [-4096, 4088].