1 /*-
2  * This code is derived from software copyrighted by the Free Software
3  * Foundation.
4  *
5  * Modified 1993 by Chris Torek at Lawrence Berkeley Laboratory.
6  *
7  *	@(#)sparc-opcode.h	5.2 (Berkeley) 04/12/93
8  */
9 
10 /* Table of opcodes for the sparc.
11    Copyright (C) 1989 Free Software Foundation, Inc.
12 
13 This file is part of GAS, the GNU Assembler, and GDB, the GNU disassembler.
14 
15 GAS/GDB is free software; you can redistribute it and/or modify
16 it under the terms of the GNU General Public License as published by
17 the Free Software Foundation; either version 1, or (at your option)
18 any later version.
19 
20 GAS/GDB is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 GNU General Public License for more details.
24 
25 You should have received a copy of the GNU General Public License
26 along with GAS or GDB; see the file COPYING.  If not, write to
27 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
28 
29 #if !defined(__STDC__) && !defined(const)
30 #define const
31 #endif
32 
33 /*
34  * Structure of an opcode table entry.
35  */
36 struct sparc_opcode
37 {
38     const char *name;
39     unsigned long int match;	/* Bits that must be set.  */
40     unsigned long int lose;	/* Bits that must not be set.  */
41     const char *args;
42     /* Nonzero if this is a delayed branch instruction.  */
43     char delayed;
44 };
45 
46 /*
47    All sparc opcodes are 32 bits, except for the `set' instruction (really
48    a macro), which is 64 bits.  It is handled as a special case.
49 
50    The match component is a mask saying which bits must match a
51    particular opcode in order for an instruction to be an instance
52    of that opcode.
53 
54    The args component is a string containing one character
55    for each operand of the instruction.
56 
57 Kinds of operands:
58    #    Number used by optimizer.  It is ignored.
59    1    rs1 register.
60    2    rs2 register.
61    d    rd register.
62    e    frs1 floating point register.
63    f    frs2 floating point register.
64    g    frsd floating point register.
65    b    crs1 coprocessor register
66    c    crs2 coprocessor register
67    D    crsd coprocessor register
68    h    22 high bits.
69    i    13 bit Immediate.
70    l    22 bit PC relative immediate.
71    L    30 bit PC relative immediate.
72    a    Annul.  The annul bit is set.
73    A    Alternate address space.  Stored as 8 bits.
74    C    Coprocessor state register.
75    F    floating point state register.
76    p    Processor state register.
77    q    Floating point queue.
78    r    Single register that is both rs1 and rsd.
79    R	Single register that is both rs2 and rsd.
80    Q    Coprocessor queue.
81    S    Special case.
82    t    Trap base register.
83    w    Window invalid mask register.
84    y    Y register.
85 
86 */
87 
88 /* The order of the opcodes in this table is significant:
89 
90    * The assembler requires that all instances of the same mnemonic must be
91    consecutive.  If they aren't, the assembler will bomb at runtime.
92 
93    * The disassembler should not care about the order of the opcodes.  */
94 
95 static struct sparc_opcode sparc_opcodes[] =
96 {
97 
98 { "ldd",        0xc1980000, 0x0060201f, "[1],D", 0 }, /* ldd [rs1+%g0],d */
99 { "ldd",        0xc1982000, 0x00601fff, "[1],D", 0 }, /* ldd [rs1+0],d */
100 { "ldd",        0xc1982000, 0x00600000, "[1+i],D", 0 },
101 { "ldd",        0xc1982000, 0x00600000, "[i+1],D", 0 },
102 { "ldd",        0xc1980000, 0x00602000, "[1+2],D", 0 },
103 { "ldd",        0xc1180000, 0x00e0201f, "[1],g", 0 }, /* ldd [rs1+%g0],d */
104 { "ldd",        0xc1182000, 0x00e01fff, "[1],g", 0 }, /* ldd [rs1+0],d */
105 { "ldd",        0xc1182000, 0x00e00000, "[1+i],g", 0 },
106 { "ldd",        0xc1182000, 0x00e00000, "[i+1],g", 0 },
107 { "ldd",        0xc1180000, 0x00e02000, "[1+2],g", 0 },
108 { "ldd",	0xc0180000, 0x01e0201f, "[1],d", 0 }, /* ldd [rs1+%g0],d */
109 { "ldd",        0xc0182000, 0x01e01fff, "[1],d", 0 }, /* ldd [rs1+0],d */
110 { "ldd",	0xc0182000, 0x01e00000, "[1+i],d", 0 },
111 { "ldd",	0xc0182000, 0x01e00000, "[i+1],d", 0 },
112 { "ldd",	0xc0180000, 0x01e02000, "[1+2],d", 0 },
113 { "ld",         0xc1880000, 0x0070201f, "[1],C", 0 }, /* ld [rs1+%g0],d */
114 { "ld",         0xc1882000, 0x00701fff, "[1],C", 0 }, /* ld [rs1+0],d */
115 { "ld",         0xc1882000, 0x00700000, "[1+i],C", 0 },
116 { "ld",         0xc1882000, 0x00700000, "[i+1],C", 0 },
117 { "ld",         0xc1880000, 0x00702000, "[1+2],C", 0 },
118 { "ld",         0xc1800000, 0x0078201f, "[1],D", 0 }, /* ld [rs1+%g0],d */
119 { "ld",         0xc1802000, 0x00781fff, "[1],D", 0 }, /* ld [rs1+0],d */
120 { "ld",         0xc1802000, 0x00780000, "[1+i],D", 0 },
121 { "ld",         0xc1802000, 0x00780000, "[i+1],D", 0 },
122 { "ld",         0xc1800000, 0x00782000, "[1+2],D", 0 },
123 { "ld",         0xc1080000, 0x00f0201f, "[1],F", 0 }, /* ld [rs1+%g0],d */
124 { "ld",         0xc1082000, 0x00f01fff, "[1],F", 0 }, /* ld [rs1+0],d */
125 { "ld",         0xc1082000, 0x00f00000, "[1+i],F", 0 },
126 { "ld",         0xc1082000, 0x00f00000, "[i+1],F", 0 },
127 { "ld",         0xc1080000, 0x00f02000, "[1+2],F", 0 },
128 { "ld",         0xc1000000, 0x00f8201f, "[1],g", 0 }, /* ld [rs1+%g0],d */
129 { "ld",         0xc1002000, 0x00f81fff, "[1],g", 0 }, /* ld [rs1+0],d */
130 { "ld",         0xc1002000, 0x00f80000, "[1+i],g", 0 },
131 { "ld",         0xc1002000, 0x00f80000, "[i+1],g", 0 },
132 { "ld",         0xc1000000, 0x00f82000, "[1+2],g", 0 },
133 { "ld",	        0xc0000000, 0x01f8201f, "[1],d", 0 }, /* ld [rs1+%g0],d */
134 { "ld",		0xc0002000, 0x01f81fff, "[1],d", 0 }, /* ld [rs1+0],d */
135 { "ld",		0xc0002000, 0x01f80000, "[1+i],d", 0 },
136 { "ld",		0xc0002000, 0x01f80000, "[i+1],d", 0 },
137 { "ld",		0xc0000000, 0x01f82000, "[1+2],d", 0 },
138 { "ldstuba",    0xc0d80000, 0x0100201f, "[1]A,d", 0 }, /* ldstuba [rs1+%g0],d */
139 { "ldstuba",	0xc0d80000, 0x01002000, "[1+2]A,d", 0 },
140 { "ldsha",      0xc0d00000, 0x0128201f, "[1]A,d", 0 }, /* ldsha [rs1+%g0],d */
141 { "ldsha",	0xc0d00000, 0x01282000, "[1+2]A,d", 0 },
142 { "ldsba",      0xc0c80000, 0x0130201f, "[1]A,d", 0 }, /* ldsba [rs1+%g0],d */
143 { "ldsba",	0xc0c80000, 0x01302000, "[1+2]A,d", 0 },
144 { "ldda",       0xc0980000, 0x0160201f, "[1]A,d", 0 }, /* ldda [rs1+%g0],d */
145 { "ldda",	0xc0980000, 0x01602000, "[1+2]A,d", 0 },
146 { "lduha",      0xc0900000, 0x0168201f, "[1]A,d", 0 }, /* lduha [rs1+%g0],d */
147 { "lduha",	0xc0900000, 0x01682000, "[1+2]A,d", 0 },
148 { "ldstub",     0xc0680000, 0x0190201f, "[1],d", 0 }, /* ldstub [rs1+%g0],d */
149 { "ldstub",	0xc0682000, 0x01900000, "[1+i],d", 0 },
150 { "ldstub",	0xc0682000, 0x01900000, "[i+1],d", 0 },
151 { "ldstub",	0xc0680000, 0x01902000, "[1+2],d", 0 },
152 { "lda",        0xc0800000, 0x0178201f, "[1]A,d", 0 }, /* lda [rs1+%g0],d */
153 { "lda",	0xc0800000, 0x01782000, "[1+2]A,d", 0 },
154 { "ldsh",       0xc0500000, 0x0000000d, "[1],d", 0 }, /* ldsh [rs1+%g0],d */
155 { "ldsh",       0xc0502000, 0x01a81fff, "[1],d", 0 }, /* ldsh [rs1+0],d */
156 { "ldsh",	0xc0502000, 0x01a80000, "[1+i],d", 0 },
157 { "ldsh",	0xc0502000, 0x01a80000, "[i+1],d", 0 },
158 { "ldsh",	0xc0500000, 0x01a82000, "[1+2],d", 0 },
159 { "ldsb",       0xc0480000, 0x01b0201f, "[1],d", 0 }, /* ldsb [rs1+%g0],d */
160 { "ldsb",	0xc0482000, 0x01b01fff, "[1],d", 0 }, /* ldsb [rs1+0],d */
161 { "ldsb",	0xc0482000, 0x01b00000, "[1+i],d", 0 },
162 { "ldsb",	0xc0482000, 0x01b00000, "[i+1],d", 0 },
163 { "ldsb",	0xc0480000, 0x01b02000, "[1+2],d", 0 },
164 { "ldub",       0xc0080000, 0x01f0201f, "[1],d", 0 }, /* ldub [rs1+%g0],d */
165 { "ldub",       0xc0082000, 0x01f01fff, "[1],d", 0 }, /* ldub [rs1+0],d */
166 { "ldub",	0xc0082000, 0x01f00000, "[1+i],d", 0 },
167 { "ldub",	0xc0082000, 0x01f00000, "[i+1],d", 0 },
168 { "ldub",	0xc0080000, 0x01f02000, "[1+2],d", 0 },
169 { "lduba",      0xc0880000, 0x0170201f, "[1]A,d", 0 }, /* lduba [rs1+%g0],d */
170 { "lduba",	0xc0880000, 0x01702000, "[1+2]A,d", 0 },
171 { "lduh",	0xc0102000, 0x01e80000, "[1+i],d", 0 },
172 { "lduh",	0xc0102000, 0x01e80000, "[i+1],d", 0 },
173 { "lduh",	0xc0100000, 0x01e8201f, "[1],d", 0 }, /* lduh [rs1+%g0],d */
174 { "lduh",	0xc0102000, 0x01e81fff, "[1],d", 0 }, /* lduh [rs1+0],d */
175 { "lduh",	0xc0100000, 0x01e82000, "[1+2],d", 0 },
176 
177 { "st",	        0xc0200000, 0x01d8201f, "d,[1]", 0 }, /* st d,[rs1+%g0] */
178 { "st",	        0xc0202000, 0x01d81fff, "d,[1]", 0 }, /* st d,[rs1+0] */
179 { "st",		0xc0202000, 0x01d80000, "d,[1+i]", 0 },
180 { "st",		0xc0202000, 0x01d80000, "d,[i+1]", 0 },
181 { "st",		0xc0200000, 0x01d82000, "d,[1+2]", 0 },
182 { "st",		0xc1200000, 0x00d8201f, "g,[1]", 0 }, /* st d[rs1+%g0] */
183 { "st",		0xc1202000, 0x00d81fff, "g,[1]", 0 }, /* st d,[rs1+0] */
184 { "st",		0xc1202000, 0x00d80000, "g,[1+i]", 0 },
185 { "st",		0xc1202000, 0x00d80000, "g,[i+1]", 0 },
186 { "st",		0xc1200000, 0x00d82000, "g,[1+2]", 0 },
187 { "st",		0xc1280000, 0x00c0d01f, "F,[1]", 0 }, /* st d,[rs1+%g0] */
188 { "st",		0xc1282000, 0x00c0dfff, "F,[1]", 0 }, /* st d,[rs1+0] */
189 { "st",		0xc1282000, 0x00c0d000, "F,[1+i]", 0 },
190 { "st",		0xc1282000, 0x00c0d000, "F,[i+1]", 0 },
191 { "st",		0xc1280000, 0x00c0d000, "F,[1+2]", 0 },
192 { "st",		0xc1a00000, 0x0058201f, "D,[1]", 0 }, /* st d,[rs1+%g0] */
193 { "st",		0xc1a02000, 0x00581fff, "D,[1]", 0 }, /* st d,[rs1+0] */
194 { "st",		0xc1a02000, 0x00580000, "D,[1+i]", 0 },
195 { "st",		0xc1a02000, 0x00580000, "D,[i+1]", 0 },
196 { "st",		0xc1a00000, 0x00582000, "D,[1+2]", 0 },
197 { "st",		0xc1a80000, 0x0050201f, "C,[1]", 0 }, /* st d,[rs1+%g0] */
198 { "st",		0xc1a82000, 0x00501fff, "C,[1]", 0 }, /* st d,[rs1+0] */
199 { "st",		0xc1a82000, 0x00500000, "C,[1+i]", 0 },
200 { "st",		0xc1a82000, 0x00500000, "C,[i+1]", 0 },
201 { "st",		0xc1a80000, 0x00502000, "C,[1+2]", 0 },
202 { "sta",        0xc0a00000, 0x0108201f, "d,[1]A", 0 }, /* sta d,[rs1+%g0] */
203 { "sta",	0xc0a00000, 0x01082000, "d,[1+2]A", 0 },
204 
205 { "stb",        0xc0280000, 0x01d0201f, "d,[1]", 0 }, /* stb d,[rs1+%g0] */
206 { "stb",	0xc0282000, 0x01d01fff, "d,[1]", 0 }, /* stb d,[rs1+0] */
207 { "stb",	0xc0282000, 0x01d00000, "d,[1+i]", 0 },
208 { "stb",	0xc0282000, 0x01d00000, "d,[i+1]", 0 },
209 { "stb",	0xc0280000, 0x01d02000, "d,[1+2]", 0 },
210 { "stba",       0xc0a80000, 0x01002000, "d,[1+2]A", 0 },
211 { "stba",	0xc0a80000, 0x0100201f, "d,[1]A", 0 }, /* stba d,[rs1+%g0] */
212 
213 { "std",        0xc0380000, 0x01c0201f, "d,[1]", 0 }, /* std d,[rs1+%g0] */
214 { "std",	0xc0382000, 0x01c01fff, "d,[1]", 0 }, /* std d,[rs1+0] */
215 { "std",	0xc0382000, 0x01c00000, "d,[1+i]", 0 },
216 { "std",	0xc0382000, 0x01c00000, "d,[i+1]", 0 },
217 { "std",	0xc0380000, 0x01c02000, "d,[1+2]", 0 },
218 { "std",	0xc1380000, 0x00c0201f, "g,[1]", 0 }, /* std d,[rs1+%g0] */
219 { "std",        0xc1382000, 0x00c01fff, "g,[1]", 0 }, /* std d,[rs1+0] */
220 { "std",	0xc1382000, 0x00c00000, "g,[1+i]", 0 },
221 { "std",	0xc1382000, 0x00c00000, "g,[i+1]", 0 },
222 { "std",	0xc1380000, 0x00c02000, "g,[1+2]", 0 },
223 { "std",        0xc1300000, 0x00c8201f, "q,[1]", 0 }, /* std d,[rs1+%g0] */
224 { "std",	0xc1302000, 0x00c81fff, "q,[1]", 0 }, /* std d,[rs1+0] */
225 { "std",	0xc1302000, 0x00c80000, "q,[1+i]", 0 },
226 { "std",	0xc1302000, 0x00c80000, "q,[i+1]", 0 },
227 { "std",	0xc1300000, 0x00c82000, "q,[1+2]", 0 },
228 { "std",	0xc1b80000, 0x0040201f, "D,[1]", 0 }, /* std d,[rs1+%g0] */
229 { "std",	0xc1b82000, 0x00401fff, "D,[1]", 0 }, /* std d,[rs1+0] */
230 { "std",	0xc1b82000, 0x00400000, "D,[1+i]", 0 },
231 { "std",	0xc1b82000, 0x00400000, "D,[i+1]", 0 },
232 { "std",	0xc1b80000, 0x00402000, "D,[1+2]", 0 },
233 { "std",	0xc1b00000, 0x0048201f, "Q,[1]", 0 }, /* std d,[rs1+%g0] */
234 { "std",	0xc1b02000, 0x00481fff, "Q,[1]", 0 }, /* std d,[rs1+0] */
235 { "std",	0xc1b02000, 0x00480000, "Q,[1+i]", 0 },
236 { "std",	0xc1b02000, 0x00480000, "Q,[i+1]", 0 },
237 { "std",	0xc1b00000, 0x00482000, "Q,[1+2]", 0 },
238 { "stda",       0xc0b80000, 0x01402000, "d,[1+2]A", 0 },
239 { "stda",	0xc0b80000, 0x0140201f, "d,[1]A", 0 }, /* stda d,[rs1+%g0] */
240 
241 { "sth",        0xc0300000, 0x01c8201f, "d,[1]", 0 }, /* sth d,[rs1+%g0] */
242 { "sth",	0xc0302000, 0x01c81fff, "d,[1]", 0 }, /* sth d,[rs1+0] */
243 { "sth",	0xc0300000, 0x01c82000, "d,[1+2]", 0 },
244 { "sth",	0xc0302000, 0x01c80000, "d,[1+i]", 0 },
245 { "sth",	0xc0302000, 0x01c80000, "d,[i+1]", 0 },
246 { "stha",       0xc0b00000, 0x0148201f, "d,[1]A", 0 }, /* stha d,[rs1+%g0] */
247 { "stha",	0xc0b00000, 0x01482000, "d,[1+2]A", 0 },
248 
249 { "swap",       0xc0780000, 0x0180201f, "[1],d", 0 }, /* swap [rs1+%g0],d */
250 { "swap",       0xc0782000, 0x01801fff, "[1],d", 0 }, /* swap [rs1+0],d */
251 { "swap",       0xc0782000, 0x01800000, "[1+i],d", 0 },
252 { "swap",       0xc0782000, 0x01800000, "[i+1],d", 0 },
253 { "swap",       0xc0780000, 0x01802000, "[1+2],d", 0 },
254 { "swapa",      0xc0f80000, 0x01002000, "[1+2]A,d", 0 },
255 { "swapa",      0xc0f80000, 0x0100201f, "[1]A,d", 0 }, /* swapa [rs1+%g0],d */
256 
257 { "restore",    0x81e80000, 0x7e17e01f, "", 0 }, /* restore %g0,%g0,%g0 */
258 { "restore",    0x81e82000, 0x7e14dfff, "", 0 }, /* restore %g0,0,%g0 */
259 { "restore",	0x81e82000, 0x00000000, "1,i,d", 0 },
260 { "restore",	0x81e80000, 0x00000000, "1,2,d", 0 },
261 { "rett",       0x81c82000, 0x40300000, "1+i", 1 },
262 { "rett",       0x81c82000, 0x40300000, "i+1", 1 },
263 { "rett",	0x81c80000, 0x40302000, "1+2", 1 },
264 { "rett",	0x81c82000, 0x40300000, "1", 1},
265 { "save",       0x81e02000, 0x40180000, "1,i,d", 0 },
266 { "save",	0x81e00000, 0x40180000, "1,2,d", 0 },
267 
268 { "ret",	0x81c7e008, 0x00001ff7, "", 1 }, /* jmpl %i7+8,%g0 */
269 { "retl",       0x81c3e008, 0x00001ff7, "", 1 }, /* jmpl %o7+8,%g0 */
270 
271 { "jmpl",       0x81c00000, 0x4038201f, "1,d", 1 }, /* jmpl rs1+%g0,d */
272 { "jmpl",	0x81c02000, 0x4037c000, "i,d", 1 }, /* jmpl %g0+i,d */
273 { "jmpl",	0x81c02000, 0x40380000, "1+i,d", 1 },
274 { "jmpl",	0x81c02000, 0x40380000, "i+1,d", 1 },
275 { "jmpl",	0x81c00000, 0x40382000, "1+2,d", 1 },
276 { "wr",         0x81982000, 0x40600000, "1,i,t", 0 },
277 { "wr",         0x81980000, 0x40600000, "1,2,t", 0 },
278 { "wr",         0x81902000, 0x40680000, "1,i,w", 0 },
279 { "wr",         0x81900000, 0x40680000, "1,2,w", 0 },
280 { "wr",         0x81882000, 0x40700000, "1,i,p", 0 },
281 { "wr",         0x81880000, 0x40700000, "1,2,p", 0 },
282 { "wr",         0x81802000, 0x40780000, "1,i,y", 0 },
283 { "wr",         0x81800000, 0x40780000, "1,2,y", 0 },
284 
285 { "rd", 	0x81580000, 0x40a00000, "t,d", 0 },
286 { "rd", 	0x81500000, 0x40a80000, "w,d", 0 },
287 { "rd", 	0x81480000, 0x40b00000, "p,d", 0 },
288 { "rd",         0x81400000, 0x40b80000, "y,d", 0 },
289 
290 { "sra",	0x81382000, 0x00000000, "1,i,d", 0 },
291 { "sra",	0x81380000, 0x00000000, "1,2,d", 0 },
292 { "srl",        0x81302000, 0x40c80000, "1,i,d", 0 },
293 { "srl",	0x81300000, 0x40c80000, "1,2,d", 0 },
294 { "sll",        0x81282000, 0x40d00000, "1,i,d", 0 },
295 { "sll",	0x81280000, 0x40d00000, "1,2,d", 0 },
296 
297 { "mulscc",     0x81202000, 0x40d80000, "1,i,d", 0 },
298 { "mulscc",	0x81200000, 0x40d80000, "1,2,d", 0 },
299 
300 { "clr",        0x80100000, 0x4e87e01f, "d", 0 }, /* or %g0,%g0,d */
301 { "clr",        0x80102000, 0x41efdfff, "d", 0 }, /* or %g0,0,d   */
302 
303 { "orncc",      0x80b02000, 0x04048000, "1,i,d", 0 },
304 { "orncc",      0x80b02000, 0x04048000, "i,1,d", 0 },
305 { "orncc",	0x80b00000, 0x04048000, "1,2,d", 0 },
306 
307 { "tst",        0x80900000, 0x7f6fe000, "2", 0 }, /* orcc %g0, rs2, %g0 */
308 { "tst",        0x80900000, 0x7f68201f, "1", 0 }, /* orcc rs1, %g0, %g0 */
309 { "tst",        0x80902000, 0x7f681fff, "1", 0 }, /* orcc rs1, 0, %g0 */
310 
311 { "orcc",       0x80902000, 0x41680000, "1,i,d", 0 },
312 { "orcc",	0x80902000, 0x41680000, "i,1,d", 0 },
313 { "orcc",	0x80900000, 0x41680000, "1,2,d", 0 },
314 { "orn",        0x80302000, 0x41c80000, "1,i,d", 0 },
315 { "orn",	0x80302000, 0x41c80000, "i,1,d", 0 },
316 { "orn",	0x80300000, 0x41c80000, "1,2,d", 0 },
317 
318 { "mov",        0x81800000, 0x4078201f, "1,y", 0 }, /* wr rs1,%g0,%y */
319 { "mov",        0x81802000, 0x40781fff, "1,y", 0 }, /* wr rs1,0,%y */
320 { "mov",        0x81400000, 0x40b80000, "y,d", 0 }, /* rd %y,d */
321 { "mov",        0x81980000, 0x4060201f, "1,t", 0 }, /* wr rs1,%g0,%tbr */
322 { "mov",        0x81982000, 0x40601fff, "1,t", 0 }, /* wr rs1,0,%tbr */
323 { "mov",        0x81580000, 0x40a00000, "t,d", 0 }, /* rd %tbr,d */
324 { "mov",        0x81900000, 0x4068201f, "1,w", 0 }, /* wr rs1,%g0,%wim */
325 { "mov",        0x81902000, 0x40681fff, "1,w", 0 }, /* wr rs1,0,%wim */
326 { "mov",        0x81500000, 0x40a80000, "w,d", 0 }, /* rd %wim,d */
327 { "mov",        0x81880000, 0x4070201f, "1,p", 0 }, /* wr rs1,%g0,%psr */
328 { "mov",        0x81882000, 0x40701fff, "1,p", 0 }, /* wr rs1,0,%psr */
329 { "mov",        0x81480000, 0x40b00000, "p,d", 0 }, /* rd %psr,d */
330 
331 { "mov",        0x80102000, 0x41efc000, "i,d", 0 }, /* or %g0,i,d   */
332 { "mov",        0x80100000, 0x41efe000, "2,d", 0 }, /* or %g0,rs2,d */
333 
334 { "or",	        0x80102000, 0x40800000, "1,i,d", 0 },
335 { "or",		0x80102000, 0x40800000, "i,1,d", 0 },
336 { "or",		0x80100000, 0x40800000, "1,2,d", 0 },
337 
338 { "bset",	0x80100000, 0x40800000, "2,r", 0 },	/* or rsd,rs2,rsd */
339 { "bset",	0x80102000, 0x40800000, "i,r", 0 },	/* or rsd,i,rsd */
340 
341 { "andncc",     0x80a82000, 0x41500000, "1,i,d", 0 },
342 { "andncc",	0x80a82000, 0x41500000, "i,1,d", 0 },
343 { "andncc",	0x80a80000, 0x41500000, "1,2,d", 0 },
344 { "andn",       0x80282000, 0x41d00000, "1,i,d", 0 },
345 { "andn",	0x80282000, 0x41d00000, "i,1,d", 0 },
346 { "andn",	0x80280000, 0x41d00000, "1,2,d", 0 },
347 
348 { "bclr",	0x80280000, 0x41d00000, "2,r", 0 },	/* andn rsd,rs2,rsd */
349 { "bclr",	0x80282000, 0x41d00000, "i,r", 0 },	/* andn rsd,i,rsd */
350 
351 { "cmp",        0x80a02000, 0x7d580000, "1,i", 0 },     /* subcc rs1,i,%g0 */
352 { "cmp",	0x80a00000, 0x7d580000, "1,2", 0 },     /* subcc rs1,rs2,%g0 */
353 
354 { "deccc",	0x80a02001, 0x41581ffe, "r", 0 },	/* subcc rs1,1,rsd */
355 { "deccc",	0x80a02000, 0x41581fff, "i,r", 0 },	/* subcc rs1,i,rsd */
356 { "dec",	0x80202001, 0x41d81ffe, "r", 0 },	/* sub rs1,1,rsd */
357 { "dec",	0x80202000, 0x41d81fff, "i,r", 0 },	/* etc */
358 
359 { "neg",	0x80200000, 0x41d87800, "2,d", 0 },	/* sub %g0,rs2,rsd */
360 { "neg",	0x80200000, 0x41d87800, "R", 0 },	/* same, but rsd=rs2 */
361 
362 { "subcc",      0x80a02000, 0x41580000, "1,i,d", 0 },
363 { "subcc",	0x80a00000, 0x41580000, "1,2,d", 0 },
364 { "sub",	0x80202000, 0x41d80000, "1,i,d", 0 },
365 { "sub",	0x80200000, 0x41d80000, "1,2,d", 0 },
366 { "subx",	0x80602000, 0x41980000, "1,i,d", 0 },
367 { "subx",	0x80600000, 0x41980000, "1,2,d", 0 },
368 { "subxcc",     0x80e02000, 0x41180000, "1,i,d", 0 },
369 { "subxcc",	0x80e00000, 0x41180000, "1,2,d", 0 },
370 
371 { "andcc",      0x80882000, 0x41700000, "1,i,d", 0 },
372 { "andcc",	0x80882000, 0x41700000, "i,1,d", 0 },
373 { "andcc",	0x80880000, 0x41700000, "1,2,d", 0 },
374 { "and",        0x80082000, 0x41f00000, "1,i,d", 0 },
375 { "and",	0x80082000, 0x41f00000, "i,1,d", 0 },
376 { "and",	0x80080000, 0x41f00000, "1,2,d", 0 },
377 
378 { "btst",	0x80880000, 0x41700000, "1,2", 0 },	/* andcc rs1,rs2,%g0 */
379 { "btst",	0x80882000, 0x41700000, "i,1", 0 },	/* andcc rs1,i,%g0 */
380 
381 { "inccc",	0x80802001, 0x41781ffe, "r", 0 },	/* addcc rs1,1,rsd */
382 { "inccc",	0x80802000, 0x41781fff, "i,r", 0 },	/* addcc rs1,i,rsd */
383 { "inc",	0x80002001, 0x41f81ffe, "r", 0 },       /* add rs1,1,rsd */
384 { "inc",	0x80002000, 0x41f81fff, "i,r", 0 },	/* add rs1,i,rsd */
385 
386 { "addxcc",     0x80c02000, 0x41380000, "1,i,d", 0 },
387 { "addxcc",     0x80c02000, 0x41380000, "i,1,d", 0 },
388 { "addxcc",     0x80c00000, 0x41380000, "1,2,d", 0 },
389 { "addcc",      0x80802000, 0x41780000, "1,i,d", 0 },
390 { "addcc",      0x80802000, 0x41780000, "i,1,d", 0 },
391 { "addcc",      0x80800000, 0x41780000, "1,2,d", 0 },
392 { "addx",       0x80402000, 0x41b80000, "1,i,d", 0 },
393 { "addx",	0x80402000, 0x41b80000, "i,1,d", 0 },
394 { "addx",	0x80400000, 0x41b80000, "1,2,d", 0 },
395 { "add",        0x80002000, 0x41f80000, "1,i,d", 0 },
396 { "add",	0x80002000, 0x41f80000, "i,1,d", 0 },
397 { "add",	0x80000000, 0x41f80000, "1,2,d", 0 },
398 
399 { "call",       0x9fc00000, 0x4038201f, "1", 1 }, /* jmpl rs1+%g0, %o7 */
400 { "call",	0x9fc00000, 0x4038201f, "1,#", 1 },
401 { "call",	0x40000000, 0x80000000, "L", 1 },
402 { "call",	0x40000000, 0x80000000, "L,#", 1 },
403 
404 { "bvc",        0x3e800000, 0xc1400000, ",al", 1 },
405 { "bvc",	0x1e800000, 0xc1400000, "l", 1 },
406 { "bvs",	0x2e800000, 0xc1400000, ",al", 1 },
407 { "bvs",	0x0e800000, 0xc1400000, "l", 1 },
408 { "bpos",	0x3c800000, 0xc1400000, ",al", 1 },
409 { "bpos",	0x1c800000, 0xc1400000, "l", 1 },
410 { "bneg",	0x2c800000, 0xc1400000, ",al", 1 },
411 { "bneg",	0x0c800000, 0xc1400000, "l", 1 },
412 { "bcc",	0x3a800000, 0xc1400000, ",al", 1 },
413 { "bcc",	0x1a800000, 0xc1400000, "l", 1 },
414 { "bcs",	0x2a800000, 0xc1400000, ",al", 1 },
415 { "bcs",	0x0a800000, 0xc1400000, "l", 1 },
416 { "blu",	0x2a800000, 0xc1400000, ",al", 1 },
417 { "blu",	0x0a800000, 0xc1400000, "l", 1 }, /* same as bcs */
418 { "bgeu",	0x3a800000, 0xc1400000, ",al", 1 },
419 { "bgeu",	0x1a800000, 0xc1400000, "l", 1 }, /* same as bcc */
420 { "bgu",	0x38800000, 0xc1400000, ",al", 1 },
421 { "bgu",	0x18800000, 0xc1400000, "l", 1 },
422 { "bleu",	0x28800000, 0xc1400000, ",al", 1 },
423 { "bleu",	0x08800000, 0xc1400000, "l", 1 },
424 { "bge",	0x36800000, 0xc1400000, ",al", 1 },
425 { "bge",	0x16800000, 0xc1400000, "l", 1 },
426 { "bl",		0x26800000, 0xc1400000, ",al", 1 },
427 { "bl",		0x06800000, 0xc1400000, "l", 1 },
428 { "bg",		0x34800000, 0xc1400000, ",al", 1 },
429 { "bg",		0x14800000, 0xc1400000, "l", 1 },
430 { "ble",	0x24800000, 0xc1400000, ",al", 1 },
431 { "ble",	0x04800000, 0xc1400000, "l", 1 },
432 { "be",		0x22800000, 0xc1400000, ",al", 1 },
433 { "be",		0x02800000, 0xc1400000, "l", 1 },
434 { "bz",		0x22800000, 0xc1400000, ",al", 1 },
435 { "bz",		0x02800000, 0xc1400000, "l", 1 },
436 { "bne",	0x32800000, 0xc1400000, ",al", 1 },
437 { "bne",	0x12800000, 0xc1400000, "l", 1 },
438 { "bnz",	0x32800000, 0xc1400000, ",al", 1 },
439 { "bnz",	0x12800000, 0xc1400000, "l", 1 },
440 { "b",		0x30800000, 0xc1400000, ",al", 1 },
441 { "b",		0x10800000, 0xc1400000, "l", 1 },
442 { "ba",		0x30800000, 0xc1400000, ",al", 1 },
443 { "ba",		0x10800000, 0xc1400000, "l", 1 },
444 { "bn", 	0x20800000, 0xc1400000, ",al", 1 },
445 { "bn",		0x00800000, 0xc1400000, "l", 1 },
446 
447 { "jmp",        0x81c00000, 0x7e38201f, "1", 1 }, /* jmpl rs1+%g0,%g0 */
448 { "jmp",        0x81c02000, 0x7e3fc000, "i", 1 }, /* jmpl %g0+i,%g0 */
449 { "jmp",        0x81c00000, 0x7e382000, "1+2", 1 }, /* jmpl rs1+rs2,%g0 */
450 { "jmp",        0x81c02000, 0x7e380000, "1+i", 1 }, /* jmpl rs1+i,%g0 */
451 { "jmp",        0x81c02000, 0x7e380000, "i+1", 1 }, /* jmpl i+rs1,%g0 */
452 
453 { "nop",	0x01000000, 0xfe3fffff, "", 0 }, /* sethi 0, %g0 */
454 
455 { "set",        0x01000000, 0xc0c00000, "Sh,d", 0 },
456 
457 { "sethi",      0x01000000, 0xc0c00000, "h,d", 0 },
458 
459 { "taddcctv",   0x81102000, 0x40e00000, "1,i,d", 0 },
460 { "taddcctv",   0x81100000, 0x40e00000, "1,2,d", 0 },
461 { "taddcc",     0x81002000, 0x40f80000, "1,i,d", 0 },
462 { "taddcc",     0x81000000, 0x40f80000, "1,2,d", 0 },
463 
464 { "tvc",	0x9fd02000, 0x402fc000, "i", 0 }, /* tvc %g0+i */
465 { "tvc",        0x9fd02000, 0x40280000, "1+i", 0 },
466 { "tvc",	0x9fd00000, 0x40282000, "1+2", 0 },
467 { "tvc",        0x9fd00000, 0x4028201f, "1", 0 }, /* tvc rs1+%g0 */
468 { "tpos",	0x9dd02000, 0x402fc000, "i", 0 }, /* tpos %g0+i */
469 { "tpos",	0x9dd02000, 0x40280000, "1+i", 0 },
470 { "tpos",	0x9dd00000, 0x40282000, "1+2", 0 },
471 { "tpos",       0x9dd00000, 0x4028201f, "1", 0 }, /* tpos rs1+%g0 */
472 { "tcc",        0x9bd02000, 0x402fc000, "i", 0 }, /* tcc %g0+i */
473 { "tcc",	0x9bd02000, 0x40280000, "1+i", 0 },
474 { "tcc",	0x9bd00000, 0x40282000, "1+2", 0 },
475 { "tcc",        0x9bd00000, 0x4028201f, "1", 0 }, /* tcc rs1+%g0 */
476 { "tgu",	0x99d02000, 0x402fc000, "i", 0 }, /* tgu %g0+i */
477 { "tgu",	0x99d02000, 0x40280000, "1+i", 0 },
478 { "tgu",	0x99d00000, 0x40282000, "1+2", 0 },
479 { "tgu",        0x99d00000, 0x4028201f, "1", 0 }, /* tgu rs1+%g0 */
480 { "tge",	0x97d02000, 0x402fc000, "i", 0 }, /* tge %g0+i */
481 { "tge",	0x97d02000, 0x40280000, "1+i", 0 },
482 { "tge",	0x97d00000, 0x40282000, "1+2", 0 },
483 { "tge",        0x97d00000, 0x4028201f, "1", 0 }, /* tge rs1+%g0 */
484 { "tg",		0x95d02000, 0x402fc000, "i", 0 }, /* tg %g0+i */
485 { "tg",		0x95d02000, 0x40280000, "1+i", 0 },
486 { "tg",		0x95d00000, 0x40282000, "1+2", 0 },
487 { "tg",         0x95d00000, 0x4028201f, "1", 0 }, /* tg rs1+%g0 */
488 { "tne",        0x93d02000, 0x402fc000, "i", 0 }, /* tne %g0+i */
489 { "tne",	0x93d02000, 0x40280000, "1+i", 0 },
490 { "tne",	0x93d00000, 0x40282000, "1+2", 0 },
491 { "tne",        0x93d00000, 0x4028201f, "1", 0 }, /* tne rs1+%g0 */
492 { "tnz",        0x93d02000, 0x402fc000, "i", 0 }, /* tne %g0+i */
493 { "tnz",	0x93d02000, 0x40280000, "1+i", 0 },
494 { "tnz",	0x93d00000, 0x40282000, "1+2", 0 },
495 { "tnz",        0x93d00000, 0x4028201f, "1", 0 }, /* tne rs1+%g0 */
496 { "tleu",       0x8bd02000, 0x502fc000, "i", 0 }, /* tleu %g0+i */
497 { "tleu",	0x8bd02000, 0x50280000, "1+i", 0 },
498 { "tleu",	0x8bd00000, 0x50282000, "1+2", 0 },
499 { "tleu",       0x8bd00000, 0x5028201f, "1", 0 }, /* tleu rs1+%g0 */
500 { "ta",	        0x91d02000, 0x402fc000, "i", 0 }, /* ta %g0+i */
501 { "ta",		0x91d02000, 0x402d0000, "1+i", 0 },
502 { "ta",		0x91d00000, 0x40282000, "1+2", 0 },
503 { "ta",         0x91d00000, 0x4028201f, "1", 0 }, /* ta rs1+%g0 */
504 { "t",	        0x91d02000, 0x402fc000, "i", 0 }, /* ta %g0+i */
505 { "t",		0x91d02000, 0x402d0000, "1+i", 0 },
506 { "t",		0x91d00000, 0x40282000, "1+2", 0 },
507 { "t",		0x91d00000, 0x4028201f, "1", 0 }, /* ta rs1+%g0 */
508 { "tvs",	0x8fd02000, 0x502fc000, "i", 0 }, /* tvs %g0+i */
509 { "tvs",	0x8fd02000, 0x50280000, "1+i", 0 },
510 { "tvs",	0x8fd00000, 0x50282000, "1+2", 0 },
511 { "tvs",        0x8fd00000, 0x5028201f, "1", 0 }, /* tvs rs1+%g0 */
512 { "tneg",	0x8dd02000, 0x502fc000, "i", 0 }, /* tneg %g0+i */
513 { "tneg",	0x8dd02000, 0x50280000, "1+i", 0 },
514 { "tneg",	0x8dd00000, 0x50282000, "1+2", 0 },
515 { "tneg",	0x8dd00000, 0x5028201f, "1", 0 }, /* tneg rs1+%g0 */
516 { "tcs",        0x8bd02000, 0x502fc000, "i", 0 }, /* tcs %g0+i */
517 { "tcs",	0x8bd02000, 0x50280000, "1+i", 0 },
518 { "tcs",	0x8bd00000, 0x50282000, "1+2", 0 },
519 { "tcs",	0x8bd00000, 0x5028201f, "1", 0 }, /* tcs rs1+%g0 */
520 { "tl",		0x87d02000, 0x502fc000, "i", 0 }, /* tl %g0+i */
521 { "tl",		0x87d02000, 0x50280000, "1+i", 0 },
522 { "tl",		0x87d00000, 0x50282000, "1+2", 0 },
523 { "tl",		0x87d00000, 0x5028201f, "1", 0 }, /* tl rs1+%g0 */
524 { "tle",	0x85d02000, 0x502fc000, "i", 0 }, /* tle %g0+i */
525 { "tle",	0x85d02000, 0x50280000, "1+i", 0 },
526 { "tle",	0x85d00000, 0x50282000, "1+2", 0 },
527 { "tle",	0x85d00000, 0x5028201f, "1", 0 }, /* tle rs1+%g0 */
528 { "te",	        0x83d02000, 0x502fc000, "i", 0 }, /* te %g0+i */
529 { "te",		0x83d02000, 0x50280000, "1+i", 0 },
530 { "te",		0x83d00000, 0x50282000, "1+2", 0 },
531 { "te",         0x83d00000, 0x5028201f, "1", 0 }, /* te rs1+%g0 */
532 { "tz",	        0x83d02000, 0x502fc000, "i", 0 }, /* te %g0+i */
533 { "tz",		0x83d02000, 0x50280000, "1+i", 0 },
534 { "tz",		0x83d00000, 0x50282000, "1+2", 0 },
535 { "tz",         0x83d00000, 0x5028201f, "1", 0 }, /* te rs1+%g0 */
536 { "tn",		0x81d02000, 0x502fc000, "i", 0 }, /* tn %g0+i */
537 { "tn",	        0x81d02000, 0x50280000, "1+i", 0 },
538 { "tn",		0x81d00000, 0x50282000, "1+2", 0 },
539 { "tn",         0x81d00000, 0x5028201f, "1", 0 }, /* tn rs1+%g0 */
540 
541 { "tsubcc",     0x81080000, 0x40f00000, "1,2,d", 0 },
542 { "tsubcc",     0x81082000, 0x40f00000, "1,i,d", 0 },
543 { "tsubcctv",   0x80580000, 0x40a00000, "1,2,d", 0 },
544 { "tsubcctv",   0x80582000, 0x40a00000, "1,i,d", 0 },
545 
546 { "unimp",      0x00000000, 0x00000000, "l", 0 },
547 
548 { "iflush",     0x81d80000, 0x40202000, "1+2", 0 },
549 { "iflush",     0x81d82000, 0x40200000, "1+i", 0 },
550 
551 { "xnorcc",     0x80b80000, 0x41400000, "1,2,d", 0 },
552 { "xnorcc",	0x80b82000, 0x41400000, "1,i,d", 0 },
553 { "xnorcc",	0x80b82000, 0x41400000, "i,1,d", 0 },
554 { "xorcc",      0x80980000, 0x41600000, "1,2,d", 0 },
555 { "xorcc",	0x80982000, 0x41600000, "1,i,d", 0 },
556 { "xorcc",	0x80982000, 0x41600000, "i,1,d", 0 },
557 { "xnor",       0x80380000, 0x41c00000, "1,2,d", 0 },
558 { "xnor",	0x80382000, 0x41c00000, "1,i,d", 0 },
559 { "xnor",	0x80382000, 0x41c00000, "i,1,d", 0 },
560 { "xor",        0x80180000, 0x41e00000, "1,2,d", 0 },
561 { "xor",	0x80182000, 0x41e00000, "1,i,d", 0 },
562 { "xor",	0x80182000, 0x41e00000, "i,1,d", 0 },
563 
564 { "btog",	0x80180000, 0x41e00000, "2,r", 0 },	/* xor rsd,rs2,rsd */
565 { "btog",	0x80182000, 0x41e00000, "i,r", 0 },	/* xor rsd,i,rsd */
566 
567 { "not",	0x80380000, 0x41c00000, "1,d", 0 },	/* xnor rs1,%g0,rsd */
568 { "not",	0x80380000, 0x41c00000, "r", 0 },	/* xnor rs1,%g0,rsd */
569 
570 { "fpop1",      0x81a00000, 0x40580000, "[1+2],d", 0 },
571 { "fpop2",      0x81a80000, 0x40500000, "[1+2],d", 0 },
572 
573 { "fb",         0x31800000, 0xc0400000, ",al", 1 },
574 { "fb",         0x11800000, 0xc0400000, "l", 1 },
575 { "fba",        0x31800000, 0xc0400000, ",al", 1 },
576 { "fba",        0x11800000, 0xc0400000, "l", 1 },
577 { "fbn",        0x21800000, 0xc0400000, ",al", 1 },
578 { "fbn",        0x01800000, 0xc0400000, "l", 1 },
579 { "fbu",        0x2f800000, 0xc0400000, ",al", 1 },
580 { "fbu",        0x0f800000, 0xc0400000, "l", 1 },
581 { "fbg",        0x2d800000, 0xc0400000, ",al", 1 },
582 { "fbg",        0x0d800000, 0xc0400000, "l", 1 },
583 { "fbug",       0x2b800000, 0xc0400000, ",al", 1 },
584 { "fbug",       0x0b800000, 0xc0400000, "l", 1 },
585 { "fbl",        0x29800000, 0xc0400000, ",al", 1 },
586 { "fbl",        0x09800000, 0xc0400000, "l", 1 },
587 { "fbul",       0x27800000, 0xc0400000, ",al", 1 },
588 { "fbul",       0x07800000, 0xc0400000, "l", 1 },
589 { "fblg",       0x25800000, 0xc0400000, ",al", 1 },
590 { "fblg",       0x05800000, 0xc0400000, "l", 1 },
591 { "fbne",       0x23800000, 0xc0400000, ",al", 1 },
592 { "fbne",       0x03800000, 0xc0400000, "l", 1 },
593 { "fbe",        0x33800000, 0xc0400000, ",al", 1 },
594 { "fbe",        0x13800000, 0xc0400000, "l", 1 },
595 { "fbue",       0x35800000, 0xc0400000, ",al", 1 },
596 { "fbue",       0x15800000, 0xc0400000, "l", 1 },
597 { "fbge",       0x37800000, 0xc0400000, ",al", 1 },
598 { "fbge",       0x17800000, 0xc0400000, "l", 1 },
599 { "fbuge",      0x39800000, 0xc0400000, ",al", 1 },
600 { "fbuge",      0x19800000, 0xc0400000, "l", 1 },
601 { "fble",       0x3b800000, 0xc0400000, ",al", 1 },
602 { "fble",       0x1b800000, 0xc0400000, "l", 1 },
603 { "fbule",      0x3d800000, 0xc0400000, ",al", 1 },
604 { "fbule",      0x1d800000, 0xc0400000, "l", 1 },
605 { "fbo",        0x3f800000, 0xc0400000, ",al", 1 },
606 { "fbo",        0x1f800000, 0xc0400000, "l", 1 },
607 
608 { "cba",        0x31c00000, 0xce000000, ",al", 1 },
609 { "cba",        0x11c00000, 0xce000000, "l", 1 },
610 { "cbn",        0x21c00000, 0xde000000, ",al", 1 },
611 { "cbn",        0x01c00000, 0xde000000, "l", 1 },
612 { "cb3",        0x2fc00000, 0xc0000000, ",al", 1 },
613 { "cb3",        0x0fc00000, 0xc0000000, "l", 1 },
614 { "cb2",        0x2dc00000, 0xc0000000, ",al", 1 },
615 { "cb2",        0x0dc00000, 0xc0000000, "l", 1 },
616 { "cb23",       0x2bc00000, 0xc0000000, ",al", 1 },
617 { "cb23",       0x0bc00000, 0xc0000000, "l", 1 },
618 { "cb1",        0x29c00000, 0xc0000000, ",al", 1 },
619 { "cb1",        0x09c00000, 0xc0000000, "l", 1 },
620 { "cb13",       0x27c00000, 0xc0000000, ",al", 1 },
621 { "cb13",       0x07c00000, 0xc0000000, "l", 1 },
622 { "cb12",       0x25c00000, 0xc0000000, ",al", 1 },
623 { "cb12",       0x05c00000, 0xc0000000, "l", 1 },
624 { "cb123",      0x23c00000, 0xc0000000, ",al", 1 },
625 { "cb123",      0x03c00000, 0xc0000000, "l", 1 },
626 { "cb0",        0x33c00000, 0xc0000000, ",al", 1 },
627 { "cb0",        0x13c00000, 0xc0000000, "l", 1 },
628 { "cb03",       0x35c00000, 0xc0000000, ",al", 1 },
629 { "cb03",       0x15c00000, 0xc0000000, "l", 1 },
630 { "cb02",       0x37c00000, 0xc0000000, ",al", 1 },
631 { "cb02",       0x17c00000, 0xc0000000, "l", 1 },
632 { "cb023",      0x39c00000, 0xc0000000, ",al", 1 },
633 { "cb023",      0x19c00000, 0xc0000000, "l", 1 },
634 { "cb013",      0x3dc00000, 0xc0000000, ",al", 1 },
635 { "cb013",      0x1dc00000, 0xc0000000, "l", 1 },
636 { "cb012",      0x3fc00000, 0xc0000000, ",al", 1 },
637 { "cb012",      0x1fc00000, 0xc0000000, "l", 1 },
638 
639 { "fstoi",      0x81a01a20, 0x400025c0, "f,g", 0 },
640 { "fdtoi",      0x81a01a40, 0x400025a0, "f,g", 0 },
641 { "fxtoi",      0x81a01a60, 0x40002580, "f,g", 0 },
642 
643 { "fitox",      0x81a01980, 0x40002660, "f,g", 0 },
644 { "fitod",      0x81a01900, 0x400026e0, "f,g", 0 },
645 { "fitos",      0x81a01880, 0x40002660, "f,g", 0 },
646 
647 { "fstod",      0x81a01920, 0x400026c0, "f,g", 0 },
648 { "fstox",      0x81a019a0, 0x40002640, "f,g", 0 },
649 { "fdtos",      0x81a018c0, 0x40002720, "f,g", 0 },
650 { "fdtox",      0x81a019c0, 0x40002620, "f,g", 0 },
651 { "fxtos",      0x81a018e0, 0x40002700, "f,g", 0 },
652 { "fxtod",      0x81a01960, 0x40002680, "f,g", 0 },
653 
654 { "fdivx",      0x81a009e0, 0x40083600, "e,f,g", 0 },
655 { "fdivd",      0x81a009c0, 0x40003620, "e,f,g", 0 },
656 { "fdivs",      0x81a009a0, 0x40003640, "e,f,g", 0 },
657 { "fmuls",      0x81a00920, 0x400036c0, "e,f,g", 0 },
658 { "fmuld",      0x81a00940, 0x400036a0, "e,f,g", 0 },
659 { "fmulx",      0x81a00960, 0x40003680, "e,f,g", 0 },
660 
661 { "fsqrts",     0x81a00520, 0x40003ac0, "f,g", 0 },
662 { "fsqrtd",     0x81a00540, 0x40003aa8, "f,g", 0 },
663 { "fsqrtx",     0x81a00560, 0x40003a80, "f,g", 0 },
664 
665 { "fabss",      0x81a00120, 0x40003ec0, "f,g", 0 },
666 { "fnegs",      0x81a000a0, 0x40003f40, "f,g", 0 },
667 { "fmovs",      0x81a00020, 0x40003fc0, "f,g", 0 },
668 
669 { "fsubx",      0x81a008e0, 0x40003700, "e,f,g", 0 },
670 { "fsubd",      0x81a008c0, 0x40003720, "e,f,g", 0 },
671 { "fsubs",      0x81a008a0, 0x40003740, "e,f,g", 0 },
672 { "faddx",      0x81a00860, 0x40003780, "e,f,g", 0 },
673 { "faddd",      0x81a00840, 0x400037a0, "e,f,g", 0 },
674 { "fadds",      0x81a00820, 0x400037c0, "e,f,g", 0 },
675 
676 { "fcmpex",     0x81a80ae0, 0x40003500, "e,f", 0 },
677 { "fcmped",     0x81a80ac0, 0x40003520, "e,f", 0 },
678 { "fcmpes",     0x81a80aa0, 0x40003540, "e,f", 0 },
679 { "fcmpx",      0x81a80a60, 0x40003580, "e,f", 0 },
680 { "fcmpd",      0x81a80a40, 0x400035a0, "e,f", 0 },
681 { "fcmps",      0x81a80a20, 0x400035c0, "e,f", 0 },
682 
683 { "cpop1",      0x81b00000, 0x40480000, "[1+2],d", 0 },
684 { "cpop2",      0x81b80000, 0x40400000, "[1+2],d", 0 },
685 };
686 
687 #define NUMOPCODES ((sizeof sparc_opcodes)/(sizeof sparc_opcodes[0]))
688 
689