1 # CS_ARCH_PPC, CS_MODE_BIG_ENDIAN, CS_OPT_SYNTAX_NOREGNAME
2 0x4c,0x8a,0x18,0x20 = bclr 4, 10, 3
3 0x4c,0x8a,0x00,0x20 = bclr 4, 10, 0
4 0x4c,0x8a,0x18,0x21 = bclrl 4, 10, 3
5 0x4c,0x8a,0x00,0x21 = bclrl 4, 10, 0
6 0x4c,0x8a,0x1c,0x20 = bcctr 4, 10, 3
7 0x4c,0x8a,0x04,0x20 = bcctr 4, 10, 0
8 0x4c,0x8a,0x1c,0x21 = bcctrl 4, 10, 3
9 0x4c,0x8a,0x04,0x21 = bcctrl 4, 10, 0
10 0x4c,0x43,0x22,0x02 = crand 2, 3, 4
11 0x4c,0x43,0x21,0xc2 = crnand 2, 3, 4
12 0x4c,0x43,0x23,0x82 = cror 2, 3, 4
13 0x4c,0x43,0x21,0x82 = crxor 2, 3, 4
14 0x4c,0x43,0x20,0x42 = crnor 2, 3, 4
15 0x4c,0x43,0x22,0x42 = creqv 2, 3, 4
16 0x4c,0x43,0x21,0x02 = crandc 2, 3, 4
17 0x4c,0x43,0x23,0x42 = crorc 2, 3, 4
18 0x4d,0x0c,0x00,0x00 = mcrf 2, 3
19 0x44,0x00,0x00,0x22 =
sc 1
20 0x44,0x00,0x00,0x02 =
sc 0
21 0x88,0x44,0x00,0x80 = lbz 2, 128(4)
22 0x7c,0x43,0
x20,0xae = lbzx 2, 3, 4
23 0x8c,0x44,0x00,0x80 = lbzu 2, 128(4)
24 0x7c,0x43,0x20,0xee = lbzux 2, 3, 4
25 0xa0,0x44,0x00,0x80 = lhz 2, 128(4)
26 0x7c,0x43,0
x22,0x2e = lhzx 2, 3, 4
27 0xa4,0x44,0x00,0x80 = lhzu 2, 128(4)
28 0x7c,0x43,0x22,0x6e = lhzux 2, 3, 4
29 0xa8,0x44,0x00,0x80 = lha 2, 128(4)
30 0x7c,0x43,0
x22,0xae = lhax 2, 3, 4
31 0xac,0x44,0x00,0x80 = lhau 2, 128(4)
32 0x7c,0x43,0x22,0xee = lhaux 2, 3, 4
33 0x80,0x44,0x00,0x80 = lwz 2, 128(4)
34 0x7c,0x43,0
x20,0x2e = lwzx 2, 3, 4
35 0x84,0x44,0x00,0x80 = lwzu 2, 128(4)
36 0x7c,0x43,0x20,0x6e = lwzux 2, 3, 4
37 0xe8,0x44,0x00,0x82 = lwa 2, 128(4)
38 0x7c,0x43,0
x22,0xaa = lwax 2, 3, 4
39 0x7c,0x43,0
x22,0xea = lwaux 2, 3, 4
40 0xe8,0x44,0x00,0x80 = ld 2, 128(4)
41 0x7c,0x43,0x20,0x2a = ldx 2, 3, 4
42 0xe8,0x44,0x00,0x81 = ldu 2, 128(4)
43 0x7c,0x43,0
x20,0x6a = ldux 2, 3, 4
44 0x98,0x44,0x00,0x80 = stb 2, 128(4)
45 0x7c,0x43,0x21,0xae = stbx 2, 3, 4
46 0x9c,0x44,0x00,0x80 = stbu 2, 128(4)
47 0x7c,0x43,0
x21,0xee = stbux 2, 3, 4
48 0xb0,0x44,0x00,0x80 = sth 2, 128(4)
49 0x7c,0x43,0x23,0x2e = sthx 2, 3, 4
50 0xb4,0x44,0x00,0x80 = sthu 2, 128(4)
51 0x7c,0x43,0
x23,0x6e = sthux 2, 3, 4
52 0x90,0x44,0x00,0x80 = stw 2, 128(4)
53 0x7c,0x43,0x21,0x2e = stwx 2, 3, 4
54 0x94,0x44,0x00,0x80 = stwu 2, 128(4)
55 0x7c,0x43,0
x21,0x6e = stwux 2, 3, 4
56 0xf8,0x44,0x00,0x80 = std 2, 128(4)
57 0x7c,0x43,0x21,0x2a = stdx 2, 3, 4
58 0xf8,0x44,0x00,0x81 = stdu 2, 128(4)
59 0x7c,0x43,0
x21,0x6a = stdux 2, 3, 4
60 0x7c,0x43,0
x26,0x2c = lhbrx 2, 3, 4
61 0x7c,0x43,0
x27,0x2c = sthbrx 2, 3, 4
62 0x7c,0x43,0
x24,0x2c = lwbrx 2, 3, 4
63 0x7c,0x43,0
x25,0x2c = stwbrx 2, 3, 4
64 0x7c,0x43,0
x24,0
x28 = ldbrx 2, 3, 4
65 0x7c,0x43,0
x25,0
x28 = stdbrx 2, 3, 4
66 0xb8,0x41,0x00,0x80 = lmw 2, 128(1)
67 0xbc,0x41,0x00,0x80 = stmw 2, 128(1)
68 0x38,0x43,0x00,0x80 = addi 2, 3, 128
69 0x3c,0x43,0x00,0x80 = addis 2, 3, 128
72 0x7c,0x43,0
x20,0x50 = subf 2, 3, 4
73 0x7c,0x43,0
x20,0x51 = subf. 2, 3, 4
74 0
x30,0x43,0x00,0x80 = addic 2, 3, 128
75 0x34,0x43,0x00,0x80 = addic. 2, 3, 128
76 0
x20,0x43,0x00,0x04 = subfic 2, 3, 4
77 0x7c,0x43,0
x20,0
x14 = addc 2, 3, 4
78 0x7c,0x43,0
x20,0
x15 = addc. 2, 3, 4
79 0x7c,0x43,0
x20,0
x10 = subfc 2, 3, 4
80 0x7c,0x43,0
x20,0
x10 = subfc 2, 3, 4
81 0x7c,0x43,0
x21,0
x14 = adde 2, 3, 4
82 0x7c,0x43,0
x21,0
x15 = adde. 2, 3, 4
83 0x7c,0x43,0
x21,0
x10 = subfe 2, 3, 4
84 0x7c,0x43,0
x21,0
x11 = subfe. 2, 3, 4
85 0x7c,0x43,0x01,0xd4 = addme 2, 3
86 0x7c,0x43,0x01,0xd5 = addme. 2, 3
87 0x7c,0x43,0x01,0xd0 = subfme 2, 3
88 0x7c,0x43,0x01,0xd1 = subfme. 2, 3
89 0x7c,0x43,0x01,0x94 = addze 2, 3
90 0x7c,0x43,0x01,0x95 = addze. 2, 3
91 0x7c,0x43,0x01,0x90 = subfze 2, 3
92 0x7c,0x43,0x01,0x91 = subfze. 2, 3
93 0x7c,0x43,0x00,0xd0 =
neg 2, 3
94 0x7c,0x43,0x00,0xd1 =
neg. 2, 3
95 0x1c,0x43,0x00,0x80 = mulli 2, 3, 128
96 0x7c,0x43,0
x20,0x96 = mulhw 2, 3, 4
97 0x7c,0x43,0
x20,0x97 = mulhw. 2, 3, 4
98 0x7c,0x43,0
x21,0xd6 = mullw 2, 3, 4
99 0x7c,0x43,0
x21,0xd7 = mullw. 2, 3, 4
100 0x7c,0x43,0
x20,0
x16 = mulhwu 2, 3, 4
101 0x7c,0x43,0
x20,0
x17 = mulhwu. 2, 3, 4
102 0x7c,0x43,0
x23,0xd6 = divw 2, 3, 4
103 0x7c,0x43,0
x23,0xd7 = divw. 2, 3, 4
104 0x7c,0x43,0
x23,0x96 = divwu 2, 3, 4
105 0x7c,0x43,0
x23,0x97 = divwu. 2, 3, 4
106 0x7c,0x43,0
x21,0xd2 = mulld 2, 3, 4
107 0x7c,0x43,0
x21,0xd3 = mulld. 2, 3, 4
108 0x7c,0x43,0
x20,0x92 = mulhd 2, 3, 4
109 0x7c,0x43,0
x20,0x93 = mulhd. 2, 3, 4
110 0x7c,0x43,0
x20,0
x12 = mulhdu 2, 3, 4
111 0x7c,0x43,0
x20,0
x13 = mulhdu. 2, 3, 4
112 0x7c,0x43,0
x23,0xd2 = divd 2, 3, 4
113 0x7c,0x43,0
x23,0xd3 = divd. 2, 3, 4
114 0x7c,0x43,0
x23,0x92 = divdu 2, 3, 4
115 0x7c,0x43,0
x23,0x93 = divdu. 2, 3, 4
116 0x2d,0
x23,0x00,0x80 = cmpdi 2, 3, 128
117 0x7d,0
x23,0
x20,0x00 = cmpd 2, 3, 4
118 0
x29,0
x23,0x00,0x80 = cmpldi 2, 3, 128
119 0x7d,0
x23,0
x20,0x40 = cmpld 2, 3, 4
120 0x2d,0x03,0x00,0x80 = cmpwi 2, 3, 128
121 0x7d,0x03,0
x20,0x00 = cmpw 2, 3, 4
122 0
x29,0x03,0x00,0x80 = cmplwi 2, 3, 128
123 0x7d,0x03,0
x20,0x40 = cmplw 2, 3, 4
124 0x0c,0x43,0x00,0x04 = twi 2, 3, 4
125 0x7c,0x43,0
x20,0x08 = tw 2, 3, 4
126 0x08,0x43,0x00,0x04 = tdi 2, 3, 4
127 0x7c,0x43,0
x20,0x88 = td 2, 3, 4
128 0x7c,0x43,0
x21,0x5e = isel 2, 3, 4, 5
129 0x70,0x62,0x00,0x80 = andi. 2, 3, 128
130 0x74,0x62,0x00,0x80 = andis. 2, 3, 128
131 0x60,0x62,0x00,0x80 = ori 2, 3, 128
132 0x64,0x62,0x00,0x80 = oris 2, 3, 128
133 0x68,0x62,0x00,0x80 = xori 2, 3, 128
134 0x6c,0x62,0x00,0x80 = xoris 2, 3, 128
135 0x7c,0x62,0
x20,0x38 = and 2, 3, 4
136 0x7c,0x62,0
x20,0x39 = and. 2, 3, 4
137 0x7c,0x62,0
x22,0x78 = xor 2, 3, 4
138 0x7c,0x62,0
x22,0x79 = xor. 2, 3, 4
139 0x7c,0x62,0
x23,0xb8 = nand 2, 3, 4
140 0x7c,0x62,0
x23,0xb9 = nand. 2, 3, 4
141 0x7c,0x62,0
x23,0x78 = or 2, 3, 4
142 0x7c,0x62,0
x23,0x79 = or. 2, 3, 4
143 0x7c,0x62,0
x20,0xf8 = nor 2, 3, 4
144 0x7c,0x62,0
x20,0xf9 = nor. 2, 3, 4
145 0x7c,0x62,0
x22,0x38 = eqv 2, 3, 4
146 0x7c,0x62,0
x22,0x39 = eqv. 2, 3, 4
147 0x7c,0x62,0
x20,0x78 = andc 2, 3, 4
148 0x7c,0x62,0
x20,0x79 = andc. 2, 3, 4
149 0x7c,0x62,0
x23,0x38 = orc 2, 3, 4
150 0x7c,0x62,0
x23,0x39 = orc. 2, 3, 4
151 0x7c,0x62,0x07,0x74 = extsb 2, 3
152 0x7c,0x62,0x07,0x75 = extsb. 2, 3
153 0x7c,0x62,0x07,0x34 = extsh 2, 3
154 0x7c,0x62,0x07,0x35 = extsh. 2, 3
155 0x7c,0x62,0x00,0x34 = cntlzw 2, 3
156 0x7c,0x62,0x00,0x35 = cntlzw. 2, 3
157 0x7c,0x62,0x02,0xf4 = popcntw 2, 3
158 0x7c,0x62,0x07,0xb4 = extsw 2, 3
159 0x7c,0x62,0x07,0xb5 = extsw. 2, 3
160 0x7c,0x62,0x00,0x74 = cntlzd 2, 3
161 0x7c,0x62,0x00,0x75 = cntlzd. 2, 3
162 0x7c,0x62,0x03,0xf4 = popcntd 2, 3
163 0x54,0x62,0
x21,0x4c = rlwinm 2, 3, 4, 5, 6
164 0x54,0x62,0
x21,0x4d = rlwinm. 2, 3, 4, 5, 6
165 0x5c,0x62,0
x21,0x4c = rlwnm 2, 3, 4, 5, 6
166 0x5c,0x62,0
x21,0x4d = rlwnm. 2, 3, 4, 5, 6
167 0x50,0x62,0
x21,0x4c = rlwimi 2, 3, 4, 5, 6
168 0x50,0x62,0
x21,0x4d = rlwimi. 2, 3, 4, 5, 6
169 0x78,0x62,0
x21,0x40 = rldicl 2, 3, 4, 5
170 0x78,0x62,0
x21,0x41 = rldicl. 2, 3, 4, 5
171 0x78,0x62,0
x21,0x44 = rldicr 2, 3, 4, 5
172 0x78,0x62,0
x21,0x45 = rldicr. 2, 3, 4, 5
173 0x78,0x62,0
x21,0x48 = rldic 2, 3, 4, 5
174 0x78,0x62,0
x21,0x49 = rldic. 2, 3, 4, 5
175 0x78,0x62,0
x21,0x50 = rldcl 2, 3, 4, 5
176 0x78,0x62,0
x21,0x51 = rldcl. 2, 3, 4, 5
177 0x78,0x62,0
x21,0x52 = rldcr 2, 3, 4, 5
178 0x78,0x62,0
x21,0x53 = rldcr. 2, 3, 4, 5
179 0x78,0x62,0
x21,0x4c = rldimi 2, 3, 4, 5
180 0x78,0x62,0
x21,0x4d = rldimi. 2, 3, 4, 5
181 0x7c,0x62,0
x20,0
x30 = slw 2, 3, 4
182 0x7c,0x62,0
x20,0x31 = slw. 2, 3, 4
183 0x7c,0x62,0
x24,0
x30 = srw 2, 3, 4
184 0x7c,0x62,0
x24,0x31 = srw. 2, 3, 4
185 0x7c,0x62,0
x26,0x70 = srawi 2, 3, 4
186 0x7c,0x62,0
x26,0x71 = srawi. 2, 3, 4
187 0x7c,0x62,0
x26,0
x30 = sraw 2, 3, 4
188 0x7c,0x62,0
x26,0x31 = sraw. 2, 3, 4
189 0x7c,0x62,0
x20,0x36 = sld 2, 3, 4
190 0x7c,0x62,0
x20,0x37 = sld. 2, 3, 4
191 0x7c,0x62,0
x24,0x36 = srd 2, 3, 4
192 0x7c,0x62,0
x24,0x37 = srd. 2, 3, 4
193 0x7c,0x62,0
x26,0x74 = sradi 2, 3, 4
194 0x7c,0x62,0
x26,0x75 = sradi. 2, 3, 4
195 0x7c,0x62,0
x26,0x34 = srad 2, 3, 4
196 0x7c,0x62,0
x26,0x35 = srad. 2, 3, 4
197 0x7c,0x58,0x93,0xa6 = mtspr 600, 2
198 0x7c,0x58,0x92,0xa6 = mfspr 2, 600
199 0x7c,0x47,0xb1,0
x20 = mtcrf 123, 2
200 0x7c,0x40,0x00,0
x26 = mfcr 2
201 0x7c,0x51,0x01,0
x20 = mtocrf 16, 2
202 0x7e,0
x10,0x80,0
x26 = mfocrf 16, 8
static ut32 neg(ArmOp *op)