[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ARM / vmov-vmvn-illegal-cases.s
blobae50220cdb3f76fa6e4832ada37e5c355cb96588
1 @ RUN: not llvm-mc -triple=armv7-linux-gnueabi %s 2>&1 | FileCheck %s
2 .text
4 @ CHECK: error: invalid instruction, any one of the following would fix this:
5 @ CHECK-NEXT: vmov.i32 d2, #0xffffffab
6 @ CHECK: note: operand must be a register in range [d0, d31]
7 @ CHECK: note: invalid operand for instruction
8 @ CHECK: error: invalid instruction, any one of the following would fix this:
9 @ CHECK-NEXT: vmov.i32 q2, #0xffffffab
10 @ CHECK: note: operand must be a register in range [q0, q15]
11 @ CHECK: note: invalid operand for instruction
12 @ CHECK: error: invalid instruction, any one of the following would fix this:
13 @ CHECK-NEXT: vmov.i32 d2, #0x00a500a6
14 @ CHECK: note: operand must be a register in range [d0, d31]
15 @ CHECK: note: invalid operand for instruction
16 @ CHECK: error: invalid instruction, any one of the following would fix this:
17 @ CHECK-NEXT: vmov.i16 q2, #0xffab
18 @ CHECK: note: operand must be a register in range [q0, q15]
19 @ CHECK: note: invalid operand for instruction
20 @ CHECK: error: invalid instruction, any one of the following would fix this:
21 @ CHECK-NEXT: vmov.i16 q2, #0xffab
22 @ CHECK: note: operand must be a register in range [q0, q15]
23 @ CHECK: note: invalid operand for instruction
25 @ CHECK: error: invalid instruction, any one of the following would fix this:
26 @ CHECK-NEXT: vmvn.i32 d2, #0xffffffab
27 @ CHECK: note: operand must be a register in range [d0, d31]
28 @ CHECK: note: invalid operand for instruction
29 @ CHECK: error: invalid instruction, any one of the following would fix this:
30 @ CHECK-NEXT: vmvn.i32 q2, #0xffffffab
31 @ CHECK: note: operand must be a register in range [q0, q15]
32 @ CHECK: note: invalid operand for instruction
33 @ CHECK: error: invalid instruction, any one of the following would fix this:
34 @ CHECK-NEXT: vmvn.i32 d2, #0x00a500a6
35 @ CHECK: note: operand must be a register in range [d0, d31]
36 @ CHECK: note: invalid operand for instruction
37 @ CHECK: error: invalid instruction, any one of the following would fix this:
38 @ CHECK-NEXT: vmvn.i16 q2, #0xffab
39 @ CHECK: note: operand must be a register in range [q0, q15]
40 @ CHECK: note: invalid operand for instruction
41 @ CHECK: error: invalid instruction, any one of the following would fix this:
42 @ CHECK-NEXT: vmvn.i16 q2, #0xffab
43 @ CHECK: note: operand must be a register in range [q0, q15]
44 @ CHECK: note: invalid operand for instruction
46 vmov.i32 d2, #0xffffffab
47 vmov.i32 q2, #0xffffffab
48 vmov.i32 d2, #0x00a500a6
49 vmov.i16 q2, #0xffab
50 vmov.i16 q2, #0xffab
52 vmvn.i32 d2, #0xffffffab
53 vmvn.i32 q2, #0xffffffab
54 vmvn.i32 d2, #0x00a500a6
55 vmvn.i16 q2, #0xffab
56 vmvn.i16 q2, #0xffab