1 GEN_HANDLER_E(lxsdx
, 0x1F, 0x0C, 0x12, 0, PPC_NONE
, PPC2_VSX
),
2 GEN_HANDLER_E(lxsiwax
, 0x1F, 0x0C, 0x02, 0, PPC_NONE
, PPC2_VSX207
),
3 GEN_HANDLER_E(lxsiwzx
, 0x1F, 0x0C, 0x00, 0, PPC_NONE
, PPC2_VSX207
),
4 GEN_HANDLER_E(lxsibzx
, 0x1F, 0x0D, 0x18, 0, PPC_NONE
, PPC2_ISA300
),
5 GEN_HANDLER_E(lxsihzx
, 0x1F, 0x0D, 0x19, 0, PPC_NONE
, PPC2_ISA300
),
6 GEN_HANDLER_E(lxsspx
, 0x1F, 0x0C, 0x10, 0, PPC_NONE
, PPC2_VSX207
),
7 GEN_HANDLER_E(lxvd2x
, 0x1F, 0x0C, 0x1A, 0, PPC_NONE
, PPC2_VSX
),
8 GEN_HANDLER_E(lxvdsx
, 0x1F, 0x0C, 0x0A, 0, PPC_NONE
, PPC2_VSX
),
9 GEN_HANDLER_E(lxvw4x
, 0x1F, 0x0C, 0x18, 0, PPC_NONE
, PPC2_VSX
),
10 GEN_HANDLER_E(lxvh8x
, 0x1F, 0x0C, 0x19, 0, PPC_NONE
, PPC2_ISA300
),
11 GEN_HANDLER_E(lxvb16x
, 0x1F, 0x0C, 0x1B, 0, PPC_NONE
, PPC2_ISA300
),
13 GEN_HANDLER_E(stxsdx
, 0x1F, 0xC, 0x16, 0, PPC_NONE
, PPC2_VSX
),
14 GEN_HANDLER_E(stxsibx
, 0x1F, 0xD, 0x1C, 0, PPC_NONE
, PPC2_ISA300
),
15 GEN_HANDLER_E(stxsihx
, 0x1F, 0xD, 0x1D, 0, PPC_NONE
, PPC2_ISA300
),
16 GEN_HANDLER_E(stxsiwx
, 0x1F, 0xC, 0x04, 0, PPC_NONE
, PPC2_VSX207
),
17 GEN_HANDLER_E(stxsspx
, 0x1F, 0xC, 0x14, 0, PPC_NONE
, PPC2_VSX207
),
18 GEN_HANDLER_E(stxvd2x
, 0x1F, 0xC, 0x1E, 0, PPC_NONE
, PPC2_VSX
),
19 GEN_HANDLER_E(stxvw4x
, 0x1F, 0xC, 0x1C, 0, PPC_NONE
, PPC2_VSX
),
20 GEN_HANDLER_E(stxvh8x
, 0x1F, 0x0C, 0x1D, 0, PPC_NONE
, PPC2_ISA300
),
21 GEN_HANDLER_E(stxvb16x
, 0x1F, 0x0C, 0x1F, 0, PPC_NONE
, PPC2_ISA300
),
23 GEN_HANDLER_E(mfvsrwz
, 0x1F, 0x13, 0x03, 0x0000F800, PPC_NONE
, PPC2_VSX207
),
24 GEN_HANDLER_E(mtvsrwa
, 0x1F, 0x13, 0x06, 0x0000F800, PPC_NONE
, PPC2_VSX207
),
25 GEN_HANDLER_E(mtvsrwz
, 0x1F, 0x13, 0x07, 0x0000F800, PPC_NONE
, PPC2_VSX207
),
26 #if defined(TARGET_PPC64)
27 GEN_HANDLER_E(mfvsrd
, 0x1F, 0x13, 0x01, 0x0000F800, PPC_NONE
, PPC2_VSX207
),
28 GEN_HANDLER_E(mtvsrd
, 0x1F, 0x13, 0x05, 0x0000F800, PPC_NONE
, PPC2_VSX207
),
29 GEN_HANDLER_E(mfvsrld
, 0X1F, 0x13, 0x09, 0x0000F800, PPC_NONE
, PPC2_ISA300
),
30 GEN_HANDLER_E(mtvsrdd
, 0X1F, 0x13, 0x0D, 0x0, PPC_NONE
, PPC2_ISA300
),
31 GEN_HANDLER_E(mtvsrws
, 0x1F, 0x13, 0x0C, 0x0000F800, PPC_NONE
, PPC2_ISA300
),
34 #define GEN_XX1FORM(name, opc2, opc3, fl2) \
35 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0, opc3, 0, PPC_NONE, fl2), \
36 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 1, opc3, 0, PPC_NONE, fl2)
38 #define GEN_XX2FORM(name, opc2, opc3, fl2) \
39 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0, opc3, 0, PPC_NONE, fl2), \
40 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 1, opc3, 0, PPC_NONE, fl2)
42 #define GEN_XX2FORM_EO(name, opc2, opc3, opc4, fl2) \
43 GEN_HANDLER2_E_2(name, #name, 0x3C, opc2 | 0, opc3, opc4, 0, PPC_NONE, fl2), \
44 GEN_HANDLER2_E_2(name, #name, 0x3C, opc2 | 1, opc3, opc4, 0, PPC_NONE, fl2)
46 #define GEN_XX3FORM(name, opc2, opc3, fl2) \
47 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0, opc3, 0, PPC_NONE, fl2), \
48 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 1, opc3, 0, PPC_NONE, fl2), \
49 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 2, opc3, 0, PPC_NONE, fl2), \
50 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 3, opc3, 0, PPC_NONE, fl2)
52 #define GEN_XX2IFORM(name, opc2, opc3, fl2) \
53 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0, opc3, 1, PPC_NONE, fl2), \
54 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 1, opc3, 1, PPC_NONE, fl2), \
55 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 2, opc3, 1, PPC_NONE, fl2), \
56 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 3, opc3, 1, PPC_NONE, fl2)
58 #define GEN_XX3_RC_FORM(name, opc2, opc3, fl2) \
59 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x00, opc3 | 0x00, 0, PPC_NONE, fl2), \
60 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x01, opc3 | 0x00, 0, PPC_NONE, fl2), \
61 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x02, opc3 | 0x00, 0, PPC_NONE, fl2), \
62 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x03, opc3 | 0x00, 0, PPC_NONE, fl2), \
63 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x00, opc3 | 0x10, 0, PPC_NONE, fl2), \
64 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x01, opc3 | 0x10, 0, PPC_NONE, fl2), \
65 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x02, opc3 | 0x10, 0, PPC_NONE, fl2), \
66 GEN_HANDLER2_E(name, #name, 0x3C, opc2 | 0x03, opc3 | 0x10, 0, PPC_NONE, fl2)
68 #define GEN_XX3FORM_DM(name, opc2, opc3) \
69 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x00, opc3|0x00, 0, PPC_NONE, PPC2_VSX),\
70 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x01, opc3|0x00, 0, PPC_NONE, PPC2_VSX),\
71 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x02, opc3|0x00, 0, PPC_NONE, PPC2_VSX),\
72 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x03, opc3|0x00, 0, PPC_NONE, PPC2_VSX),\
73 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x00, opc3|0x04, 0, PPC_NONE, PPC2_VSX),\
74 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x01, opc3|0x04, 0, PPC_NONE, PPC2_VSX),\
75 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x02, opc3|0x04, 0, PPC_NONE, PPC2_VSX),\
76 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x03, opc3|0x04, 0, PPC_NONE, PPC2_VSX),\
77 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x00, opc3|0x08, 0, PPC_NONE, PPC2_VSX),\
78 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x01, opc3|0x08, 0, PPC_NONE, PPC2_VSX),\
79 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x02, opc3|0x08, 0, PPC_NONE, PPC2_VSX),\
80 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x03, opc3|0x08, 0, PPC_NONE, PPC2_VSX),\
81 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x00, opc3|0x0C, 0, PPC_NONE, PPC2_VSX),\
82 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x01, opc3|0x0C, 0, PPC_NONE, PPC2_VSX),\
83 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x02, opc3|0x0C, 0, PPC_NONE, PPC2_VSX),\
84 GEN_HANDLER2_E(name, #name, 0x3C, opc2|0x03, opc3|0x0C, 0, PPC_NONE, PPC2_VSX)
86 GEN_XX2FORM(xsabsdp
, 0x12, 0x15, PPC2_VSX
),
87 GEN_XX2FORM(xsnabsdp
, 0x12, 0x16, PPC2_VSX
),
88 GEN_XX2FORM(xsnegdp
, 0x12, 0x17, PPC2_VSX
),
89 GEN_XX3FORM(xscpsgndp
, 0x00, 0x16, PPC2_VSX
),
91 GEN_XX2FORM(xvabsdp
, 0x12, 0x1D, PPC2_VSX
),
92 GEN_XX2FORM(xvnabsdp
, 0x12, 0x1E, PPC2_VSX
),
93 GEN_XX2FORM(xvnegdp
, 0x12, 0x1F, PPC2_VSX
),
94 GEN_XX3FORM(xvcpsgndp
, 0x00, 0x1E, PPC2_VSX
),
95 GEN_XX2FORM(xvabssp
, 0x12, 0x19, PPC2_VSX
),
96 GEN_XX2FORM(xvnabssp
, 0x12, 0x1A, PPC2_VSX
),
97 GEN_XX2FORM(xvnegsp
, 0x12, 0x1B, PPC2_VSX
),
98 GEN_XX3FORM(xvcpsgnsp
, 0x00, 0x1A, PPC2_VSX
),
100 GEN_XX3FORM(xsadddp
, 0x00, 0x04, PPC2_VSX
),
101 GEN_XX3FORM(xssubdp
, 0x00, 0x05, PPC2_VSX
),
102 GEN_XX3FORM(xsmuldp
, 0x00, 0x06, PPC2_VSX
),
103 GEN_XX3FORM(xsdivdp
, 0x00, 0x07, PPC2_VSX
),
104 GEN_XX2FORM(xsredp
, 0x14, 0x05, PPC2_VSX
),
105 GEN_XX2FORM(xssqrtdp
, 0x16, 0x04, PPC2_VSX
),
106 GEN_XX2FORM(xsrsqrtedp
, 0x14, 0x04, PPC2_VSX
),
107 GEN_XX3FORM(xstdivdp
, 0x14, 0x07, PPC2_VSX
),
108 GEN_XX2FORM(xstsqrtdp
, 0x14, 0x06, PPC2_VSX
),
109 GEN_XX3FORM(xsmaddadp
, 0x04, 0x04, PPC2_VSX
),
110 GEN_XX3FORM(xsmaddmdp
, 0x04, 0x05, PPC2_VSX
),
111 GEN_XX3FORM(xsmsubadp
, 0x04, 0x06, PPC2_VSX
),
112 GEN_XX3FORM(xsmsubmdp
, 0x04, 0x07, PPC2_VSX
),
113 GEN_XX3FORM(xsnmaddadp
, 0x04, 0x14, PPC2_VSX
),
114 GEN_XX3FORM(xsnmaddmdp
, 0x04, 0x15, PPC2_VSX
),
115 GEN_XX3FORM(xsnmsubadp
, 0x04, 0x16, PPC2_VSX
),
116 GEN_XX3FORM(xsnmsubmdp
, 0x04, 0x17, PPC2_VSX
),
117 GEN_XX3FORM(xscmpeqdp
, 0x0C, 0x00, PPC2_ISA300
),
118 GEN_XX3FORM(xscmpgtdp
, 0x0C, 0x01, PPC2_ISA300
),
119 GEN_XX3FORM(xscmpgedp
, 0x0C, 0x02, PPC2_ISA300
),
120 GEN_XX3FORM(xscmpnedp
, 0x0C, 0x03, PPC2_ISA300
),
121 GEN_XX2IFORM(xscmpodp
, 0x0C, 0x05, PPC2_VSX
),
122 GEN_XX2IFORM(xscmpudp
, 0x0C, 0x04, PPC2_VSX
),
123 GEN_XX3FORM(xsmaxdp
, 0x00, 0x14, PPC2_VSX
),
124 GEN_XX3FORM(xsmindp
, 0x00, 0x15, PPC2_VSX
),
125 GEN_XX2FORM(xscvdpsp
, 0x12, 0x10, PPC2_VSX
),
126 GEN_XX2FORM(xscvdpspn
, 0x16, 0x10, PPC2_VSX207
),
127 GEN_XX2FORM(xscvspdp
, 0x12, 0x14, PPC2_VSX
),
128 GEN_XX2FORM(xscvspdpn
, 0x16, 0x14, PPC2_VSX207
),
129 GEN_XX2FORM(xscvdpsxds
, 0x10, 0x15, PPC2_VSX
),
130 GEN_XX2FORM(xscvdpsxws
, 0x10, 0x05, PPC2_VSX
),
131 GEN_XX2FORM(xscvdpuxds
, 0x10, 0x14, PPC2_VSX
),
132 GEN_XX2FORM(xscvdpuxws
, 0x10, 0x04, PPC2_VSX
),
133 GEN_XX2FORM(xscvsxddp
, 0x10, 0x17, PPC2_VSX
),
134 GEN_XX2FORM(xscvuxddp
, 0x10, 0x16, PPC2_VSX
),
135 GEN_XX2FORM(xsrdpi
, 0x12, 0x04, PPC2_VSX
),
136 GEN_XX2FORM(xsrdpic
, 0x16, 0x06, PPC2_VSX
),
137 GEN_XX2FORM(xsrdpim
, 0x12, 0x07, PPC2_VSX
),
138 GEN_XX2FORM(xsrdpip
, 0x12, 0x06, PPC2_VSX
),
139 GEN_XX2FORM(xsrdpiz
, 0x12, 0x05, PPC2_VSX
),
141 GEN_XX3FORM(xsaddsp
, 0x00, 0x00, PPC2_VSX207
),
142 GEN_XX3FORM(xssubsp
, 0x00, 0x01, PPC2_VSX207
),
143 GEN_XX3FORM(xsmulsp
, 0x00, 0x02, PPC2_VSX207
),
144 GEN_XX3FORM(xsdivsp
, 0x00, 0x03, PPC2_VSX207
),
145 GEN_XX2FORM(xsresp
, 0x14, 0x01, PPC2_VSX207
),
146 GEN_XX2FORM(xsrsp
, 0x12, 0x11, PPC2_VSX207
),
147 GEN_XX2FORM(xssqrtsp
, 0x16, 0x00, PPC2_VSX207
),
148 GEN_XX2FORM(xsrsqrtesp
, 0x14, 0x00, PPC2_VSX207
),
149 GEN_XX3FORM(xsmaddasp
, 0x04, 0x00, PPC2_VSX207
),
150 GEN_XX3FORM(xsmaddmsp
, 0x04, 0x01, PPC2_VSX207
),
151 GEN_XX3FORM(xsmsubasp
, 0x04, 0x02, PPC2_VSX207
),
152 GEN_XX3FORM(xsmsubmsp
, 0x04, 0x03, PPC2_VSX207
),
153 GEN_XX3FORM(xsnmaddasp
, 0x04, 0x10, PPC2_VSX207
),
154 GEN_XX3FORM(xsnmaddmsp
, 0x04, 0x11, PPC2_VSX207
),
155 GEN_XX3FORM(xsnmsubasp
, 0x04, 0x12, PPC2_VSX207
),
156 GEN_XX3FORM(xsnmsubmsp
, 0x04, 0x13, PPC2_VSX207
),
157 GEN_XX2FORM(xscvsxdsp
, 0x10, 0x13, PPC2_VSX207
),
158 GEN_XX2FORM(xscvuxdsp
, 0x10, 0x12, PPC2_VSX207
),
160 GEN_XX3FORM(xvadddp
, 0x00, 0x0C, PPC2_VSX
),
161 GEN_XX3FORM(xvsubdp
, 0x00, 0x0D, PPC2_VSX
),
162 GEN_XX3FORM(xvmuldp
, 0x00, 0x0E, PPC2_VSX
),
163 GEN_XX3FORM(xvdivdp
, 0x00, 0x0F, PPC2_VSX
),
164 GEN_XX2FORM(xvredp
, 0x14, 0x0D, PPC2_VSX
),
165 GEN_XX2FORM(xvsqrtdp
, 0x16, 0x0C, PPC2_VSX
),
166 GEN_XX2FORM(xvrsqrtedp
, 0x14, 0x0C, PPC2_VSX
),
167 GEN_XX3FORM(xvtdivdp
, 0x14, 0x0F, PPC2_VSX
),
168 GEN_XX2FORM(xvtsqrtdp
, 0x14, 0x0E, PPC2_VSX
),
169 GEN_XX3FORM(xvmaddadp
, 0x04, 0x0C, PPC2_VSX
),
170 GEN_XX3FORM(xvmaddmdp
, 0x04, 0x0D, PPC2_VSX
),
171 GEN_XX3FORM(xvmsubadp
, 0x04, 0x0E, PPC2_VSX
),
172 GEN_XX3FORM(xvmsubmdp
, 0x04, 0x0F, PPC2_VSX
),
173 GEN_XX3FORM(xvnmaddadp
, 0x04, 0x1C, PPC2_VSX
),
174 GEN_XX3FORM(xvnmaddmdp
, 0x04, 0x1D, PPC2_VSX
),
175 GEN_XX3FORM(xvnmsubadp
, 0x04, 0x1E, PPC2_VSX
),
176 GEN_XX3FORM(xvnmsubmdp
, 0x04, 0x1F, PPC2_VSX
),
177 GEN_XX3FORM(xvmaxdp
, 0x00, 0x1C, PPC2_VSX
),
178 GEN_XX3FORM(xvmindp
, 0x00, 0x1D, PPC2_VSX
),
179 GEN_XX3_RC_FORM(xvcmpeqdp
, 0x0C, 0x0C, PPC2_VSX
),
180 GEN_XX3_RC_FORM(xvcmpgtdp
, 0x0C, 0x0D, PPC2_VSX
),
181 GEN_XX3_RC_FORM(xvcmpgedp
, 0x0C, 0x0E, PPC2_VSX
),
182 GEN_XX3_RC_FORM(xvcmpnedp
, 0x0C, 0x0F, PPC2_ISA300
),
183 GEN_XX2FORM(xvcvdpsp
, 0x12, 0x18, PPC2_VSX
),
184 GEN_XX2FORM(xvcvdpsxds
, 0x10, 0x1D, PPC2_VSX
),
185 GEN_XX2FORM(xvcvdpsxws
, 0x10, 0x0D, PPC2_VSX
),
186 GEN_XX2FORM(xvcvdpuxds
, 0x10, 0x1C, PPC2_VSX
),
187 GEN_XX2FORM(xvcvdpuxws
, 0x10, 0x0C, PPC2_VSX
),
188 GEN_XX2FORM(xvcvsxddp
, 0x10, 0x1F, PPC2_VSX
),
189 GEN_XX2FORM(xvcvuxddp
, 0x10, 0x1E, PPC2_VSX
),
190 GEN_XX2FORM(xvcvsxwdp
, 0x10, 0x0F, PPC2_VSX
),
191 GEN_XX2FORM(xvcvuxwdp
, 0x10, 0x0E, PPC2_VSX
),
192 GEN_XX2FORM(xvrdpi
, 0x12, 0x0C, PPC2_VSX
),
193 GEN_XX2FORM(xvrdpic
, 0x16, 0x0E, PPC2_VSX
),
194 GEN_XX2FORM(xvrdpim
, 0x12, 0x0F, PPC2_VSX
),
195 GEN_XX2FORM(xvrdpip
, 0x12, 0x0E, PPC2_VSX
),
196 GEN_XX2FORM(xvrdpiz
, 0x12, 0x0D, PPC2_VSX
),
198 GEN_XX3FORM(xvaddsp
, 0x00, 0x08, PPC2_VSX
),
199 GEN_XX3FORM(xvsubsp
, 0x00, 0x09, PPC2_VSX
),
200 GEN_XX3FORM(xvmulsp
, 0x00, 0x0A, PPC2_VSX
),
201 GEN_XX3FORM(xvdivsp
, 0x00, 0x0B, PPC2_VSX
),
202 GEN_XX2FORM(xvresp
, 0x14, 0x09, PPC2_VSX
),
203 GEN_XX2FORM(xvsqrtsp
, 0x16, 0x08, PPC2_VSX
),
204 GEN_XX2FORM(xvrsqrtesp
, 0x14, 0x08, PPC2_VSX
),
205 GEN_XX3FORM(xvtdivsp
, 0x14, 0x0B, PPC2_VSX
),
206 GEN_XX2FORM(xvtsqrtsp
, 0x14, 0x0A, PPC2_VSX
),
207 GEN_XX3FORM(xvmaddasp
, 0x04, 0x08, PPC2_VSX
),
208 GEN_XX3FORM(xvmaddmsp
, 0x04, 0x09, PPC2_VSX
),
209 GEN_XX3FORM(xvmsubasp
, 0x04, 0x0A, PPC2_VSX
),
210 GEN_XX3FORM(xvmsubmsp
, 0x04, 0x0B, PPC2_VSX
),
211 GEN_XX3FORM(xvnmaddasp
, 0x04, 0x18, PPC2_VSX
),
212 GEN_XX3FORM(xvnmaddmsp
, 0x04, 0x19, PPC2_VSX
),
213 GEN_XX3FORM(xvnmsubasp
, 0x04, 0x1A, PPC2_VSX
),
214 GEN_XX3FORM(xvnmsubmsp
, 0x04, 0x1B, PPC2_VSX
),
215 GEN_XX3FORM(xvmaxsp
, 0x00, 0x18, PPC2_VSX
),
216 GEN_XX3FORM(xvminsp
, 0x00, 0x19, PPC2_VSX
),
217 GEN_XX3_RC_FORM(xvcmpeqsp
, 0x0C, 0x08, PPC2_VSX
),
218 GEN_XX3_RC_FORM(xvcmpgtsp
, 0x0C, 0x09, PPC2_VSX
),
219 GEN_XX3_RC_FORM(xvcmpgesp
, 0x0C, 0x0A, PPC2_VSX
),
220 GEN_XX3_RC_FORM(xvcmpnesp
, 0x0C, 0x0B, PPC2_ISA300
),
221 GEN_XX2FORM(xvcvspdp
, 0x12, 0x1C, PPC2_VSX
),
222 GEN_XX2FORM(xvcvspsxds
, 0x10, 0x19, PPC2_VSX
),
223 GEN_XX2FORM(xvcvspsxws
, 0x10, 0x09, PPC2_VSX
),
224 GEN_XX2FORM(xvcvspuxds
, 0x10, 0x18, PPC2_VSX
),
225 GEN_XX2FORM(xvcvspuxws
, 0x10, 0x08, PPC2_VSX
),
226 GEN_XX2FORM(xvcvsxdsp
, 0x10, 0x1B, PPC2_VSX
),
227 GEN_XX2FORM(xvcvuxdsp
, 0x10, 0x1A, PPC2_VSX
),
228 GEN_XX2FORM(xvcvsxwsp
, 0x10, 0x0B, PPC2_VSX
),
229 GEN_XX2FORM(xvcvuxwsp
, 0x10, 0x0A, PPC2_VSX
),
230 GEN_XX2FORM(xvrspi
, 0x12, 0x08, PPC2_VSX
),
231 GEN_XX2FORM(xvrspic
, 0x16, 0x0A, PPC2_VSX
),
232 GEN_XX2FORM(xvrspim
, 0x12, 0x0B, PPC2_VSX
),
233 GEN_XX2FORM(xvrspip
, 0x12, 0x0A, PPC2_VSX
),
234 GEN_XX2FORM(xvrspiz
, 0x12, 0x09, PPC2_VSX
),
235 GEN_XX2FORM_EO(xxbrh
, 0x16, 0x1D, 0x07, PPC2_ISA300
),
236 GEN_XX2FORM_EO(xxbrw
, 0x16, 0x1D, 0x0F, PPC2_ISA300
),
237 GEN_XX2FORM_EO(xxbrd
, 0x16, 0x1D, 0x17, PPC2_ISA300
),
238 GEN_XX2FORM_EO(xxbrq
, 0x16, 0x1D, 0x1F, PPC2_ISA300
),
240 #define VSX_LOGICAL(name, opc2, opc3, fl2) \
241 GEN_XX3FORM(name, opc2, opc3, fl2)
243 VSX_LOGICAL(xxland
, 0x8, 0x10, PPC2_VSX
),
244 VSX_LOGICAL(xxlandc
, 0x8, 0x11, PPC2_VSX
),
245 VSX_LOGICAL(xxlor
, 0x8, 0x12, PPC2_VSX
),
246 VSX_LOGICAL(xxlxor
, 0x8, 0x13, PPC2_VSX
),
247 VSX_LOGICAL(xxlnor
, 0x8, 0x14, PPC2_VSX
),
248 VSX_LOGICAL(xxleqv
, 0x8, 0x17, PPC2_VSX207
),
249 VSX_LOGICAL(xxlnand
, 0x8, 0x16, PPC2_VSX207
),
250 VSX_LOGICAL(xxlorc
, 0x8, 0x15, PPC2_VSX207
),
251 GEN_XX3FORM(xxmrghw
, 0x08, 0x02, PPC2_VSX
),
252 GEN_XX3FORM(xxmrglw
, 0x08, 0x06, PPC2_VSX
),
253 GEN_XX2FORM(xxspltw
, 0x08, 0x0A, PPC2_VSX
),
254 GEN_XX1FORM(xxspltib
, 0x08, 0x0B, PPC2_ISA300
),
255 GEN_XX3FORM_DM(xxsldwi
, 0x08, 0x00),
257 #define GEN_XXSEL_ROW(opc3) \
258 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x18, opc3, 0, PPC_NONE, PPC2_VSX), \
259 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x19, opc3, 0, PPC_NONE, PPC2_VSX), \
260 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x1A, opc3, 0, PPC_NONE, PPC2_VSX), \
261 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x1B, opc3, 0, PPC_NONE, PPC2_VSX), \
262 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x1C, opc3, 0, PPC_NONE, PPC2_VSX), \
263 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x1D, opc3, 0, PPC_NONE, PPC2_VSX), \
264 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x1E, opc3, 0, PPC_NONE, PPC2_VSX), \
265 GEN_HANDLER2_E(xxsel, "xxsel", 0x3C, 0x1F, opc3, 0, PPC_NONE, PPC2_VSX), \
300 GEN_XX3FORM_DM(xxpermdi
, 0x08, 0x01),