[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / PowerPC / ppc64-encoding-6xx.s
blob657eaf3f5da95c5875a7856fb4c4b77fdbdd37c2
1 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s
2 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
4 # Instructions specific to the PowerPC 6xx family:
6 # CHECK-BE: mfibatu 12, 0 # encoding: [0x7d,0x90,0x82,0xa6]
7 # CHECK-LE: mfibatu 12, 0 # encoding: [0xa6,0x82,0x90,0x7d]
8 mfibatu %r12, 0
9 # CHECK-BE: mfibatl 12, 0 # encoding: [0x7d,0x91,0x82,0xa6]
10 # CHECK-LE: mfibatl 12, 0 # encoding: [0xa6,0x82,0x91,0x7d]
11 mfibatl %r12, 0
12 # CHECK-BE: mfibatu 12, 1 # encoding: [0x7d,0x92,0x82,0xa6]
13 # CHECK-LE: mfibatu 12, 1 # encoding: [0xa6,0x82,0x92,0x7d]
14 mfibatu %r12, 1
15 # CHECK-BE: mfibatl 12, 1 # encoding: [0x7d,0x93,0x82,0xa6]
16 # CHECK-LE: mfibatl 12, 1 # encoding: [0xa6,0x82,0x93,0x7d]
17 mfibatl %r12, 1
18 # CHECK-BE: mfibatu 12, 2 # encoding: [0x7d,0x94,0x82,0xa6]
19 # CHECK-LE: mfibatu 12, 2 # encoding: [0xa6,0x82,0x94,0x7d]
20 mfibatu %r12, 2
21 # CHECK-BE: mfibatl 12, 2 # encoding: [0x7d,0x95,0x82,0xa6]
22 # CHECK-LE: mfibatl 12, 2 # encoding: [0xa6,0x82,0x95,0x7d]
23 mfibatl %r12, 2
24 # CHECK-BE: mfibatu 12, 3 # encoding: [0x7d,0x96,0x82,0xa6]
25 # CHECK-LE: mfibatu 12, 3 # encoding: [0xa6,0x82,0x96,0x7d]
26 mfibatu %r12, 3
27 # CHECK-BE: mfibatl 12, 3 # encoding: [0x7d,0x97,0x82,0xa6]
28 # CHECK-LE: mfibatl 12, 3 # encoding: [0xa6,0x82,0x97,0x7d]
29 mfibatl %r12, 3
30 # CHECK-BE: mtibatu 0, 12 # encoding: [0x7d,0x90,0x83,0xa6]
31 # CHECK-LE: mtibatu 0, 12 # encoding: [0xa6,0x83,0x90,0x7d]
32 mtibatu 0, %r12
33 # CHECK-BE: mtibatl 0, 12 # encoding: [0x7d,0x91,0x83,0xa6]
34 # CHECK-LE: mtibatl 0, 12 # encoding: [0xa6,0x83,0x91,0x7d]
35 mtibatl 0, %r12
36 # CHECK-BE: mtibatu 1, 12 # encoding: [0x7d,0x92,0x83,0xa6]
37 # CHECK-LE: mtibatu 1, 12 # encoding: [0xa6,0x83,0x92,0x7d]
38 mtibatu 1, %r12
39 # CHECK-BE: mtibatl 1, 12 # encoding: [0x7d,0x93,0x83,0xa6]
40 # CHECK-LE: mtibatl 1, 12 # encoding: [0xa6,0x83,0x93,0x7d]
41 mtibatl 1, %r12
42 # CHECK-BE: mtibatu 2, 12 # encoding: [0x7d,0x94,0x83,0xa6]
43 # CHECK-LE: mtibatu 2, 12 # encoding: [0xa6,0x83,0x94,0x7d]
44 mtibatu 2, %r12
45 # CHECK-BE: mtibatl 2, 12 # encoding: [0x7d,0x95,0x83,0xa6]
46 # CHECK-LE: mtibatl 2, 12 # encoding: [0xa6,0x83,0x95,0x7d]
47 mtibatl 2, %r12
48 # CHECK-BE: mtibatu 3, 12 # encoding: [0x7d,0x96,0x83,0xa6]
49 # CHECK-LE: mtibatu 3, 12 # encoding: [0xa6,0x83,0x96,0x7d]
50 mtibatu 3, %r12
51 # CHECK-BE: mtibatl 3, 12 # encoding: [0x7d,0x97,0x83,0xa6]
52 # CHECK-LE: mtibatl 3, 12 # encoding: [0xa6,0x83,0x97,0x7d]
53 mtibatl 3, %r12
55 # CHECK-BE: mfdbatu 12, 0 # encoding: [0x7d,0x98,0x82,0xa6]
56 # CHECK-LE: mfdbatu 12, 0 # encoding: [0xa6,0x82,0x98,0x7d]
57 mfdbatu %r12, 0
58 # CHECK-BE: mfdbatl 12, 0 # encoding: [0x7d,0x99,0x82,0xa6]
59 # CHECK-LE: mfdbatl 12, 0 # encoding: [0xa6,0x82,0x99,0x7d]
60 mfdbatl %r12, 0
61 # CHECK-BE: mfdbatu 12, 1 # encoding: [0x7d,0x9a,0x82,0xa6]
62 # CHECK-LE: mfdbatu 12, 1 # encoding: [0xa6,0x82,0x9a,0x7d]
63 mfdbatu %r12, 1
64 # CHECK-BE: mfdbatl 12, 1 # encoding: [0x7d,0x9b,0x82,0xa6]
65 # CHECK-LE: mfdbatl 12, 1 # encoding: [0xa6,0x82,0x9b,0x7d]
66 mfdbatl %r12, 1
67 # CHECK-BE: mfdbatu 12, 2 # encoding: [0x7d,0x9c,0x82,0xa6]
68 # CHECK-LE: mfdbatu 12, 2 # encoding: [0xa6,0x82,0x9c,0x7d]
69 mfdbatu %r12, 2
70 # CHECK-BE: mfdbatl 12, 2 # encoding: [0x7d,0x9d,0x82,0xa6]
71 # CHECK-LE: mfdbatl 12, 2 # encoding: [0xa6,0x82,0x9d,0x7d]
72 mfdbatl %r12, 2
73 # CHECK-BE: mfdbatu 12, 3 # encoding: [0x7d,0x9e,0x82,0xa6]
74 # CHECK-LE: mfdbatu 12, 3 # encoding: [0xa6,0x82,0x9e,0x7d]
75 mfdbatu %r12, 3
76 # CHECK-BE: mfdbatl 12, 3 # encoding: [0x7d,0x9f,0x82,0xa6]
77 # CHECK-LE: mfdbatl 12, 3 # encoding: [0xa6,0x82,0x9f,0x7d]
78 mfdbatl %r12, 3
79 # CHECK-BE: mtdbatu 0, 12 # encoding: [0x7d,0x98,0x83,0xa6]
80 # CHECK-LE: mtdbatu 0, 12 # encoding: [0xa6,0x83,0x98,0x7d]
81 mtdbatu 0, %r12
82 # CHECK-BE: mtdbatl 0, 12 # encoding: [0x7d,0x99,0x83,0xa6]
83 # CHECK-LE: mtdbatl 0, 12 # encoding: [0xa6,0x83,0x99,0x7d]
84 mtdbatl 0, %r12
85 # CHECK-BE: mtdbatu 1, 12 # encoding: [0x7d,0x9a,0x83,0xa6]
86 # CHECK-LE: mtdbatu 1, 12 # encoding: [0xa6,0x83,0x9a,0x7d]
87 mtdbatu 1, %r12
88 # CHECK-BE: mtdbatl 1, 12 # encoding: [0x7d,0x9b,0x83,0xa6]
89 # CHECK-LE: mtdbatl 1, 12 # encoding: [0xa6,0x83,0x9b,0x7d]
90 mtdbatl 1, %r12
91 # CHECK-BE: mtdbatu 2, 12 # encoding: [0x7d,0x9c,0x83,0xa6]
92 # CHECK-LE: mtdbatu 2, 12 # encoding: [0xa6,0x83,0x9c,0x7d]
93 mtdbatu 2, %r12
94 # CHECK-BE: mtdbatl 2, 12 # encoding: [0x7d,0x9d,0x83,0xa6]
95 # CHECK-LE: mtdbatl 2, 12 # encoding: [0xa6,0x83,0x9d,0x7d]
96 mtdbatl 2, %r12
97 # CHECK-BE: mtdbatu 3, 12 # encoding: [0x7d,0x9e,0x83,0xa6]
98 # CHECK-LE: mtdbatu 3, 12 # encoding: [0xa6,0x83,0x9e,0x7d]
99 mtdbatu 3, %r12
100 # CHECK-BE: mtdbatl 3, 12 # encoding: [0x7d,0x9f,0x83,0xa6]
101 # CHECK-LE: mtdbatl 3, 12 # encoding: [0xa6,0x83,0x9f,0x7d]
102 mtdbatl 3, %r12
104 # CHECK-BE: tlbld 4 # encoding: [0x7c,0x00,0x27,0xa4]
105 # CHECK-LE: tlbld 4 # encoding: [0xa4,0x27,0x00,0x7c]
106 tlbld %r4
107 # CHECK-BE: tlbli 4 # encoding: [0x7c,0x00,0x27,0xe4]
108 # CHECK-LE: tlbli 4 # encoding: [0xe4,0x27,0x00,0x7c]
109 tlbli %r4