Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / PowerPC / ppc-encoding-ISAFuture.s
blob7e4f0d8658546f38f6ec1684b3958e56c55cbc6c
1 # RUN: llvm-mc -triple powerpc64-unknown-linux-gnu --show-encoding %s | \
2 # RUN: FileCheck -check-prefix=CHECK-BE %s
3 # RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu --show-encoding %s | \
4 # RUN: FileCheck -check-prefix=CHECK-LE %s
5 # RUN: llvm-mc -triple powerpc-unknown-aix-gnu --show-encoding %s | \
6 # RUN: FileCheck -check-prefix=CHECK-BE %s
8 # CHECK-BE: dmxxextfdmr512 1, 2, 34, 0 # encoding: [0xf0,0x82,0x17,0x12]
9 # CHECK-LE: dmxxextfdmr512 1, 2, 34, 0 # encoding: [0x12,0x17,0x82,0xf0]
10 dmxxextfdmr512 1, 2, 34, 0
12 # CHECK-BE: dmxxextfdmr512 1, 2, 34, 1 # encoding: [0xf0,0x83,0x17,0x12]
13 # CHECK-LE: dmxxextfdmr512 1, 2, 34, 1 # encoding: [0x12,0x17,0x83,0xf0]
14 dmxxextfdmr512 1, 2, 34, 1
16 # CHECK-BE: dmxxextfdmr256 3, 8, 0 # encoding: [0xf1,0x80,0x47,0x90]
17 # CHECK-LE: dmxxextfdmr256 3, 8, 0 # encoding: [0x90,0x47,0x80,0xf1]
18 dmxxextfdmr256 3, 8, 0
20 # CHECK-BE: dmxxextfdmr256 3, 8, 3 # encoding: [0xf1,0x81,0x4f,0x90]
21 # CHECK-LE: dmxxextfdmr256 3, 8, 3 # encoding: [0x90,0x4f,0x81,0xf1]
22 dmxxextfdmr256 3, 8, 3
24 # CHECK-BE: dmxxinstfdmr512 1, 2, 34, 0 # encoding: [0xf0,0x82,0x17,0x52]
25 # CHECK-LE: dmxxinstfdmr512 1, 2, 34, 0 # encoding: [0x52,0x17,0x82,0xf0]
26 dmxxinstfdmr512 1, 2, 34, 0
28 # CHECK-BE: dmxxinstfdmr512 1, 2, 34, 1 # encoding: [0xf0,0x83,0x17,0x52]
29 # CHECK-LE: dmxxinstfdmr512 1, 2, 34, 1 # encoding: [0x52,0x17,0x83,0xf0]
30 dmxxinstfdmr512 1, 2, 34, 1
32 # CHECK-BE: dmxxinstfdmr256 3, 8, 0 # encoding: [0xf1,0x80,0x47,0x94]
33 # CHECK-LE: dmxxinstfdmr256 3, 8, 0 # encoding: [0x94,0x47,0x80,0xf1]
34 dmxxinstfdmr256 3, 8, 0
36 # CHECK-BE: dmxxinstfdmr256 3, 8, 3 # encoding: [0xf1,0x81,0x4f,0x94]
37 # CHECK-LE: dmxxinstfdmr256 3, 8, 3 # encoding: [0x94,0x4f,0x81,0xf1]
38 dmxxinstfdmr256 3, 8, 3
40 # CHECK-BE: dmsetdmrz 3 # encoding: [0x7d,0x82,0x01,0x62]
41 # CHECK-LE: dmsetdmrz 3 # encoding: [0x62,0x01,0x82,0x7d]
42 dmsetdmrz 3
44 # CHECK-BE: dmmr 4, 5 # encoding: [0x7e,0x06,0xa1,0x62]
45 # CHECK-LE: dmmr 4, 5 # encoding: [0x62,0xa1,0x06,0x7e]
46 dmmr 4, 5
48 # CHECK-BE: dmxor 6, 7 # encoding: [0x7f,0x07,0xe1,0x62]
49 # CHECK-LE: dmxor 6, 7 # encoding: [0x62,0xe1,0x07,0x7f]
50 dmxor 6, 7
52 # CHECK-BE: subfus 3, 0, 4, 5 # encoding: [0x7c,0x64,0x28,0x90]
53 # CHECK-LE: subfus 3, 0, 4, 5 # encoding: [0x90,0x28,0x64,0x7c]
54 subfus 3, 0, 4, 5
56 # CHECK-BE: subfus 3, 1, 4, 5 # encoding: [0x7c,0x64,0x2c,0x90]
57 # CHECK-LE: subfus 3, 1, 4, 5 # encoding: [0x90,0x2c,0x64,0x7c]
58 subfus 3, 1, 4, 5
60 # CHECK-BE: subfus. 3, 0, 4, 5 # encoding: [0x7c,0x64,0x28,0x91]
61 # CHECK-LE: subfus. 3, 0, 4, 5 # encoding: [0x91,0x28,0x64,0x7c]
62 subfus. 3, 0, 4, 5
64 # CHECK-BE: subfus. 3, 1, 4, 5 # encoding: [0x7c,0x64,0x2c,0x91]
65 # CHECK-LE: subfus. 3, 1, 4, 5 # encoding: [0x91,0x2c,0x64,0x7c]
66 subfus. 3, 1, 4, 5
68 # CHECK-BE: lxvrl 1, 1, 2 # encoding: [0x7c,0x21,0x14,0x1a]
69 # CHECK-LE: lxvrl 1, 1, 2 # encoding: [0x1a,0x14,0x21,0x7c]
70 lxvrl 1, 1, 2
72 # CHECK-BE: lxvrll 0, 3, 4 # encoding: [0x7c,0x03,0x24,0x5a]
73 # CHECK-LE: lxvrll 0, 3, 4 # encoding: [0x5a,0x24,0x03,0x7c]
74 lxvrll 0, 3, 4
76 # CHECK-BE: stxvrl 2, 0, 1 # encoding: [0x7c,0x40,0x0d,0x1a]
77 # CHECK-LE: stxvrl 2, 0, 1 # encoding: [0x1a,0x0d,0x40,0x7c]
78 stxvrl 2, 0, 1
80 # CHECK-BE: stxvrll 3, 1, 5 # encoding: [0x7c,0x61,0x2d,0x5a]
81 # CHECK-LE: stxvrll 3, 1, 5 # encoding: [0x5a,0x2d,0x61,0x7c]
82 stxvrll 3, 1, 5
84 # CHECK-BE: lxvprl 6, 1, 5 # encoding: [0x7c,0xc1,0x2c,0x9a]
85 # CHECK-LE: lxvprl 6, 1, 5 # encoding: [0x9a,0x2c,0xc1,0x7c]
86 lxvprl 6, 1, 5
88 # CHECK-BE: lxvprll 6, 2, 1 # encoding: [0x7c,0xc2,0x0c,0xda]
89 # CHECK-LE: lxvprll 6, 2, 1 # encoding: [0xda,0x0c,0xc2,0x7c]
90 lxvprll 6, 2, 1
92 # CHECK-BE: stxvprl 0, 1, 2 # encoding: [0x7c,0x01,0x15,0x9a]
93 # CHECK-LE: stxvprl 0, 1, 2 # encoding: [0x9a,0x15,0x01,0x7c]
94 stxvprl 0, 1, 2
96 # CHECK-BE: stxvprll 6, 0, 1 # encoding: [0x7c,0xc0,0x0d,0xda]
97 # CHECK-LE: stxvprll 6, 0, 1 # encoding: [0xda,0x0d,0xc0,0x7c]
98 stxvprll 6, 0, 1