1 # RUN: llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -mattr=+mve -show-encoding %s 2> %t | FileCheck --check-prefix=CHECK %s
2 # RUN: FileCheck --check-prefix=STDERR < %t %s
5 # CHECK: sqrshr lr, r12 @ encoding: [0x5e,0xea,0x2d,0xcf]
6 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
9 # CHECK: sqrshr lr, r12 @ encoding: [0x5e,0xea,0x2d,0xcf]
10 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
13 # CHECK: sqrshr lr, r12 @ encoding: [0x5e,0xea,0x2d,0xcf]
14 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
17 # CHECK: sqrshr lr, r12 @ encoding: [0x5e,0xea,0x2d,0xcf]
18 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
21 # CHECK: sqrshr r1, r1 @ encoding: [0x51,0xea,0x2d,0x1f]
22 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
25 # CHECK: uqrshl lr, r12 @ encoding: [0x5e,0xea,0x0d,0xcf]
26 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
29 # CHECK: uqrshl r11, r12 @ encoding: [0x5b,0xea,0x0d,0xcf]
30 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
33 # CHECK: uqrshl lr, r12 @ encoding: [0x5e,0xea,0x0d,0xcf]
34 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
37 # CHECK: uqrshl r11, r12 @ encoding: [0x5b,0xea,0x0d,0xcf]
38 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding
41 # CHECK: uqrshl r3, r3 @ encoding: [0x53,0xea,0x0d,0x3f]
42 # STDERR: [[@LINE-2]]:2: warning: potentially undefined instruction encoding