[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / Disassembler / ARM / mve-scalar-shift.txt
blob513654ea9d02962d835cbe3ca9b105c158572a4d
1 # RUN: llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -mattr=+mve.fp,+fp64 -show-encoding %s | FileCheck %s
2 # RUN: not llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -show-encoding %s &> %t
3 # RUN: FileCheck --check-prefix=CHECK-NOMVE < %t %s
5 [0x50 0xea 0xef 0x51]
6 # CHECK: asrl r0, r1, #23 @ encoding: [0x50,0xea,0xef,0x51]
7 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction
9 [0x5e 0xea 0xef 0x61]
10 # CHECK: asrl lr, r1, #27 @ encoding: [0x5e,0xea,0xef,0x61]
11 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
13 [0x50 0xea 0x2d 0x41]
14 # CHECK: asrl r0, r1, r4 @ encoding: [0x50,0xea,0x2d,0x41]
15 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
17 [0x5e 0xea 0xcf 0x21]
18 # CHECK: lsll    lr, r1, #11  @ encoding: [0x5e,0xea,0xcf,0x21]
19 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
21 [0x5e 0xea 0x0d 0x41]
22 # CHECK: lsll    lr, r1, r4  @ encoding: [0x5e,0xea,0x0d,0x41]
23 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
25 [0x5e 0xea 0x1f 0x31]
26 # CHECK: lsrl    lr, r1, #12  @ encoding: [0x5e,0xea,0x1f,0x31]
27 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
29 [0x5f 0xea 0x2d 0x83]
30 # CHECK: sqrshrl lr, r3, #64, r8  @ encoding: [0x5f,0xea,0x2d,0x83]
31 # CHECK-NOMVE: [[@LINE-2]]:2: warning: invalid instruction encoding
33 [0x5f 0xea 0xad 0x83]
34 # CHECK: sqrshrl lr, r3, #48, r8  @ encoding: [0x5f,0xea,0xad,0x83]
35 # CHECK-NOMVE: [[@LINE-2]]:2: warning: invalid instruction encoding
37 [0x5e 0xea 0x7f 0x4f]
38 # CHECK: sqshl   lr, #17  @ encoding: [0x5e,0xea,0x7f,0x4f]
39 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
41 [0x5f 0xea 0x3f 0x7b]
42 # CHECK: sqshll  lr, r11, #28  @ encoding: [0x5f,0xea,0x3f,0x7b]
43 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
45 [0x5e 0xea 0xef 0x2f]
46 # CHECK: srshr   lr, #11  @ encoding: [0x5e,0xea,0xef,0x2f]
47 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
49 [0x5f 0xea 0xef 0x5b]
50 # CHECK: srshrl  lr, r11, #23  @ encoding: [0x5f,0xea,0xef,0x5b]
51 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
53 [0x5e 0xea 0x2d 0xcf]
54 # CHECK: sqrshr  lr, r12  @ encoding: [0x5e,0xea,0x2d,0xcf]
55 # CHECK-NOMVE: [[@LINE-2]]:2: warning: invalid instruction encoding
57 [0x5b 0xea 0x2d 0xcf]
58 # CHECK: sqrshr  r11, r12  @ encoding: [0x5b,0xea,0x2d,0xcf]
59 # CHECK-NOMVE: [[@LINE-2]]:2: warning: invalid instruction encoding
61 [0x5e 0xea 0x0d 0xcf]
62 # CHECK: uqrshl  lr, r12  @ encoding: [0x5e,0xea,0x0d,0xcf]
63 # CHECK-NOMVE: [[@LINE-2]]:2: warning: invalid instruction encoding
65 [0x5b 0xea 0x0d 0xcf]
66 # CHECK: uqrshl  r11, r12  @ encoding: [0x5b,0xea,0x0d,0xcf]
67 # CHECK-NOMVE: [[@LINE-2]]:2: warning: invalid instruction encoding
69 [0x5f 0xea 0x0d 0x41]
70 # CHECK: uqrshll lr, r1, #64, r4  @ encoding: [0x5f,0xea,0x0d,0x41]
71 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
73 [0x5f 0xea 0x8d 0x41]
74 # CHECK: uqrshll lr, r1, #48, r4  @ encoding: [0x5f,0xea,0x8d,0x41]
75 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
77 [0x50 0xea 0x4f 0x0f]
78 # CHECK: uqshl   r0, #1  @ encoding: [0x50,0xea,0x4f,0x0f]
79 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
81 [0x5f 0xea 0xcf 0x17]
82 # CHECK: uqshll  lr, r7, #7  @ encoding: [0x5f,0xea,0xcf,0x17]
83 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
85 [0x50 0xea 0x9f 0x2f]
86 # CHECK: urshr   r0, #10  @ encoding: [0x50,0xea,0x9f,0x2f]
87 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
89 [0x51 0xea 0x5f 0x79]
90 # CHECK: urshrl  r0, r9, #29  @ encoding: [0x51,0xea,0x5f,0x79]
91 # CHECK-NOMVE: [[@LINE-2]]:2: warning: potentially undefined instruction encoding