[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ARM / thumb-only-conditionals.s
blob8693c249c0086ec032b5bc231f87244eceb1203f
1 @ RUN: llvm-mc -triple=thumbv7-apple-ios -o - %s | FileCheck %s
3 itte eq
4 dmbeq #11
5 dsbeq #7
6 isbne #15
7 @ CHECK: itte eq
8 @ CHECK-NEXT: dmbeq ish
9 @ CHECK-NEXT: dsbeq nsh
10 @ CHECK-NEXT: isbne sy
12 itet le
13 dmble
14 dsbgt
15 isble
16 @ CHECK: itet le
17 @ CHECK-NEXT: dmble sy
18 @ CHECK-NEXT: dsbgt sy
19 @ CHECK-NEXT: isble sy
21 itt gt
22 cdpgt p7, #1, c1, c1, c1, #4
23 cdp2gt p7, #1, c1, c1, c1, #4
24 @ CHECK: itt gt
25 @ CHECK-NEXT: cdpgt p7, #1, c1, c1, c1, #4
26 @ CHECK-NEXT: cdp2gt p7, #1, c1, c1, c1, #4
28 itt ne
29 mcrne p0, #0, r0, c0, c0, #0
30 mcr2ne p0, #0, r0, c0, c0, #0
31 @ CHECK: itt ne
32 @ CHECK-NEXT: mcrne p0, #0, r0, c0, c0, #0
33 @ CHECK-NEXT: mcr2ne p0, #0, r0, c0, c0, #0
35 ite le
36 mcrrle p7, #15, r5, r4, c1
37 mcrr2gt p7, #15, r5, r4, c1
38 @ CHECK: ite le
39 @ CHECK-NEXT: mcrrle p7, #15, r5, r4, c1
40 @ CHECK-NEXT: mcrr2gt p7, #15, r5, r4, c1
42 ite eq
43 mrceq p9, #1, r1, c2, c2
44 mrc2ne p12, #3, r3, c3, c4
45 @ CHECK: ite eq
46 @ CHECK-NEXT: mrceq p9, #1, r1, c2, c2
47 @ CHECK-NEXT: mrc2ne p12, #3, r3, c3, c4
49 itt lo
50 mrrclo p7, #1, r5, r4, c1
51 mrrc2lo p7, #1, r5, r4, c1
52 @ CHECK: itt lo
53 @ CHECK-NEXT: mrrclo p7, #1, r5, r4, c1
54 @ CHECK-NEXT: mrrc2lo p7, #1, r5, r4, c1