[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / Disassembler / ARM / thumbv8.1m-vmrs-vmsr.txt
blob42cc347a28b07a2ecbca9a882bc23e6f611adf00
1 # RUN: llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=+8msecext,+mve -show-encoding -disassemble < %s \
2 # RUN: | FileCheck --check-prefix=CHECK %s
3 # RUN: not llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=-8msecext,+mve -show-encoding -disassemble < %s 2>%t \
4 # RUN: | FileCheck --check-prefix=CHECK-NOSEC %s
5 # RUN:   FileCheck --check-prefix=ERROR-NOSEC < %t %s
6 # RUN: not llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=+8msecext,-mve,+vfp2 -show-encoding -disassemble < %s 2> %t \
7 # RUN: | FileCheck --check-prefix=CHECK-NOMVE %s
8 # RUN: FileCheck --check-prefix=ERROR-NOMVE < %t %s
9 # RUN: llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=+8msecext,+mve,-vfp2 -show-encoding -disassemble < %s \
10 # RUN: | FileCheck --check-prefix=CHECK-NOVFP %s
11 # RUN: not llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=-8msecext,-mve,-vfp2 -show-encoding -disassemble < %s 2> %t
12 # RUN: FileCheck --check-prefix=ERROR-NONE < %t %s
13 # RUN: not llvm-mc -triple=thumbv8m.main-none-eabi -mattr=+8msecext,+vfp2 -show-encoding -disassemble < %s 2> %t
14 # RUN: FileCheck --check-prefix=ERROR-V8M < %t %s
16 # ERROR-V8M: invalid instruction encoding
17 # ERROR-NONE: invalid instruction encoding
18 # CHECK-NOVFP: vmsr fpscr_nzcvqc, r0              @ encoding: [0xe2,0xee,0x10,0x0a]
19 # CHECK-NOMVE: vmsr fpscr_nzcvqc, r0              @ encoding: [0xe2,0xee,0x10,0x0a]
20 # CHECK-NOSEC: vmsr fpscr_nzcvqc, r0              @ encoding: [0xe2,0xee,0x10,0x0a]
21 # CHECK: vmsr fpscr_nzcvqc, r0              @ encoding: [0xe2,0xee,0x10,0x0a]
22 [0xe2,0xee,0x10,0x0a]
24 # ERROR-V8M: invalid instruction encoding
25 # ERROR-NONE: invalid instruction encoding
26 # CHECK-NOVFP: vmrs r10, fpscr_nzcvqc              @ encoding: [0xf2,0xee,0x10,0xaa]
27 # CHECK-NOMVE: vmrs r10, fpscr_nzcvqc              @ encoding: [0xf2,0xee,0x10,0xaa]
28 # CHECK-NOSEC: vmrs r10, fpscr_nzcvqc              @ encoding: [0xf2,0xee,0x10,0xaa]
29 # CHECK: vmrs r10, fpscr_nzcvqc              @ encoding: [0xf2,0xee,0x10,0xaa]
30 [0xf2,0xee,0x10,0xaa]
32 # ERROR-V8M: invalid instruction encoding
33 # ERROR-NONE: invalid instruction encoding
34 # CHECK-NOVFP: vmrs r0, fpcxtns              @ encoding: [0xfe,0xee,0x10,0x0a]
35 # CHECK-NOMVE: vmrs r0, fpcxtns              @ encoding: [0xfe,0xee,0x10,0x0a]
36 # ERROR-NOSEC: invalid instruction encoding
37 # CHECK: vmrs r0, fpcxtns              @ encoding: [0xfe,0xee,0x10,0x0a]
38 [0xfe,0xee,0x10,0x0a]
40 # ERROR-V8M: invalid instruction encoding
41 # ERROR-NONE: invalid instruction encoding
42 # CHECK-NOVFP: vmsr fpcxtns, r10              @ encoding: [0xee,0xee,0x10,0xaa]
43 # CHECK-NOMVE: vmsr fpcxtns, r10              @ encoding: [0xee,0xee,0x10,0xaa]
44 # ERROR-NOSEC: invalid instruction encoding
45 # CHECK: vmsr fpcxtns, r10              @ encoding: [0xee,0xee,0x10,0xaa]
46 [0xee,0xee,0x10,0xaa]
48 # ERROR-V8M: invalid instruction encoding
49 # ERROR-NONE: invalid instruction encoding
50 # CHECK-NOVFP: vmsr fpcxts, r5              @ encoding: [0xef,0xee,0x10,0x5a]
51 # CHECK-NOMVE: vmsr fpcxts, r5              @ encoding: [0xef,0xee,0x10,0x5a]
52 # ERROR-NOSEC: invalid instruction encoding
53 # CHECK: vmsr fpcxts, r5              @ encoding: [0xef,0xee,0x10,0x5a]
54 [0xef,0xee,0x10,0x5a]
56 # ERROR-V8M: invalid instruction encoding
57 # ERROR-NONE: invalid instruction encoding
58 # CHECK-NOVFP: vmrs  r3, fpcxtns              @ encoding: [0xfe,0xee,0x10,0x3a]
59 # CHECK-NOMVE: vmrs  r3, fpcxtns              @ encoding: [0xfe,0xee,0x10,0x3a]
60 # ERROR-NOSEC: invalid instruction encoding
61 # CHECK: vmrs  r3, fpcxtns              @ encoding: [0xfe,0xee,0x10,0x3a]
62 [0xfe,0xee,0x10,0x3a]
64 # ERROR-V8M: invalid instruction encoding
65 # ERROR-NONE: invalid instruction encoding
66 # CHECK-NOVFP: vmrs  r0, fpcxts              @ encoding: [0xff,0xee,0x10,0x0a]
67 # CHECK-NOMVE: vmrs  r0, fpcxts              @ encoding: [0xff,0xee,0x10,0x0a]
68 # ERROR-NOSEC: invalid instruction encoding
69 # CHECK: vmrs  r0, fpcxts              @ encoding: [0xff,0xee,0x10,0x0a]
70 [0xff,0xee,0x10,0x0a]
72 # ERROR-V8M: invalid instruction encoding
73 # ERROR-NONE: invalid instruction encoding
74 # ERROR-NOMVE: invalid instruction encoding
75 # CHECK-NOSEC: vmrs r0, vpr              @ encoding: [0xfc,0xee,0x10,0x0a]
76 # CHECK: vmrs r0, vpr              @ encoding: [0xfc,0xee,0x10,0x0a]
77 [0xfc,0xee,0x10,0x0a]
79 # ERROR-V8M: invalid instruction encoding
80 # ERROR-NONE: invalid instruction encoding
81 # ERROR-NOMVE: invalid instruction encoding
82 # CHECK-NOSEC: vmrs r4, p0              @ encoding: [0xfd,0xee,0x10,0x4a]
83 # CHECK: vmrs r4, p0              @ encoding: [0xfd,0xee,0x10,0x4a]
84 [0xfd,0xee,0x10,0x4a]
86 # ERROR-V8M: invalid instruction encoding
87 # ERROR-NONE: invalid instruction encoding
88 # ERROR-NOMVE: invalid instruction encoding
89 # CHECK-NOSEC: vmsr vpr, r0              @ encoding: [0xec,0xee,0x10,0x0a]
90 # CHECK: vmsr vpr, r0              @ encoding: [0xec,0xee,0x10,0x0a]
91 [0xec,0xee,0x10,0x0a]
93 # ERROR-V8M: invalid instruction encoding
94 # ERROR-NONE: invalid instruction encoding
95 # ERROR-NOMVE: invalid instruction encoding
96 # CHECK-NOSEC: vmsr p0, r4              @ encoding: [0xed,0xee,0x10,0x4a]
97 # CHECK: vmsr p0, r4              @ encoding: [0xed,0xee,0x10,0x4a]
98 [0xed,0xee,0x10,0x4a]