diff options
author | K. Richard Pixley <rich@cygnus> | 1991-05-23 03:49:53 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-05-23 03:49:53 +0000 |
commit | d19d9ce0675b67ea2b5300533a2d966d860ad397 (patch) | |
tree | ad5b952c7f8a0bdf599cecec641dee753126127e | |
parent | 320484bfc84dc2e3b39b0cddb5fea6329454be29 (diff) | |
download | gdb-d19d9ce0675b67ea2b5300533a2d966d860ad397.zip gdb-d19d9ce0675b67ea2b5300533a2d966d860ad397.tar.gz gdb-d19d9ce0675b67ea2b5300533a2d966d860ad397.tar.bz2 |
Macro'd everything, tightened masks.
-rwxr-xr-x | include/sparc-opcode.h | 1646 |
1 files changed, 809 insertions, 837 deletions
diff --git a/include/sparc-opcode.h b/include/sparc-opcode.h index af5ed12..8adae48 100755 --- a/include/sparc-opcode.h +++ b/include/sparc-opcode.h @@ -122,11 +122,21 @@ Kinds of operands: #define F3I(x) (((x)&0x1) << 13) /* immediate field of format 3 insns */ #define F2(x, y) (OP(x) | OP2(y)) /* format 2 insns */ #define F3(x, y, z) (OP(x) | OP3(y) | F3I(z)) /* format 3 insns */ +#define F1(x) (OP(x)) +#define DISP30(x) ((x)&0x3fffffff) #define ASI(x) (((x)&0xff) << 5) /* asi field of format 3 insns */ #define RS2(x) ((x)&0x1f) /* rs2 field */ #define SIMM13(x) ((x)&0x1fff) /* simm13 field */ #define RD(x) (((x)&0x1f) << 25) /* destination register field */ #define RS1(x) (((x)&0x1f) << 14) /* rs1 field */ +#define ASI_RS2(x) (SIMM13(x)) + +#define ANNUL (1<<29) +#define BPRED (1<<21) /* v9 */ +#define IMMED F3I(1) +#define RD_G0 RD(~0) +#define RS1_G0 RS1(~0) +#define RS2_G0 RS2(~0) #define COND(x) (((x)&0xf) << 25) @@ -154,580 +164,609 @@ Kinds of operands: static const struct sparc_opcode sparc_opcodes[] = { -{ "ld", 0xc0000000, 0x01f82000, "[1+2],d", 0, v6 }, -{ "ld", 0xc0000000, 0x01f8201f, "[1],d", 0, v6 }, /* ld [rs1+%g0],d */ -{ "ld", 0xc0002000, 0x01f80000, "[1+i],d", 0, v6 }, -{ "ld", 0xc0002000, 0x01f80000, "[i+1],d", 0, v6 }, -{ "ld", 0xc0002000, 0x01f81fff, "[1],d", 0, v6 }, /* ld [rs1+0],d */ -{ "ld", 0xc1000000, 0x00f82000, "[1+2],g", 0, v6 }, -{ "ld", 0xc1000000, 0x00f8201f, "[1],g", 0, v6 }, /* ld [rs1+%g0],d */ -{ "ld", 0xc1002000, 0x00f80000, "[1+i],g", 0, v6 }, -{ "ld", 0xc1002000, 0x00f80000, "[i+1],g", 0, v6 }, -{ "ld", 0xc1002000, 0x00f81fff, "[1],g", 0, v6 }, /* ld [rs1+0],d */ -{ "ld", 0xc1080000, 0x00f02000, "[1+2],F", 0, v6 }, -{ "ld", 0xc1080000, 0x00f0201f, "[1],F", 0, v6 }, /* ld [rs1+%g0],d */ -{ "ld", 0xc1082000, 0x00f00000, "[1+i],F", 0, v6 }, -{ "ld", 0xc1082000, 0x00f00000, "[i+1],F", 0, v6 }, -{ "ld", 0xc1082000, 0x00f01fff, "[1],F", 0, v6 }, /* ld [rs1+0],d */ -{ "ld", 0xc1800000, 0x00782000, "[1+2],D", 0, v6 }, -{ "ld", 0xc1800000, 0x0078201f, "[1],D", 0, v6 }, /* ld [rs1+%g0],d */ -{ "ld", 0xc1802000, 0x00780000, "[1+i],D", 0, v6 }, -{ "ld", 0xc1802000, 0x00780000, "[i+1],D", 0, v6 }, -{ "ld", 0xc1802000, 0x00781fff, "[1],D", 0, v6 }, /* ld [rs1+0],d */ -{ "ld", 0xc1880000, 0x00702000, "[1+2],C", 0, v6 }, -{ "ld", 0xc1880000, 0x0070201f, "[1],C", 0, v6 }, /* ld [rs1+%g0],d */ -{ "ld", 0xc1882000, 0x00700000, "[1+i],C", 0, v6 }, -{ "ld", 0xc1882000, 0x00700000, "[i+1],C", 0, v6 }, -{ "ld", 0xc1882000, 0x00701fff, "[1],C", 0, v6 }, /* ld [rs1+0],d */ - -{ "lduw", 0xc0000000, 0x01f82000, "[1+2],d", F_ALIAS, v9 }, /* lduw === ld */ -{ "lduw", 0xc0000000, 0x01f8201f, "[1],d", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ -{ "lduw", 0xc0002000, 0x01f80000, "[1+i],d", F_ALIAS, v9 }, -{ "lduw", 0xc0002000, 0x01f80000, "[i+1],d", F_ALIAS, v9 }, -{ "lduw", 0xc0002000, 0x01f81fff, "[1],d", F_ALIAS, v9 }, /* ld [rs1+0],d */ -{ "lduw", 0xc1000000, 0x00f82000, "[1+2],g", F_ALIAS, v9 }, -{ "lduw", 0xc1000000, 0x00f8201f, "[1],g", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ -{ "lduw", 0xc1002000, 0x00f80000, "[1+i],g", F_ALIAS, v9 }, -{ "lduw", 0xc1002000, 0x00f80000, "[i+1],g", F_ALIAS, v9 }, -{ "lduw", 0xc1002000, 0x00f81fff, "[1],g", F_ALIAS, v9 }, /* ld [rs1+0],d */ -{ "lduw", 0xc1080000, 0x00f02000, "[1+2],F", F_ALIAS, v9 }, -{ "lduw", 0xc1080000, 0x00f0201f, "[1],F", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ -{ "lduw", 0xc1082000, 0x00f00000, "[1+i],F", F_ALIAS, v9 }, -{ "lduw", 0xc1082000, 0x00f00000, "[i+1],F", F_ALIAS, v9 }, -{ "lduw", 0xc1082000, 0x00f01fff, "[1],F", F_ALIAS, v9 }, /* ld [rs1+0],d */ -{ "lduw", 0xc1800000, 0x00782000, "[1+2],D", F_ALIAS, v9 }, -{ "lduw", 0xc1800000, 0x0078201f, "[1],D", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ -{ "lduw", 0xc1802000, 0x00780000, "[1+i],D", F_ALIAS, v9 }, -{ "lduw", 0xc1802000, 0x00780000, "[i+1],D", F_ALIAS, v9 }, -{ "lduw", 0xc1802000, 0x00781fff, "[1],D", F_ALIAS, v9 }, /* ld [rs1+0],d */ -{ "lduw", 0xc1880000, 0x00702000, "[1+2],C", F_ALIAS, v9 }, -{ "lduw", 0xc1880000, 0x0070201f, "[1],C", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ -{ "lduw", 0xc1882000, 0x00700000, "[1+i],C", F_ALIAS, v9 }, -{ "lduw", 0xc1882000, 0x00700000, "[i+1],C", F_ALIAS, v9 }, -{ "lduw", 0xc1882000, 0x00701fff, "[1],C", F_ALIAS, v9 }, /* ld [rs1+0],d */ - -{ "lda", 0xc0800000, 0x01782000, "[1+2]A,d", 0, v6 }, -{ "lda", 0xc0800000, 0x0178201f, "[1]A,d", 0, v6 }, /* lda [rs1+%g0],d */ - -{ "lduwa", 0xc0800000, 0x01782000, "[1+2]A,d", F_ALIAS, v9 }, /* lduwa === lda */ -{ "lduwa", 0xc0800000, 0x0178201f, "[1]A,d", F_ALIAS, v9 }, /* lda [rs1+%g0],d */ - -{ "ldd", 0xc0180000, 0x01e02000, "[1+2],d", 0, v6 }, -{ "ldd", 0xc0180000, 0x01e0201f, "[1],d", 0, v6 }, /* ldd [rs1+%g0],d */ -{ "ldd", 0xc0182000, 0x01e00000, "[1+i],d", 0, v6 }, -{ "ldd", 0xc0182000, 0x01e00000, "[i+1],d", 0, v6 }, -{ "ldd", 0xc0182000, 0x01e01fff, "[1],d", 0, v6 }, /* ldd [rs1+0],d */ -{ "ldd", 0xc1180000, 0x00e02000, "[1+2],g", 0, v6 }, -{ "ldd", 0xc1180000, 0x00e0201f, "[1],g", 0, v6 }, /* ldd [rs1+%g0],d */ -{ "ldd", 0xc1182000, 0x00e00000, "[1+i],g", 0, v6 }, -{ "ldd", 0xc1182000, 0x00e00000, "[i+1],g", 0, v6 }, -{ "ldd", 0xc1182000, 0x00e01fff, "[1],g", 0, v6 }, /* ldd [rs1+0],d */ -{ "ldd", 0xc1980000, 0x00602000, "[1+2],D", 0, v6 }, -{ "ldd", 0xc1980000, 0x0060201f, "[1],D", 0, v6 }, /* ldd [rs1+%g0],d */ -{ "ldd", 0xc1982000, 0x00600000, "[1+i],D", 0, v6 }, -{ "ldd", 0xc1982000, 0x00600000, "[i+1],D", 0, v6 }, -{ "ldd", 0xc1982000, 0x00601fff, "[1],D", 0, v6 }, /* ldd [rs1+0],d */ -{ "ldda", 0xc0980000, 0x01602000, "[1+2]A,d", 0, v6 }, -{ "ldda", 0xc0980000, 0x0160201f, "[1]A,d", 0, v6 }, /* ldda [rs1+%g0],d */ -{ "ldsb", 0xc0480000, 0x01b02000, "[1+2],d", 0, v6 }, -{ "ldsb", 0xc0480000, 0x01b0201f, "[1],d", 0, v6 }, /* ldsb [rs1+%g0],d */ -{ "ldsb", 0xc0482000, 0x01b00000, "[1+i],d", 0, v6 }, -{ "ldsb", 0xc0482000, 0x01b00000, "[i+1],d", 0, v6 }, -{ "ldsb", 0xc0482000, 0x01b01fff, "[1],d", 0, v6 }, /* ldsb [rs1+0],d */ -{ "ldsba", 0xc0c80000, 0x01302000, "[1+2]A,d", 0, v6 }, -{ "ldsba", 0xc0c80000, 0x0130201f, "[1]A,d", 0, v6 }, /* ldsba [rs1+%g0],d */ -{ "ldsh", 0xc0500000, 0x0000000d, "[1],d", 0, v6 }, /* ldsh [rs1+%g0],d */ -{ "ldsh", 0xc0500000, 0x01a82000, "[1+2],d", 0, v6 }, -{ "ldsh", 0xc0502000, 0x01a80000, "[1+i],d", 0, v6 }, -{ "ldsh", 0xc0502000, 0x01a80000, "[i+1],d", 0, v6 }, -{ "ldsh", 0xc0502000, 0x01a81fff, "[1],d", 0, v6 }, /* ldsh [rs1+0],d */ -{ "ldsha", 0xc0d00000, 0x01282000, "[1+2]A,d", 0, v6 }, -{ "ldsha", 0xc0d00000, 0x0128201f, "[1]A,d", 0, v6 }, /* ldsha [rs1+%g0],d */ -{ "ldstub", 0xc0680000, 0x01902000, "[1+2],d", 0, v6 }, -{ "ldstub", 0xc0680000, 0x0190201f, "[1],d", 0, v6 }, /* ldstub [rs1+%g0],d */ -{ "ldstub", 0xc0682000, 0x01900000, "[1+i],d", 0, v6 }, -{ "ldstub", 0xc0682000, 0x01900000, "[i+1],d", 0, v6 }, -{ "ldstuba", 0xc0d80000, 0x01002000, "[1+2]A,d", 0, v6 }, -{ "ldstuba", 0xc0d80000, 0x0100201f, "[1]A,d", 0, v6 }, /* ldstuba [rs1+%g0],d */ -{ "ldsw", 0xc0400000, 0x01b12000, "[1+2],d", 0, v9 }, -{ "ldsw", 0xc0400000, 0x01b1201f, "[1],d", 0, v9 }, /* ldsw [rs1+%g0],d */ -{ "ldsw", 0xc0402000, 0x01b10000, "[1+i],d", 0, v9 }, -{ "ldsw", 0xc0402000, 0x01b10000, "[i+1],d", 0, v9 }, -{ "ldsw", 0xc0402000, 0x01b11fff, "[1],d", 0, v9 }, /* ldsw [rs1+0],d */ -{ "ldub", 0xc0080000, 0x01f02000, "[1+2],d", 0, v6 }, -{ "ldub", 0xc0080000, 0x01f0201f, "[1],d", 0, v6 }, /* ldub [rs1+%g0],d */ -{ "ldub", 0xc0082000, 0x01f00000, "[1+i],d", 0, v6 }, -{ "ldub", 0xc0082000, 0x01f00000, "[i+1],d", 0, v6 }, -{ "ldub", 0xc0082000, 0x01f01fff, "[1],d", 0, v6 }, /* ldub [rs1+0],d */ -{ "lduba", 0xc0880000, 0x01702000, "[1+2]A,d", 0, v6 }, -{ "lduba", 0xc0880000, 0x0170201f, "[1]A,d", 0, v6 }, /* lduba [rs1+%g0],d */ -{ "lduh", 0xc0100000, 0x01e82000, "[1+2],d", 0, v6 }, -{ "lduh", 0xc0100000, 0x01e8201f, "[1],d", 0, v6 }, /* lduh [rs1+%g0],d */ -{ "lduh", 0xc0102000, 0x01e80000, "[1+i],d", 0, v6 }, -{ "lduh", 0xc0102000, 0x01e80000, "[i+1],d", 0, v6 }, -{ "lduh", 0xc0102000, 0x01e81fff, "[1],d", 0, v6 }, /* lduh [rs1+0],d */ -{ "lduha", 0xc0900000, 0x01682000, "[1+2]A,d", 0, v6 }, -{ "lduha", 0xc0900000, 0x0168201f, "[1]A,d", 0, v6 }, /* lduha [rs1+%g0],d */ -{ "ldx", 0xc0580000, 0x01a12000, "[1+2],d", 0, v9 }, -{ "ldx", 0xc0580000, 0x01a1201f, "[1],d", 0, v9 }, /* ldx [rs1+%g0],d */ -{ "ldx", 0xc0582000, 0x01a10000, "[1+i],d", 0, v9 }, -{ "ldx", 0xc0582000, 0x01a10000, "[i+1],d", 0, v9 }, -{ "ldx", 0xc0582000, 0x01a11fff, "[1],d", 0, v9 }, /* ldx [rs1+0],d */ -{ "ldxpc", 0xc0600000, 0x01912000, "[1+2],d", 0, v9 }, -{ "ldxpc", 0xc0600000, 0x0191201f, "[1],d", 0, v9 }, /* ldxpc [rs1+%g0],d */ -{ "ldxpc", 0xc0602000, 0x01910000, "[1+i],d", 0, v9 }, -{ "ldxpc", 0xc0602000, 0x01910000, "[i+1],d", 0, v9 }, -{ "ldxpc", 0xc0602000, 0x01911fff, "[1],d", 0, v9 }, /* ldxpc [rs1+0],d */ - -{ "st", 0xc0200000, 0x01d82000, "d,[1+2]", 0, v6 }, -{ "st", 0xc0200000, 0x01d8201f, "d,[1]", 0, v6 }, /* st d,[rs1+%g0] */ -{ "st", 0xc0202000, 0x01d80000, "d,[1+i]", 0, v6 }, -{ "st", 0xc0202000, 0x01d80000, "d,[i+1]", 0, v6 }, -{ "st", 0xc0202000, 0x01d81fff, "d,[1]", 0, v6 }, /* st d,[rs1+0] */ -{ "st", 0xc1200000, 0x00d82000, "g,[1+2]", 0, v6 }, -{ "st", 0xc1200000, 0x00d8201f, "g,[1]", 0, v6 }, /* st d[rs1+%g0] */ -{ "st", 0xc1202000, 0x00d80000, "g,[1+i]", 0, v6 }, -{ "st", 0xc1202000, 0x00d80000, "g,[i+1]", 0, v6 }, -{ "st", 0xc1202000, 0x00d81fff, "g,[1]", 0, v6 }, /* st d,[rs1+0] */ -{ "st", 0xc1a00000, 0x00582000, "D,[1+2]", 0, v6 }, -{ "st", 0xc1a00000, 0x0058201f, "D,[1]", 0, v6 }, /* st d,[rs1+%g0] */ -{ "st", 0xc1a02000, 0x00580000, "D,[1+i]", 0, v6 }, -{ "st", 0xc1a02000, 0x00580000, "D,[i+1]", 0, v6 }, -{ "st", 0xc1a02000, 0x00581fff, "D,[1]", 0, v6 }, /* st d,[rs1+0] */ -{ "st", 0xc1a80000, 0x00502000, "C,[1+2]", 0, v6 }, -{ "st", 0xc1a80000, 0x0050201f, "C,[1]", 0, v6 }, /* st d,[rs1+%g0] */ -{ "st", 0xc1a82000, 0x00500000, "C,[1+i]", 0, v6 }, -{ "st", 0xc1a82000, 0x00500000, "C,[i+1]", 0, v6 }, -{ "st", 0xc1a82000, 0x00501fff, "C,[1]", 0, v6 }, /* st d,[rs1+0] */ -{ "st", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0), "F,[1+2]", 0, v6 }, -{ "st", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0)|RS2(~0), "F,[1]", 0, v6 }, /* st d,[rs1+%g0] */ -{ "st", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[1+i]", 0, v6 }, -{ "st", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[i+1]", 0, v6 }, -{ "st", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|SIMM13(~0), "F,[1]", 0, v6 }, /* st d,[rs1+0] */ - -{ "stw", 0xc0200000, 0x01d82000, "d,[1+2]", F_ALIAS, v9 }, /* stw === st */ -{ "stw", 0xc0200000, 0x01d8201f, "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stw", 0xc0202000, 0x01d80000, "d,[1+i]", F_ALIAS, v9 }, -{ "stw", 0xc0202000, 0x01d80000, "d,[i+1]", F_ALIAS, v9 }, -{ "stw", 0xc0202000, 0x01d81fff, "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stw", 0xc1200000, 0x00d82000, "g,[1+2]", F_ALIAS, v9 }, -{ "stw", 0xc1200000, 0x00d8201f, "g,[1]", F_ALIAS, v9 }, /* st d[rs1+%g0] */ -{ "stw", 0xc1202000, 0x00d80000, "g,[1+i]", F_ALIAS, v9 }, -{ "stw", 0xc1202000, 0x00d80000, "g,[i+1]", F_ALIAS, v9 }, -{ "stw", 0xc1202000, 0x00d81fff, "g,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stw", 0xc1a00000, 0x00582000, "D,[1+2]", F_ALIAS, v9 }, -{ "stw", 0xc1a00000, 0x0058201f, "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stw", 0xc1a02000, 0x00580000, "D,[1+i]", F_ALIAS, v9 }, -{ "stw", 0xc1a02000, 0x00580000, "D,[i+1]", F_ALIAS, v9 }, -{ "stw", 0xc1a02000, 0x00581fff, "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stw", 0xc1a80000, 0x00502000, "C,[1+2]", F_ALIAS, v9 }, -{ "stw", 0xc1a80000, 0x0050201f, "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stw", 0xc1a82000, 0x00500000, "C,[1+i]", F_ALIAS, v9 }, -{ "stw", 0xc1a82000, 0x00500000, "C,[i+1]", F_ALIAS, v9 }, -{ "stw", 0xc1a82000, 0x00501fff, "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stw", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0), "F,[1+2]", F_ALIAS, v9 }, -{ "stw", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0)|RS2(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[1+i]", F_ALIAS, v9 }, -{ "stw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[i+1]", F_ALIAS, v9 }, -{ "stw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|SIMM13(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ - -{ "stuw", 0xc0200000, 0x01d82000, "d,[1+2]", F_ALIAS, v9 }, /* stuw === st */ -{ "stuw", 0xc0200000, 0x01d8201f, "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stuw", 0xc0202000, 0x01d80000, "d,[1+i]", F_ALIAS, v9 }, -{ "stuw", 0xc0202000, 0x01d80000, "d,[i+1]", F_ALIAS, v9 }, -{ "stuw", 0xc0202000, 0x01d81fff, "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stuw", 0xc1200000, 0x00d82000, "g,[1+2]", F_ALIAS, v9 }, -{ "stuw", 0xc1200000, 0x00d8201f, "g,[1]", F_ALIAS, v9 }, /* st d[rs1+%g0] */ -{ "stuw", 0xc1202000, 0x00d80000, "g,[1+i]", F_ALIAS, v9 }, -{ "stuw", 0xc1202000, 0x00d80000, "g,[i+1]", F_ALIAS, v9 }, -{ "stuw", 0xc1202000, 0x00d81fff, "g,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stuw", 0xc1a00000, 0x00582000, "D,[1+2]", F_ALIAS, v9 }, -{ "stuw", 0xc1a00000, 0x0058201f, "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stuw", 0xc1a02000, 0x00580000, "D,[1+i]", F_ALIAS, v9 }, -{ "stuw", 0xc1a02000, 0x00580000, "D,[i+1]", F_ALIAS, v9 }, -{ "stuw", 0xc1a02000, 0x00581fff, "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stuw", 0xc1a80000, 0x00502000, "C,[1+2]", F_ALIAS, v9 }, -{ "stuw", 0xc1a80000, 0x0050201f, "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stuw", 0xc1a82000, 0x00500000, "C,[1+i]", F_ALIAS, v9 }, -{ "stuw", 0xc1a82000, 0x00500000, "C,[i+1]", F_ALIAS, v9 }, -{ "stuw", 0xc1a82000, 0x00501fff, "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stuw", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0), "F,[1+2]", F_ALIAS, v9 }, -{ "stuw", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0)|RS2(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stuw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[1+i]", F_ALIAS, v9 }, -{ "stuw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[i+1]", F_ALIAS, v9 }, -{ "stuw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|SIMM13(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ - -{ "stsw", 0xc0200000, 0x01d82000, "d,[1+2]", F_ALIAS, v9 }, /* stsw === st */ -{ "stsw", 0xc0200000, 0x01d8201f, "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stsw", 0xc0202000, 0x01d80000, "d,[1+i]", F_ALIAS, v9 }, -{ "stsw", 0xc0202000, 0x01d80000, "d,[i+1]", F_ALIAS, v9 }, -{ "stsw", 0xc0202000, 0x01d81fff, "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stsw", 0xc1200000, 0x00d82000, "g,[1+2]", F_ALIAS, v9 }, -{ "stsw", 0xc1200000, 0x00d8201f, "g,[1]", F_ALIAS, v9 }, /* st d[rs1+%g0] */ -{ "stsw", 0xc1202000, 0x00d80000, "g,[1+i]", F_ALIAS, v9 }, -{ "stsw", 0xc1202000, 0x00d80000, "g,[i+1]", F_ALIAS, v9 }, -{ "stsw", 0xc1202000, 0x00d81fff, "g,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stsw", 0xc1a00000, 0x00582000, "D,[1+2]", F_ALIAS, v9 }, -{ "stsw", 0xc1a00000, 0x0058201f, "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stsw", 0xc1a02000, 0x00580000, "D,[1+i]", F_ALIAS, v9 }, -{ "stsw", 0xc1a02000, 0x00580000, "D,[i+1]", F_ALIAS, v9 }, -{ "stsw", 0xc1a02000, 0x00581fff, "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stsw", 0xc1a80000, 0x00502000, "C,[1+2]", F_ALIAS, v9 }, -{ "stsw", 0xc1a80000, 0x0050201f, "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stsw", 0xc1a82000, 0x00500000, "C,[1+i]", F_ALIAS, v9 }, -{ "stsw", 0xc1a82000, 0x00500000, "C,[i+1]", F_ALIAS, v9 }, -{ "stsw", 0xc1a82000, 0x00501fff, "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ -{ "stsw", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0), "F,[1+2]", F_ALIAS, v9 }, -{ "stsw", F3(0x3, 0x25, 0), F3(~0x3, ~0x25, ~0)|RD(~0)|ASI(~0)|RS2(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ -{ "stsw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[1+i]", F_ALIAS, v9 }, -{ "stsw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|RD(~0), "F,[i+1]", F_ALIAS, v9 }, -{ "stsw", F3(0x3, 0x25, 1), F3(~0x3, ~0x25, ~1)|SIMM13(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ - -{ "sta", 0xc0a00000, 0x01082000, "d,[1+2]A", 0, v6 }, -{ "sta", 0xc0a00000, 0x0108201f, "d,[1]A", 0, v6 }, /* sta d,[rs1+%g0] */ - -{ "stwa", 0xc0a00000, 0x01082000, "d,[1+2]A", F_ALIAS, v9 }, -{ "stwa", 0xc0a00000, 0x0108201f, "d,[1]A", F_ALIAS, v9 }, /* sta d,[rs1+%g0] */ - -{ "stswa", 0xc0a00000, 0x01082000, "d,[1+2]A", F_ALIAS, v9 }, -{ "stswa", 0xc0a00000, 0x0108201f, "d,[1]A", F_ALIAS, v9 }, /* sta d,[rs1+%g0] */ - -{ "stuwa", 0xc0a00000, 0x01082000, "d,[1+2]A", F_ALIAS, v9 }, -{ "stuwa", 0xc0a00000, 0x0108201f, "d,[1]A", F_ALIAS, v9 }, /* sta d,[rs1+%g0] */ - -{ "stb", 0xc0280000, 0x01d02000, "d,[1+2]", 0, v6 }, -{ "stb", 0xc0280000, 0x01d0201f, "d,[1]", 0, v6 }, /* stb d,[rs1+%g0] */ -{ "stb", 0xc0282000, 0x01d00000, "d,[1+i]", 0, v6 }, -{ "stb", 0xc0282000, 0x01d00000, "d,[i+1]", 0, v6 }, -{ "stb", 0xc0282000, 0x01d01fff, "d,[1]", 0, v6 }, /* stb d,[rs1+0] */ - -{ "stub", 0xc0280000, 0x01d02000, "d,[1+2]", F_ALIAS, v9 }, -{ "stub", 0xc0280000, 0x01d0201f, "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+%g0] */ -{ "stub", 0xc0282000, 0x01d00000, "d,[1+i]", F_ALIAS, v9 }, -{ "stub", 0xc0282000, 0x01d00000, "d,[i+1]", F_ALIAS, v9 }, -{ "stub", 0xc0282000, 0x01d01fff, "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+0] */ - -{ "stsb", 0xc0280000, 0x01d02000, "d,[1+2]", F_ALIAS, v9 }, -{ "stsb", 0xc0280000, 0x01d0201f, "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+%g0] */ -{ "stsb", 0xc0282000, 0x01d00000, "d,[1+i]", F_ALIAS, v9 }, -{ "stsb", 0xc0282000, 0x01d00000, "d,[i+1]", F_ALIAS, v9 }, -{ "stsb", 0xc0282000, 0x01d01fff, "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+0] */ - -{ "stba", 0xc0a80000, 0x01002000, "d,[1+2]A", 0, v6 }, -{ "stba", 0xc0a80000, 0x0100201f, "d,[1]A", 0, v6 }, /* stba d,[rs1+%g0] */ - -{ "stsba", 0xc0a80000, 0x01002000, "d,[1+2]A", F_ALIAS, v9 }, -{ "stsba", 0xc0a80000, 0x0100201f, "d,[1]A", F_ALIAS, v9 }, /* stba d,[rs1+%g0] */ - -{ "stuba", 0xc0a80000, 0x01002000, "d,[1+2]A", F_ALIAS, v9 }, -{ "stuba", 0xc0a80000, 0x0100201f, "d,[1]A", F_ALIAS, v9 }, /* stba d,[rs1+%g0] */ - -{ "std", 0xc0380000, 0x01c02000, "d,[1+2]", 0, v6 }, -{ "std", 0xc0380000, 0x01c0201f, "d,[1]", 0, v6 }, /* std d,[rs1+%g0] */ -{ "std", 0xc0382000, 0x01c00000, "d,[1+i]", 0, v6 }, -{ "std", 0xc0382000, 0x01c00000, "d,[i+1]", 0, v6 }, -{ "std", 0xc0382000, 0x01c01fff, "d,[1]", 0, v6 }, /* std d,[rs1+0] */ -{ "std", 0xc1300000, 0x00c82000, "q,[1+2]", 0, v6 }, -{ "std", 0xc1300000, 0x00c8201f, "q,[1]", 0, v6 }, /* std d,[rs1+%g0] */ -{ "std", 0xc1302000, 0x00c80000, "q,[1+i]", 0, v6 }, -{ "std", 0xc1302000, 0x00c80000, "q,[i+1]", 0, v6 }, -{ "std", 0xc1302000, 0x00c81fff, "q,[1]", 0, v6 }, /* std d,[rs1+0] */ -{ "std", 0xc1380000, 0x00c02000, "g,[1+2]", 0, v6 }, -{ "std", 0xc1380000, 0x00c0201f, "g,[1]", 0, v6 }, /* std d,[rs1+%g0] */ -{ "std", 0xc1382000, 0x00c00000, "g,[1+i]", 0, v6 }, -{ "std", 0xc1382000, 0x00c00000, "g,[i+1]", 0, v6 }, -{ "std", 0xc1382000, 0x00c01fff, "g,[1]", 0, v6 }, /* std d,[rs1+0] */ -{ "std", 0xc1b00000, 0x00482000, "Q,[1+2]", 0, v6 }, -{ "std", 0xc1b00000, 0x0048201f, "Q,[1]", 0, v6 }, /* std d,[rs1+%g0] */ -{ "std", 0xc1b02000, 0x00480000, "Q,[1+i]", 0, v6 }, -{ "std", 0xc1b02000, 0x00480000, "Q,[i+1]", 0, v6 }, -{ "std", 0xc1b02000, 0x00481fff, "Q,[1]", 0, v6 }, /* std d,[rs1+0] */ -{ "std", 0xc1b80000, 0x00402000, "D,[1+2]", 0, v6 }, -{ "std", 0xc1b80000, 0x0040201f, "D,[1]", 0, v6 }, /* std d,[rs1+%g0] */ -{ "std", 0xc1b82000, 0x00400000, "D,[1+i]", 0, v6 }, -{ "std", 0xc1b82000, 0x00400000, "D,[i+1]", 0, v6 }, -{ "std", 0xc1b82000, 0x00401fff, "D,[1]", 0, v6 }, /* std d,[rs1+0] */ - -{ "stda", 0xc0b80000, 0x01402000, "d,[1+2]A", 0, v6 }, -{ "stda", 0xc0b80000, 0x0140201f, "d,[1]A", 0, v6 }, /* stda d,[rs1+%g0] */ - -{ "sth", 0xc0300000, 0x01c82000, "d,[1+2]", 0, v6 }, -{ "sth", 0xc0300000, 0x01c8201f, "d,[1]", 0, v6 }, /* sth d,[rs1+%g0] */ -{ "sth", 0xc0302000, 0x01c80000, "d,[1+i]", 0, v6 }, -{ "sth", 0xc0302000, 0x01c80000, "d,[i+1]", 0, v6 }, -{ "sth", 0xc0302000, 0x01c81fff, "d,[1]", 0, v6 }, /* sth d,[rs1+0] */ - -{ "stsh", 0xc0300000, 0x01c82000, "d,[1+2]", F_ALIAS, v9 }, -{ "stsh", 0xc0300000, 0x01c8201f, "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+%g0] */ -{ "stsh", 0xc0302000, 0x01c80000, "d,[1+i]", F_ALIAS, v9 }, -{ "stsh", 0xc0302000, 0x01c80000, "d,[i+1]", F_ALIAS, v9 }, -{ "stsh", 0xc0302000, 0x01c81fff, "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+0] */ - -{ "stuh", 0xc0300000, 0x01c82000, "d,[1+2]", F_ALIAS, v9 }, -{ "stuh", 0xc0300000, 0x01c8201f, "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+%g0] */ -{ "stuh", 0xc0302000, 0x01c80000, "d,[1+i]", F_ALIAS, v9 }, -{ "stuh", 0xc0302000, 0x01c80000, "d,[i+1]", F_ALIAS, v9 }, -{ "stuh", 0xc0302000, 0x01c81fff, "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+0] */ - -{ "stha", 0xc0b00000, 0x01482000, "d,[1+2]A", 0, v6 }, -{ "stha", 0xc0b00000, 0x0148201f, "d,[1]A", 0, v6 }, /* stha d,[rs1+%g0] */ - -{ "stsha", 0xc0b00000, 0x01482000, "d,[1+2]A", F_ALIAS, v9 }, -{ "stsha", 0xc0b00000, 0x0148201f, "d,[1]A", F_ALIAS, v9 }, /* stha d,[rs1+%g0] */ - -{ "stuha", 0xc0b00000, 0x01482000, "d,[1+2]A", F_ALIAS, v9 }, -{ "stuha", 0xc0b00000, 0x0148201f, "d,[1]A", F_ALIAS, v9 }, /* stha d,[rs1+%g0] */ - -{ "stx", 0xc0d80000, 0x01202000, "d,[1+2]", 0, v9 }, -{ "stx", 0xc0d80000, 0x0120201f, "d,[1]", 0, v9 }, /* stx d,[rs1+%g0] */ -{ "stx", 0xc0d82000, 0x01200000, "d,[1+i]", 0, v9 }, -{ "stx", 0xc0d82000, 0x01200000, "d,[i+1]", 0, v9 }, -{ "stx", 0xc0d82000, 0x01201fff, "d,[1]", 0, v9 }, /* stx d,[rs1+0] */ - -{ "swap", 0xc0780000, 0x01802000, "[1+2],d", 0, v7 }, -{ "swap", 0xc0780000, 0x0180201f, "[1],d", 0, v7 }, /* swap [rs1+%g0],d */ -{ "swap", 0xc0782000, 0x01800000, "[1+i],d", 0, v7 }, -{ "swap", 0xc0782000, 0x01800000, "[i+1],d", 0, v7 }, -{ "swap", 0xc0782000, 0x01801fff, "[1],d", 0, v7 }, /* swap [rs1+0],d */ - -{ "swapa", 0xc0f80000, 0x01002000, "[1+2]A,d", 0, v7 }, -{ "swapa", 0xc0f80000, 0x0100201f, "[1]A,d", 0, v7 }, /* swapa [rs1+%g0],d */ - -{ "restore", 0x81e80000, 0x00000000, "1,2,d", 0, v6 }, -{ "restore", 0x81e80000, 0x7e17e01f, "", 0, v6 }, /* restore %g0,%g0,%g0 */ -{ "restore", 0x81e82000, 0x00000000, "1,i,d", 0, v6 }, -{ "restore", 0x81e82000, 0x7e14dfff, "", 0, v6 }, /* restore %g0,0,%g0 */ - -{ "rett", F3(2, 0x39, 0), F3(~2, ~0x39, ~0)|RD(~0)|ASI(~0), "1+2", F_DELAYED, v6 }, /* rett rs1+rs2 */ -{ "rett", F3(2, 0x39, 0), F3(~2, ~0x39, ~0)|RD(~0)|ASI(~0)|RS2(~0), "1", F_DELAYED, v6 }, /* rett rs1,%g0 */ -{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD(~0), "1+i", F_DELAYED, v6 }, /* rett rs1+X */ -{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD(~0), "i+1", F_DELAYED, v6 }, /* rett X+rs1 */ -{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD(~0)|RS1(~0), "i", F_DELAYED, v6 }, /* rett X */ -{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD(~0)|SIMM13(~0), "1", F_DELAYED, v6 }, /* rett rs1+0 */ - -{ "save", 0x81e00000, 0x40180000, "1,2,d", 0, v6 }, -{ "save", 0x81e02000, 0x40180000, "1,i,d", 0, v6 }, - -{ "ret", 0x81c7e008, 0x00001ff7, "", F_DELAYED, v6 }, /* jmpl %i7+8,%g0 */ -{ "retl", 0x81c3e008, 0x00001ff7, "", F_DELAYED, v6 }, /* jmpl %o7+8,%g0 */ - -{ "jmpl", 0x81c00000, 0x40382000, "1+2,d", F_DELAYED, v6 }, -{ "jmpl", 0x81c00000, 0x4038201f, "1,d", F_DELAYED, v6 }, /* jmpl rs1+%g0,d */ -{ "jmpl", 0x81c02000, 0x4037c000, "i,d", F_DELAYED, v6 }, /* jmpl %g0+i,d */ -{ "jmpl", 0x81c02000, 0x40380000, "1+i,d", F_DELAYED, v6 }, -{ "jmpl", 0x81c02000, 0x40380000, "i+1,d", F_DELAYED, v6 }, - -{ "sll", F3(0x2, 0x25, 0), F3(~0x2, ~0x25, ~0)|ASI(~0), "1,2,d", 0, v6 }, -{ "sll", F3(0x2, 0x25, 1), F3(~0x2, ~0x25, ~1), "1,i,d", 0, v6 }, -{ "sra", F3(0x2, 0x27, 0), F3(~0x2, ~0x27, ~0)|ASI(~0), "1,2,d", 0, v6 }, -{ "sra", F3(0x2, 0x27, 1), F3(~0x2, ~0x27, ~1), "1,i,d", 0, v6 }, -{ "srl", F3(0x2, 0x26, 0), F3(~0x2, ~0x26, ~0)|ASI(~0), "1,2,d", 0, v6 }, -{ "srl", F3(0x2, 0x26, 1), F3(~0x2, ~0x26, ~1), "1,i,d", 0, v6 }, - -{ "sllw", F3(0x2, 0x25, 0), F3(~0x2, ~0x25, ~0)|ASI(~0), "1,2,d", F_ALIAS, v9 }, /* sllw === sll */ -{ "sllw", F3(0x2, 0x25, 1), F3(~0x2, ~0x25, ~1)|ASI(~0), "1,i,d", F_ALIAS, v9 }, -{ "sraw", F3(0x2, 0x27, 0), F3(~0x2, ~0x27, ~0)|ASI(~0), "1,2,d", F_ALIAS, v9 }, /* sraw === sra */ -{ "sraw", F3(0x2, 0x27, 1), F3(~0x2, ~0x27, ~1)|ASI(~0), "1,i,d", F_ALIAS, v9 }, -{ "srlw", F3(0x2, 0x26, 0), F3(~0x2, ~0x26, ~0)|ASI(~0), "1,2,d", F_ALIAS, v9 }, /* srlw === srl */ -{ "srlw", F3(0x2, 0x26, 1), F3(~0x2, ~0x26, ~1)|ASI(~0), "1,i,d", F_ALIAS, v9 }, - -{ "sllx", F3(0x2, 0x2d, 0), F3(~0x2, ~0x2d, ~0)|ASI(~0), "1,2,d", 0, v9 }, -{ "sllx", F3(0x2, 0x2d, 1), F3(~0x2, ~0x2d, ~1)|(0x7f<<6), "1,i,d", 0, v9 }, -{ "srax", F3(0x2, 0x2f, 0), F3(~0x2, ~0x2f, ~0)|ASI(~0), "1,2,d", 0, v9 }, -{ "srax", F3(0x2, 0x2f, 1), F3(~0x2, ~0x2f, ~1)|(0x7f<<6), "1,i,d", 0, v9 }, -{ "srlx", F3(0x2, 0x2e, 0), F3(~0x2, ~0x2e, ~0)|ASI(~0), "1,2,d", 0, v9 }, -{ "srlx", F3(0x2, 0x2e, 1), F3(~0x2, ~0x2e, ~1)|(0x7f<<6), "1,i,d", 0, v9 }, - -{ "mulscc", 0x81200000, 0x40d80000, "1,2,d", 0, v6 }, -{ "mulscc", 0x81202000, 0x40d80000, "1,i,d", 0, v6 }, - -{ "clr", 0x80100000, 0x4e87e01f, "d", F_ALIAS, v6 }, /* or %g0,%g0,d */ -{ "clr", 0x80102000, 0x41efdfff, "d", F_ALIAS, v6 }, /* or %g0,0,d */ -{ "clr", 0xc0200000, 0x3fd82000, "[1+2]", F_ALIAS, v6 }, -{ "clr", 0xc0200000, 0x3fd8201f, "[1]", F_ALIAS, v6 }, /* st %g0,[rs1+%g0] */ -{ "clr", 0xc0202000, 0x3fd80000, "[1+i]", F_ALIAS, v6 }, -{ "clr", 0xc0202000, 0x3fd80000, "[i+1]", F_ALIAS, v6 }, -{ "clr", 0xc0202000, 0x3fd81fff, "[1]", F_ALIAS, v6 }, /* st %g0,[rs1+0] */ - -{ "clrb", 0xc0280000, 0x3fd02000, "[1+2]", F_ALIAS, v6 }, -{ "clrb", 0xc0280000, 0x3fd0201f, "[1]", F_ALIAS, v6 }, /* stb %g0,[rs1+%g0] */ -{ "clrb", 0xc0282000, 0x3fd00000, "[1+i]", F_ALIAS, v6 }, -{ "clrb", 0xc0282000, 0x3fd00000, "[i+1]", F_ALIAS, v6 }, - -{ "clrh", 0xc0300000, 0x3fc82000, "[1+2]", F_ALIAS, v6 }, -{ "clrh", 0xc0300000, 0x3fc8201f, "[1]", F_ALIAS, v6 }, /* sth %g0,[rs1+%g0] */ -{ "clrh", 0xc0302000, 0x3fc80000, "[1+i]", F_ALIAS, v6 }, -{ "clrh", 0xc0302000, 0x3fc80000, "[i+1]", F_ALIAS, v6 }, - -{ "orcc", 0x80900000, 0x41680000, "1,2,d", 0, v6 }, -{ "orcc", 0x80902000, 0x41680000, "1,i,d", 0, v6 }, -{ "orcc", 0x80902000, 0x41680000, "i,1,d", 0, v6 }, - -{ "orncc", 0x80b00000, 0x04048000, "1,2,d", 0, v6 }, -{ "orncc", 0x80b02000, 0x04048000, "1,i,d", 0, v6 }, -{ "orncc", 0x80b02000, 0x04048000, "i,1,d", 0, v6 }, - -{ "orn", 0x80300000, 0x41c80000, "1,2,d", 0, v6 }, -{ "orn", 0x80302000, 0x41c80000, "1,i,d", 0, v6 }, -{ "orn", 0x80302000, 0x41c80000, "i,1,d", 0, v6 }, - -{ "tst", 0x80900000, 0x7f68201f, "1", 0, v6 }, /* orcc rs1, %g0, %g0 */ -{ "tst", 0x80900000, 0x7f6fe000, "2", 0, v6 }, /* orcc %g0, rs2, %g0 */ -{ "tst", 0x80902000, 0x7f681fff, "1", 0, v6 }, /* orcc rs1, 0, %g0 */ - -{ "wr", F3(0x2, 0x30, 0), F3(~0x2, ~0x30, ~0)|ASI(~0), "1,2,m", 0, v8 }, /* wr r,r,%asrX */ -{ "wr", F3(0x2, 0x30, 0)|RD(0), F3(~0x2, ~0x30, ~0)|RD(~0)|ASI(~0), "1,2,y", 0, v6 }, /* wr r,r,%y */ -{ "wr", F3(0x2, 0x30, 0)|RD(0xe), F3(~0x2, ~0x30, ~0)|RD(0x1)|ASI(~0), "1,2,Y", 0, v9 }, /* wr r,r,%amr */ -{ "wr", F3(0x2, 0x30, 1), F3(~0x2, ~0x30, ~1), "1,i,m", 0, v8 }, /* wr r,i,%asrX */ -{ "wr", F3(0x2, 0x30, 1)|RD(0), F3(~0x2, ~0x30, ~1)|RD(~0), "1,i,y", 0, v6 }, /* wr r,i,%y */ -{ "wr", F3(0x2, 0x30, 1)|RD(0xe), F3(~0x2, ~0x30, ~1)|RD(0x1), "1,i,Y", 0, v9 }, /* wr r,i,%amr */ -{ "wr", F3(0x2, 0x31, 0)|RD(0), F3(~0x2, ~0x31, ~0)|RD(~0)|ASI(~0), "1,2,p", 0, v6 }, /* wr r,r,%psr */ -{ "wr", F3(0x2, 0x31, 1)|RD(0), F3(~0x2, ~0x31, ~1)|RD(~0), "1,i,p", 0, v6 }, /* wr r,i,%psr */ -{ "wr", F3(0x2, 0x32, 0)|RD(0), F3(~0x2, ~0x32, ~0)|RD(~0)|ASI(~0), "1,2,w", 0, v6 }, /* wr r,r,%wim */ -{ "wr", F3(0x2, 0x32, 1)|RD(0), F3(~0x2, ~0x32, ~1)|RD(~0), "1,i,w", 0, v6 }, /* wr r,i,%wim */ -{ "wr", F3(0x2, 0x33, 0)|RD(0), F3(~0x2, ~0x33, ~0)|RD(~0)|ASI(~0), "1,2,t", 0, v6 }, /* wr r,r,%tbr */ -{ "wr", F3(0x2, 0x33, 1)|RD(0), F3(~0x2, ~0x33, ~1)|RD(~0), "1,i,t", 0, v6 }, /* wr r,i,%tbr */ - -{ "rd", F3(0x2, 0x28, 0), F3(~0x2, ~0x28, ~0)|SIMM13(~0), "M,d", 0, v8 }, /* rd %asr1,r */ -{ "rd", F3(0x2, 0x28, 0)|RS1(0), F3(~0x2, ~0x28, ~0)|RS1(0x1f)|SIMM13(~0), "y,d", 0, v6 }, /* rd %y,r */ -{ "rd", F3(0x2, 0x28, 0)|RS1(0xe), F3(~0x2, ~0x28, ~0)|RS1(0x1)|SIMM13(~0), "Y,d", 0, v9 }, /* rd %amr,r */ -{ "rd", F3(0x2, 0x29, 0)|RS1(0), F3(~0x2, ~0x29, ~0)|RS1(0x1f)|SIMM13(~0), "p,d", 0, v6 }, /* rd %psr,r */ -{ "rd", F3(0x2, 0x2a, 0)|RS1(0), F3(~0x2, ~0x2a, ~0)|RS1(0x1f)|SIMM13(~0), "w,d", 0, v6 }, /* rd %wim,r */ -{ "rd", F3(0x2, 0x2b, 0)|RS1(0), F3(~0x2, ~0x2b, ~0)|RS1(0x1f)|SIMM13(~0), "t,d", 0, v6 }, /* rd %tbr,r */ - -{ "mov", F3(0x2, 0x30, 0), F3(~0x2, ~0x30, ~0)|ASI(~0), "1,2,m", F_ALIAS, v8 }, /* wr r,r,%asrX */ -{ "mov", F3(0x2, 0x30, 0)|RD(0), F3(~0x2, ~0x30, ~0)|RD(~0)|ASI(~0), "1,2,y", F_ALIAS, v6 }, /* wr r,r,%y */ -{ "mov", F3(0x2, 0x30, 0)|RD(0xe), F3(~0x2, ~0x30, ~0)|RD(0x1)|ASI(~0), "1,2,Y", F_ALIAS, v9 }, /* wr r,r,%amr */ -{ "mov", F3(0x2, 0x30, 1), F3(~0x2, ~0x30, ~1), "1,i,m", F_ALIAS, v8 }, /* wr r,i,%asrX */ -{ "mov", F3(0x2, 0x30, 1)|RD(0), F3(~0x2, ~0x30, ~1)|RD(~0), "1,i,y", F_ALIAS, v6 }, /* wr r,i,%y */ -{ "mov", F3(0x2, 0x30, 1)|RD(0xe), F3(~0x2, ~0x30, ~1)|RD(0x1), "1,i,Y", F_ALIAS, v9 }, /* wr r,i,%amr */ -{ "mov", F3(0x2, 0x31, 0)|RD(0), F3(~0x2, ~0x31, ~0)|RD(~0)|ASI(~0), "1,2,p", F_ALIAS, v6 }, /* wr r,r,%psr */ -{ "mov", F3(0x2, 0x31, 1)|RD(0), F3(~0x2, ~0x31, ~1)|RD(~0), "1,i,p", F_ALIAS, v6 }, /* wr r,i,%psr */ -{ "mov", F3(0x2, 0x32, 0)|RD(0), F3(~0x2, ~0x32, ~0)|RD(~0)|ASI(~0), "1,2,w", F_ALIAS, v6 }, /* wr r,r,%wim */ -{ "mov", F3(0x2, 0x32, 1)|RD(0), F3(~0x2, ~0x32, ~1)|RD(~0), "1,i,w", F_ALIAS, v6 }, /* wr r,i,%wim */ -{ "mov", F3(0x2, 0x33, 0)|RD(0), F3(~0x2, ~0x33, ~0)|RD(~0)|ASI(~0), "1,2,t", F_ALIAS, v6 }, /* wr r,r,%tbr */ -{ "mov", F3(0x2, 0x33, 1)|RD(0), F3(~0x2, ~0x33, ~1)|RD(~0), "1,i,t", F_ALIAS, v6 }, /* wr r,i,%tbr */ - -{ "mov", F3(0x2, 0x28, 0), F3(~0x2, ~0x28, ~0)|SIMM13(~0), "M,d", F_ALIAS, v8 }, /* rd %asr1,r */ -{ "mov", F3(0x2, 0x28, 0)|RS1(0), F3(~0x2, ~0x28, ~0)|RS1(0x1f)|SIMM13(~0), "y,d", F_ALIAS, v6 }, /* rd %y,r */ -{ "mov", F3(0x2, 0x28, 0)|RS1(0xe), F3(~0x2, ~0x28, ~0)|RS1(0x1)|SIMM13(~0), "Y,d", F_ALIAS, v9 }, /* rd %amr,r */ -{ "mov", F3(0x2, 0x29, 0)|RS1(0), F3(~0x2, ~0x29, ~0)|RS1(0x1f)|SIMM13(~0), "p,d", F_ALIAS, v6 }, /* rd %psr,r */ -{ "mov", F3(0x2, 0x2a, 0)|RS1(0), F3(~0x2, ~0x2a, ~0)|RS1(0x1f)|SIMM13(~0), "w,d", F_ALIAS, v6 }, /* rd %wim,r */ -{ "mov", F3(0x2, 0x2b, 0)|RS1(0), F3(~0x2, ~0x2b, ~0)|RS1(0x1f)|SIMM13(~0), "t,d", F_ALIAS, v6 }, /* rd %tbr,r */ - -{ "mov", 0x81800000, 0x4078201f, "1,y", F_ALIAS, v6 }, /* wr rs1,%g0,%y */ -{ "mov", 0x81802000, 0x40780000, "i,y", F_ALIAS, v6 }, -{ "mov", 0x81802000, 0x40781fff, "1,y", F_ALIAS, v6 }, /* wr rs1,0,%y */ -{ "mov", 0x81880000, 0x4070201f, "1,p", F_ALIAS, v6 }, /* wr rs1,%g0,%psr */ -{ "mov", 0x81882000, 0x40700000, "i,p", F_ALIAS, v6 }, -{ "mov", 0x81882000, 0x40701fff, "1,p", F_ALIAS, v6 }, /* wr rs1,0,%psr */ -{ "mov", 0x81900000, 0x4068201f, "1,w", F_ALIAS, v6 }, /* wr rs1,%g0,%wim */ -{ "mov", 0x81902000, 0x40680000, "i,w", F_ALIAS, v6 }, -{ "mov", 0x81902000, 0x40681fff, "1,w", F_ALIAS, v6 }, /* wr rs1,0,%wim */ -{ "mov", 0x81980000, 0x4060201f, "1,t", F_ALIAS, v6 }, /* wr rs1,%g0,%tbr */ -{ "mov", 0x81982000, 0x40600000, "i,t", F_ALIAS, v6 }, -{ "mov", 0x81982000, 0x40601fff, "1,t", F_ALIAS, v6 }, /* wr rs1,0,%tbr */ - -{ "mov", 0x80100000, 0x41efe000, "2,d", 0, v6 }, /* or %g0,rs2,d */ -{ "mov", 0x80102000, 0x41efc000, "i,d", 0, v6 }, /* or %g0,i,d */ -{ "mov", 0x80100000, 0x41e8201f, "1,d", 0 }, /* or rs1,%g0,d */ -{ "mov", 0x80102000, 0x41e81fff, "1,d", 0 }, /* or rs1,0,d */ - -{ "or", 0x80100000, 0x40800000, "1,2,d", 0, v6 }, -{ "or", 0x80102000, 0x40800000, "1,i,d", 0, v6 }, -{ "or", 0x80102000, 0x40800000, "i,1,d", 0, v6 }, - -{ "bset", 0x80100000, 0x40800000, "2,r", F_ALIAS, v6 }, /* or rd,rs2,rd */ -{ "bset", 0x80102000, 0x40800000, "i,r", F_ALIAS, v6 }, /* or rd,i,rd */ - -{ "andn", 0x80280000, 0x41d00000, "1,2,d", 0, v6 }, -{ "andn", 0x80282000, 0x41d00000, "1,i,d", 0, v6 }, -{ "andn", 0x80282000, 0x41d00000, "i,1,d", 0, v6 }, - -{ "andncc", 0x80a80000, 0x41500000, "1,2,d", 0, v6 }, -{ "andncc", 0x80a82000, 0x41500000, "1,i,d", 0, v6 }, -{ "andncc", 0x80a82000, 0x41500000, "i,1,d", 0, v6 }, - -{ "bclr", 0x80280000, 0x41d00000, "2,r", F_ALIAS, v6 }, /* andn rd,rs2,rd */ -{ "bclr", 0x80282000, 0x41d00000, "i,r", F_ALIAS, v6 }, /* andn rd,i,rd */ - -{ "cmp", F3(0x2, 0x14, 0), F3(~0x2, ~0x14, ~0)|RD(~0)|ASI(~0), "1,2", 0, v6 }, /* subcc rs1,rs2,%g0 */ -{ "cmp", F3(0x2, 0x14, 1), F3(~0x2, ~0x14, ~1)|RD(~0), "1,i", 0, v6 }, /* subcc rs1,i,%g0 */ - -{ "sub", 0x80200000, 0x41d80000, "1,2,d", 0, v6 }, -{ "sub", 0x80202000, 0x41d80000, "1,i,d", 0, v6 }, - -{ "subcc", 0x80a00000, 0x41580000, "1,2,d", 0, v6 }, -{ "subcc", 0x80a02000, 0x41580000, "1,i,d", 0, v6 }, - -{ "subx", 0x80600000, 0x41980000, "1,2,d", 0, v6 }, -{ "subx", 0x80602000, 0x41980000, "1,i,d", 0, v6 }, - -{ "subxcc", 0x80e00000, 0x41180000, "1,2,d", 0, v6 }, -{ "subxcc", 0x80e02000, 0x41180000, "1,i,d", 0, v6 }, - -{ "and", 0x80080000, 0x41f00000, "1,2,d", 0, v6 }, -{ "and", 0x80082000, 0x41f00000, "1,i,d", 0, v6 }, -{ "and", 0x80082000, 0x41f00000, "i,1,d", 0, v6 }, - -{ "andcc", 0x80880000, 0x41700000, "1,2,d", 0, v6 }, -{ "andcc", 0x80882000, 0x41700000, "1,i,d", 0, v6 }, -{ "andcc", 0x80882000, 0x41700000, "i,1,d", 0, v6 }, - -{ "dec", 0x80202001, 0x41d81ffe, "r", F_ALIAS, v6 }, /* sub rd,1,rd */ -{ "deccc", 0x80a02001, 0x41581ffe, "r", F_ALIAS, v6 }, /* subcc rd,1,rd */ -{ "inc", 0x80002001, 0x41f81ffe, "r", F_ALIAS, v6 }, /* add rs1,1,rsd */ -{ "inccc", 0x80802001, 0x41781ffe, "r", F_ALIAS, v6 }, /* addcc rd,1,rd */ - -{ "btst", F3(2, 0x11, 0), F3(~2, ~0x11, ~0)|RD(~0)|ASI(~0), "1,2", F_ALIAS, v6 }, /* andcc rs1,rs2,%g0 */ -{ "btst", F3(2, 0x11, 1), F3(~2, ~0x11, ~1)|RD(~0), "i,1", F_ALIAS, v6 }, /* andcc rs1,i,%g0 */ - -{ "neg", F3(2, 0x04, 0), F3(~2, ~0x04, ~0)|RS1(~0)|ASI(~0), "2,d", F_ALIAS, v6 }, /* sub %g0,rs2,rd */ -{ "neg", F3(2, 0x04, 0), F3(~2, ~0x04, ~0)|RS1(~0)|ASI(~0), "r", F_ALIAS, v6 }, /* sub %g0,rd,rd */ - -{ "add", 0x80000000, 0x41f80000, "1,2,d", 0, v6 }, -{ "add", 0x80002000, 0x41f80000, "1,i,d", 0, v6 }, -{ "add", 0x80002000, 0x41f80000, "i,1,d", 0, v6 }, -{ "addcc", 0x80800000, 0x41780000, "1,2,d", 0, v6 }, -{ "addcc", 0x80802000, 0x41780000, "1,i,d", 0, v6 }, -{ "addcc", 0x80802000, 0x41780000, "i,1,d", 0, v6 }, -{ "addx", 0x80400000, 0x41b80000, "1,2,d", 0, v6 }, -{ "addx", 0x80402000, 0x41b80000, "1,i,d", 0, v6 }, -{ "addx", 0x80402000, 0x41b80000, "i,1,d", 0, v6 }, -{ "addxcc", 0x80c00000, 0x41380000, "1,2,d", 0, v6 }, -{ "addxcc", 0x80c02000, 0x41380000, "1,i,d", 0, v6 }, -{ "addxcc", 0x80c02000, 0x41380000, "i,1,d", 0, v6 }, - -{ "smul", F3(0x2, 0x0b, 0), F3(~0x2, ~0x0b, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "smul", F3(0x2, 0x0b, 1), F3(~0x2, ~0x0b, ~1), "1,i,d", 0, v8 }, -{ "smul", F3(0x2, 0x0b, 1), F3(~0x2, ~0x0b, ~1), "i,1,d", 0, v8 }, -{ "smulcc", F3(0x2, 0x1b, 0), F3(~0x2, ~0x1b, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "smulcc", F3(0x2, 0x1b, 1), F3(~0x2, ~0x1b, ~1), "1,i,d", 0, v8 }, -{ "smulcc", F3(0x2, 0x1b, 1), F3(~0x2, ~0x1b, ~1), "i,1,d", 0, v8 }, -{ "umul", F3(0x2, 0x0a, 0), F3(~0x2, ~0x0a, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "umul", F3(0x2, 0x0a, 1), F3(~0x2, ~0x0a, ~1), "1,i,d", 0, v8 }, -{ "umul", F3(0x2, 0x0a, 1), F3(~0x2, ~0x0a, ~1), "i,1,d", 0, v8 }, -{ "umulcc", F3(0x2, 0x1a, 0), F3(~0x2, ~0x1a, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "umulcc", F3(0x2, 0x1a, 1), F3(~0x2, ~0x1a, ~1), "1,i,d", 0, v8 }, -{ "umulcc", F3(0x2, 0x1a, 1), F3(~0x2, ~0x1a, ~1), "i,1,d", 0, v8 }, - -{ "sdiv", F3(0x2, 0x0f, 0), F3(~0x2, ~0x0f, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "sdiv", F3(0x2, 0x0f, 1), F3(~0x2, ~0x0f, ~1), "1,i,d", 0, v8 }, -{ "sdiv", F3(0x2, 0x0f, 1), F3(~0x2, ~0x0f, ~1), "i,1,d", 0, v8 }, -{ "sdivcc", F3(0x2, 0x1f, 0), F3(~0x2, ~0x1f, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "sdivcc", F3(0x2, 0x1f, 1), F3(~0x2, ~0x1f, ~1), "1,i,d", 0, v8 }, -{ "sdivcc", F3(0x2, 0x1f, 1), F3(~0x2, ~0x1f, ~1), "i,1,d", 0, v8 }, -{ "udiv", F3(0x2, 0x0e, 0), F3(~0x2, ~0x0e, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "udiv", F3(0x2, 0x0e, 1), F3(~0x2, ~0x0e, ~1), "1,i,d", 0, v8 }, -{ "udiv", F3(0x2, 0x0e, 1), F3(~0x2, ~0x0e, ~1), "i,1,d", 0, v8 }, -{ "udivcc", F3(0x2, 0x1e, 0), F3(~0x2, ~0x1e, ~0)|ASI(0x1fff), "1,2,d", 0, v8 }, -{ "udivcc", F3(0x2, 0x1e, 1), F3(~0x2, ~0x1e, ~1), "1,i,d", 0, v8 }, -{ "udivcc", F3(0x2, 0x1e, 1), F3(~0x2, ~0x1e, ~1), "i,1,d", 0, v8 }, - -{ "call", 0x40000000, 0x80000000, "L", F_DELAYED, v6 }, -{ "call", 0x40000000, 0x80000000, "L,#", F_DELAYED, v6 }, -{ "call", 0x9fc00000, 0x4038201f, "1", F_DELAYED, v6 }, /* jmpl rs1+%g0, %o7 */ -{ "call", 0x9fc00000, 0x4038201f, "1,#", F_DELAYED, v6 }, +{ "ld", F3(3, 0x00, 0), F3(~3, ~0x00, ~0), "[1+2],d", 0, v6 }, +{ "ld", F3(3, 0x00, 0), F3(~3, ~0x00, ~0)|RS2_G0, "[1],d", 0, v6 }, /* ld [rs1+%g0],d */ +{ "ld", F3(3, 0x00, 1), F3(~3, ~0x00, ~1), "[1+i],d", 0, v6 }, +{ "ld", F3(3, 0x00, 1), F3(~3, ~0x00, ~1), "[i+1],d", 0, v6 }, +{ "ld", F3(3, 0x00, 1), F3(~3, ~0x00, ~1)|SIMM13(~0), "[1],d", 0, v6 }, /* ld [rs1+0],d */ +{ "ld", F3(3, 0x20, 0), F3(~3, ~0x20, ~0), "[1+2],g", 0, v6 }, +{ "ld", F3(3, 0x20, 0), F3(~3, ~0x20, ~0)|RS2_G0, "[1],g", 0, v6 }, /* ld [rs1+%g0],d */ +{ "ld", F3(3, 0x20, 1), F3(~3, ~0x20, ~1), "[1+i],g", 0, v6 }, +{ "ld", F3(3, 0x20, 1), F3(~3, ~0x20, ~1), "[i+1],g", 0, v6 }, +{ "ld", F3(3, 0x20, 1), F3(~3, ~0x20, ~1)|SIMM13(~0), "[1],g", 0, v6 }, /* ld [rs1+0],d */ +{ "ld", F3(3, 0x21, 0), F3(~3, ~0x21, ~0), "[1+2],F", 0, v6 }, +{ "ld", F3(3, 0x21, 0), F3(~3, ~0x21, ~0)|RS2_G0, "[1],F", 0, v6 }, /* ld [rs1+%g0],d */ +{ "ld", F3(3, 0x21, 1), F3(~3, ~0x21, ~1), "[1+i],F", 0, v6 }, +{ "ld", F3(3, 0x21, 1), F3(~3, ~0x21, ~1), "[i+1],F", 0, v6 }, +{ "ld", F3(3, 0x21, 1), F3(~3, ~0x21, ~1)|SIMM13(~0), "[1],F", 0, v6 }, /* ld [rs1+0],d */ +{ "ld", F3(3, 0x30, 0), F3(~3, ~0x30, ~0), "[1+2],D", 0, v6 }, +{ "ld", F3(3, 0x30, 0), F3(~3, ~0x30, ~0)|RS2_G0, "[1],D", 0, v6 }, /* ld [rs1+%g0],d */ +{ "ld", F3(3, 0x30, 1), F3(~3, ~0x30, ~1), "[1+i],D", 0, v6 }, +{ "ld", F3(3, 0x30, 1), F3(~3, ~0x30, ~1), "[i+1],D", 0, v6 }, +{ "ld", F3(3, 0x30, 1), F3(~3, ~0x30, ~1)|SIMM13(~0), "[1],D", 0, v6 }, /* ld [rs1+0],d */ +{ "ld", F3(3, 0x31, 0), F3(~3, ~0x31, ~0), "[1+2],C", 0, v6 }, +{ "ld", F3(3, 0x31, 0), F3(~3, ~0x31, ~0)|RS2_G0, "[1],C", 0, v6 }, /* ld [rs1+%g0],d */ +{ "ld", F3(3, 0x31, 1), F3(~3, ~0x31, ~1), "[1+i],C", 0, v6 }, +{ "ld", F3(3, 0x31, 1), F3(~3, ~0x31, ~1), "[i+1],C", 0, v6 }, +{ "ld", F3(3, 0x31, 1), F3(~3, ~0x31, ~1)|SIMM13(~0), "[1],C", 0, v6 }, /* ld [rs1+0],d */ + + /* FIXME-v9: combine ld, lduw, & ldw in macros. */ +{ "ldw", F3(3, 0x00, 0), F3(~3, ~0x00, ~0), "[1+2],d", F_ALIAS, v9 }, /* ldw === ld */ +{ "ldw", F3(3, 0x00, 0), F3(~3, ~0x00, ~0)|RS2_G0, "[1],d", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "ldw", F3(3, 0x00, 1), F3(~3, ~0x00, ~1), "[1+i],d", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x00, 1), F3(~3, ~0x00, ~1), "[i+1],d", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x00, 1), F3(~3, ~0x00, ~1)|SIMM13(~0), "[1],d", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "ldw", F3(3, 0x20, 0), F3(~3, ~0x20, ~0), "[1+2],g", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x20, 0), F3(~3, ~0x20, ~0)|RS2_G0, "[1],g", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "ldw", F3(3, 0x20, 1), F3(~3, ~0x20, ~1), "[1+i],g", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x20, 1), F3(~3, ~0x20, ~1), "[i+1],g", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x20, 1), F3(~3, ~0x20, ~1)|SIMM13(~0), "[1],g", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "ldw", F3(3, 0x21, 0), F3(~3, ~0x21, ~0), "[1+2],F", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x21, 0), F3(~3, ~0x21, ~0)|RS2_G0, "[1],F", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "ldw", F3(3, 0x21, 1), F3(~3, ~0x21, ~1), "[1+i],F", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x21, 1), F3(~3, ~0x21, ~1), "[i+1],F", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x21, 1), F3(~3, ~0x21, ~1)|SIMM13(~0), "[1],F", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "ldw", F3(3, 0x30, 0), F3(~3, ~0x30, ~0), "[1+2],D", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x30, 0), F3(~3, ~0x30, ~0)|RS2_G0, "[1],D", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "ldw", F3(3, 0x30, 1), F3(~3, ~0x30, ~1), "[1+i],D", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x30, 1), F3(~3, ~0x30, ~1), "[i+1],D", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x30, 1), F3(~3, ~0x30, ~1)|SIMM13(~0), "[1],D", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "ldw", F3(3, 0x31, 0), F3(~3, ~0x31, ~0), "[1+2],C", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x31, 0), F3(~3, ~0x31, ~0)|RS2_G0, "[1],C", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "ldw", F3(3, 0x31, 1), F3(~3, ~0x31, ~1), "[1+i],C", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x31, 1), F3(~3, ~0x31, ~1), "[i+1],C", F_ALIAS, v9 }, +{ "ldw", F3(3, 0x31, 1), F3(~3, ~0x31, ~1)|SIMM13(~0), "[1],C", F_ALIAS, v9 }, /* ld [rs1+0],d */ + +{ "lduw", F3(3, 0x00, 0), F3(~3, ~0x00, ~0), "[1+2],d", F_ALIAS, v9 }, /* lduw === ld */ +{ "lduw", F3(3, 0x00, 0), F3(~3, ~0x00, ~0)|RS2_G0, "[1],d", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "lduw", F3(3, 0x00, 1), F3(~3, ~0x00, ~1), "[1+i],d", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x00, 1), F3(~3, ~0x00, ~1), "[i+1],d", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x00, 1), F3(~3, ~0x00, ~1)|SIMM13(~0), "[1],d", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "lduw", F3(3, 0x20, 0), F3(~3, ~0x20, ~0), "[1+2],g", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x20, 0), F3(~3, ~0x20, ~0)|RS2_G0, "[1],g", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "lduw", F3(3, 0x20, 1), F3(~3, ~0x20, ~1), "[1+i],g", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x20, 1), F3(~3, ~0x20, ~1), "[i+1],g", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x20, 1), F3(~3, ~0x20, ~1)|SIMM13(~0), "[1],g", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "lduw", F3(3, 0x21, 0), F3(~3, ~0x21, ~0), "[1+2],F", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x21, 0), F3(~3, ~0x21, ~0)|RS2_G0, "[1],F", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "lduw", F3(3, 0x21, 1), F3(~3, ~0x21, ~1), "[1+i],F", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x21, 1), F3(~3, ~0x21, ~1), "[i+1],F", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x21, 1), F3(~3, ~0x21, ~1)|SIMM13(~0), "[1],F", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "lduw", F3(3, 0x30, 0), F3(~3, ~0x30, ~0), "[1+2],D", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x30, 0), F3(~3, ~0x30, ~0)|RS2_G0, "[1],D", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "lduw", F3(3, 0x30, 1), F3(~3, ~0x30, ~1), "[1+i],D", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x30, 1), F3(~3, ~0x30, ~1), "[i+1],D", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x30, 1), F3(~3, ~0x30, ~1)|SIMM13(~0), "[1],D", F_ALIAS, v9 }, /* ld [rs1+0],d */ +{ "lduw", F3(3, 0x31, 0), F3(~3, ~0x31, ~0), "[1+2],C", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x31, 0), F3(~3, ~0x31, ~0)|RS2_G0, "[1],C", F_ALIAS, v9 }, /* ld [rs1+%g0],d */ +{ "lduw", F3(3, 0x31, 1), F3(~3, ~0x31, ~1), "[1+i],C", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x31, 1), F3(~3, ~0x31, ~1), "[i+1],C", F_ALIAS, v9 }, +{ "lduw", F3(3, 0x31, 1), F3(~3, ~0x31, ~1)|SIMM13(~0), "[1],C", F_ALIAS, v9 }, /* ld [rs1+0],d */ + +{ "lda", F3(3, 0x10, 0), F3(~3, ~0x10, ~0), "[1+2]A,d", 0, v6 }, +{ "lda", F3(3, 0x10, 0), F3(~3, ~0x10, ~0)|RS2_G0, "[1]A,d", 0, v6 }, /* lda [rs1+%g0],d */ + +{ "lduwa", F3(3, 0x10, 0), F3(~3, ~0x10, ~0), "[1+2]A,d", F_ALIAS, v9 }, /* lduwa === lda */ +{ "lduwa", F3(3, 0x10, 0), F3(~3, ~0x10, ~0)|RS2_G0, "[1]A,d", F_ALIAS, v9 }, /* lda [rs1+%g0],d */ + +{ "ldd", F3(3, 0x03, 0), F3(~3, ~0x03, ~0)|ASI(~0), "[1+2],d", 0, v6 }, +{ "ldd", F3(3, 0x03, 0), F3(~3, ~0x03, ~0)|ASI_RS2(~0), "[1],d", 0, v6 }, /* ldd [rs1+%g0],d */ +{ "ldd", F3(3, 0x03, 1), F3(~3, ~0x03, ~1), "[1+i],d", 0, v6 }, +{ "ldd", F3(3, 0x03, 1), F3(~3, ~0x03, ~1), "[i+1],d", 0, v6 }, +{ "ldd", F3(3, 0x03, 1), F3(~3, ~0x03, ~1)|SIMM13(~0), "[1],d", 0, v6 }, /* ldd [rs1+0],d */ +{ "ldd", F3(3, 0x23, 0), F3(~3, ~0x23, ~0)|ASI(~0), "[1+2],g", 0, v6 }, +{ "ldd", F3(3, 0x23, 0), F3(~3, ~0x23, ~0)|ASI_RS2(~0), "[1],g", 0, v6 }, /* ldd [rs1+%g0],d */ +{ "ldd", F3(3, 0x23, 1), F3(~3, ~0x23, ~1), "[1+i],g", 0, v6 }, +{ "ldd", F3(3, 0x23, 1), F3(~3, ~0x23, ~1), "[i+1],g", 0, v6 }, +{ "ldd", F3(3, 0x23, 1), F3(~3, ~0x23, ~1)|SIMM13(~0), "[1],g", 0, v6 }, /* ldd [rs1+0],d */ +{ "ldd", F3(3, 0x33, 0), F3(~3, ~0x33, ~0)|ASI(~0), "[1+2],D", 0, v6 }, +{ "ldd", F3(3, 0x33, 0), F3(~3, ~0x33, ~0)|ASI_RS2(~0), "[1],D", 0, v6 }, /* ldd [rs1+%g0],d */ +{ "ldd", F3(3, 0x33, 1), F3(~3, ~0x33, ~1), "[1+i],D", 0, v6 }, +{ "ldd", F3(3, 0x33, 1), F3(~3, ~0x33, ~1), "[i+1],D", 0, v6 }, +{ "ldd", F3(3, 0x33, 1), F3(~3, ~0x33, ~1)|SIMM13(~0), "[1],D", 0, v6 }, /* ldd [rs1+0],d */ +{ "ldda", F3(3, 0x13, 0), F3(~3, ~0x13, ~0), "[1+2]A,d", 0, v6 }, +{ "ldda", F3(3, 0x13, 0), F3(~3, ~0x13, ~0)|RS2_G0, "[1]A,d", 0, v6 }, /* ldda [rs1+%g0],d */ +{ "ldsb", F3(3, 0x09, 0), F3(~3, ~0x09, ~0)|ASI(~0), "[1+2],d", 0, v6 }, +{ "ldsb", F3(3, 0x09, 0), F3(~3, ~0x09, ~0)|ASI_RS2(~0), "[1],d", 0, v6 }, /* ldsb [rs1+%g0],d */ +{ "ldsb", F3(3, 0x09, 1), F3(~3, ~0x09, ~1), "[1+i],d", 0, v6 }, +{ "ldsb", F3(3, 0x09, 1), F3(~3, ~0x09, ~1), "[i+1],d", 0, v6 }, +{ "ldsb", F3(3, 0x09, 1), F3(~3, ~0x09, ~1)|SIMM13(~0), "[1],d", 0, v6 }, /* ldsb [rs1+0],d */ +{ "ldsba", F3(3, 0x19, 0), F3(~3, ~0x19, ~0), "[1+2]A,d", 0, v6 }, +{ "ldsba", F3(3, 0x19, 0), F3(~3, ~0x19, ~0)|RS2_G0, "[1]A,d", 0, v6 }, /* ldsba [rs1+%g0],d */ +{ "ldsh", F3(3, 0x0a, 0), F3(~3, ~0x0a, ~0)|ASI_RS2(~0), "[1],d", 0, v6 }, /* ldsh [rs1+%g0],d */ +{ "ldsh", F3(3, 0x0a, 0), F3(~3, ~0x0a, ~0)|ASI(~0), "[1+2],d", 0, v6 }, +{ "ldsh", F3(3, 0x0a, 1), F3(~3, ~0x0a, ~1), "[1+i],d", 0, v6 }, +{ "ldsh", F3(3, 0x0a, 1), F3(~3, ~0x0a, ~1), "[i+1],d", 0, v6 }, +{ "ldsh", F3(3, 0x0a, 1), F3(~3, ~0x0a, ~1)|SIMM13(~0), "[1],d", 0, v6 }, /* ldsh [rs1+0],d */ +{ "ldsha", F3(3, 0x1a, 0), F3(~3, ~0x1a, ~0), "[1+2]A,d", 0, v6 }, +{ "ldsha", F3(3, 0x1a, 0), F3(~3, ~0x1a, ~0)|RS2_G0, "[1]A,d", 0, v6 }, /* ldsha [rs1+%g0],d */ +{ "ldstub", F3(3, 0x0d, 0), F3(~3, ~0x0d, ~0)|ASI(~0), "[1+2],d", 0, v6 }, +{ "ldstub", F3(3, 0x0d, 0), F3(~3, ~0x0d, ~0)|ASI_RS2(~0), "[1],d", 0, v6 }, /* ldstub [rs1+%g0],d */ +{ "ldstub", F3(3, 0x0d, 1), F3(~3, ~0x0d, ~1), "[1+i],d", 0, v6 }, +{ "ldstub", F3(3, 0x0d, 1), F3(~3, ~0x0d, ~1), "[i+1],d", 0, v6 }, +{ "ldstuba", F3(3, 0x1b, 0), F3(~3, ~0x1b, ~0), "[1+2]A,d", 0, v6 }, +{ "ldstuba", F3(3, 0x1b, 0), F3(~3, ~0x1b, ~0)|RS2_G0, "[1]A,d", 0, v6 }, /* ldstuba [rs1+%g0],d */ +{ "ldsw", F3(3, 0x08, 0), F3(~3, ~0x08, ~0)|ASI(~0), "[1+2],d", 0, v9 }, +{ "ldsw", F3(3, 0x08, 0), F3(~3, ~0x08, ~0)|ASI_RS2(~0), "[1],d", 0, v9 }, /* ldsw [rs1+%g0],d */ +{ "ldsw", F3(3, 0x08, 1), F3(~3, ~0x08, ~1), "[1+i],d", 0, v9 }, +{ "ldsw", F3(3, 0x08, 1), F3(~3, ~0x08, ~1), "[i+1],d", 0, v9 }, +{ "ldsw", F3(3, 0x08, 1), F3(~3, ~0x08, ~1)|SIMM13(~0), "[1],d", 0, v9 }, /* ldsw [rs1+0],d */ +{ "ldub", F3(3, 0x01, 0), F3(~3, ~0x01, ~0)|ASI(~0), "[1+2],d", 0, v6 }, +{ "ldub", F3(3, 0x01, 0), F3(~3, ~0x01, ~0)|ASI_RS2(~0), "[1],d", 0, v6 }, /* ldub [rs1+%g0],d */ +{ "ldub", F3(3, 0x01, 1), F3(~3, ~0x01, ~1), "[1+i],d", 0, v6 }, +{ "ldub", F3(3, 0x01, 1), F3(~3, ~0x01, ~1), "[i+1],d", 0, v6 }, +{ "ldub", F3(3, 0x01, 1), F3(~3, ~0x01, ~1)|SIMM13(~0), "[1],d", 0, v6 }, /* ldub [rs1+0],d */ +{ "lduba", F3(3, 0x11, 0), F3(~3, ~0x11, ~0), "[1+2]A,d", 0, v6 }, +{ "lduba", F3(3, 0x11, 0), F3(~3, ~0x11, ~0)|RS2_G0, "[1]A,d", 0, v6 }, /* lduba [rs1+%g0],d */ +{ "lduh", F3(3, 0x02, 0), F3(~3, ~0x02, ~0)|ASI(~0), "[1+2],d", 0, v6 }, +{ "lduh", F3(3, 0x02, 0), F3(~3, ~0x02, ~0)|ASI_RS2(~0), "[1],d", 0, v6 }, /* lduh [rs1+%g0],d */ +{ "lduh", F3(3, 0x02, 1), F3(~3, ~0x02, ~1), "[1+i],d", 0, v6 }, +{ "lduh", F3(3, 0x02, 1), F3(~3, ~0x02, ~1), "[i+1],d", 0, v6 }, +{ "lduh", F3(3, 0x02, 1), F3(~3, ~0x02, ~1)|SIMM13(~0), "[1],d", 0, v6 }, /* lduh [rs1+0],d */ +{ "lduha", F3(3, 0x12, 0), F3(~3, ~0x12, ~0), "[1+2]A,d", 0, v6 }, +{ "lduha", F3(3, 0x12, 0), F3(~3, ~0x12, ~0)|RS2_G0, "[1]A,d", 0, v6 }, /* lduha [rs1+%g0],d */ +{ "ldx", F3(3, 0x0b, 0), F3(~3, ~0x0b, ~0)|ASI(~0), "[1+2],d", 0, v9 }, +{ "ldx", F3(3, 0x0b, 0), F3(~3, ~0x0b, ~0)|ASI_RS2(~0), "[1],d", 0, v9 }, /* ldx [rs1+%g0],d */ +{ "ldx", F3(3, 0x0b, 1), F3(~3, ~0x0b, ~1), "[1+i],d", 0, v9 }, +{ "ldx", F3(3, 0x0b, 1), F3(~3, ~0x0b, ~1), "[i+1],d", 0, v9 }, +{ "ldx", F3(3, 0x0b, 1), F3(~3, ~0x0b, ~1)|SIMM13(~0), "[1],d", 0, v9 }, /* ldx [rs1+0],d */ +{ "ldxpc", F3(3, 0x0c, 0), F3(~3, ~0x0c, ~0)|ASI(~0), "[1+2],d", 0, v9 }, +{ "ldxpc", F3(3, 0x0c, 0), F3(~3, ~0x0c, ~0)|ASI_RS2(~0), "[1],d", 0, v9 }, /* ldxpc [rs1+%g0],d */ +{ "ldxpc", F3(3, 0x0c, 1), F3(~3, ~0x0c, ~1), "[1+i],d", 0, v9 }, +{ "ldxpc", F3(3, 0x0c, 1), F3(~3, ~0x0c, ~1), "[i+1],d", 0, v9 }, +{ "ldxpc", F3(3, 0x0c, 1), F3(~3, ~0x0c, ~1)|SIMM13(~0), "[1],d", 0, v9 }, /* ldxpc [rs1+0],d */ + +{ "st", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI(~0), "d,[1+2]", 0, v6 }, +{ "st", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI_RS2(~0), "d,[1]", 0, v6 }, /* st d,[rs1+%g0] */ +{ "st", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[1+i]", 0, v6 }, +{ "st", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[i+1]", 0, v6 }, +{ "st", F3(3, 0x04, 1), F3(~3, ~0x04, ~1)|SIMM13(~0), "d,[1]", 0, v6 }, /* st d,[rs1+0] */ +{ "st", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI(~0), "g,[1+2]", 0, v6 }, +{ "st", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI_RS2(~0), "g,[1]", 0, v6 }, /* st d[rs1+%g0] */ +{ "st", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[1+i]", 0, v6 }, +{ "st", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[i+1]", 0, v6 }, +{ "st", F3(3, 0x24, 1), F3(~3, ~0x24, ~1)|SIMM13(~0), "g,[1]", 0, v6 }, /* st d,[rs1+0] */ +{ "st", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI(~0), "D,[1+2]", 0, v6 }, +{ "st", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI_RS2(~0), "D,[1]", 0, v6 }, /* st d,[rs1+%g0] */ +{ "st", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[1+i]", 0, v6 }, +{ "st", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[i+1]", 0, v6 }, +{ "st", F3(3, 0x34, 1), F3(~3, ~0x34, ~1)|SIMM13(~0), "D,[1]", 0, v6 }, /* st d,[rs1+0] */ +{ "st", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI(~0), "C,[1+2]", 0, v6 }, +{ "st", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI_RS2(~0), "C,[1]", 0, v6 }, /* st d,[rs1+%g0] */ +{ "st", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[1+i]", 0, v6 }, +{ "st", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[i+1]", 0, v6 }, +{ "st", F3(3, 0x35, 1), F3(~3, ~0x35, ~1)|SIMM13(~0), "C,[1]", 0, v6 }, /* st d,[rs1+0] */ +{ "st", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI(~0), "F,[1+2]", 0, v6 }, +{ "st", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI_RS2(~0), "F,[1]", 0, v6 }, /* st d,[rs1+%g0] */ +{ "st", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[1+i]", 0, v6 }, +{ "st", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[i+1]", 0, v6 }, +{ "st", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|SIMM13(~0), "F,[1]", 0, v6 }, /* st d,[rs1+0] */ + + /* FIXME-v9: combine st, stw, stuw, stsw, in macros. */ +{ "stw", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI(~0), "d,[1+2]", F_ALIAS, v9 }, /* stw === st */ +{ "stw", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI_RS2(~0), "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[1+i]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[i+1]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1)|SIMM13(~0), "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stw", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI(~0), "g,[1+2]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI_RS2(~0), "g,[1]", F_ALIAS, v9 }, /* st d[rs1+%g0] */ +{ "stw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[1+i]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[i+1]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1)|SIMM13(~0), "g,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stw", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI(~0), "D,[1+2]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI_RS2(~0), "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[1+i]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[i+1]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1)|SIMM13(~0), "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stw", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI(~0), "C,[1+2]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI_RS2(~0), "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[1+i]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[i+1]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1)|SIMM13(~0), "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stw", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI(~0), "F,[1+2]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI_RS2(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[1+i]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[i+1]", F_ALIAS, v9 }, +{ "stw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|SIMM13(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ + +{ "stuw", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI(~0), "d,[1+2]", F_ALIAS, v9 }, /* stuw === st */ +{ "stuw", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI_RS2(~0), "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stuw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[1+i]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[i+1]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1)|SIMM13(~0), "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stuw", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI(~0), "g,[1+2]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI_RS2(~0), "g,[1]", F_ALIAS, v9 }, /* st d[rs1+%g0] */ +{ "stuw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[1+i]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[i+1]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1)|SIMM13(~0), "g,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stuw", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI(~0), "D,[1+2]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI_RS2(~0), "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stuw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[1+i]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[i+1]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1)|SIMM13(~0), "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stuw", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI(~0), "C,[1+2]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI_RS2(~0), "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stuw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[1+i]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[i+1]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1)|SIMM13(~0), "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stuw", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI(~0), "F,[1+2]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI_RS2(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stuw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[1+i]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[i+1]", F_ALIAS, v9 }, +{ "stuw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|SIMM13(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ + +{ "stsw", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI(~0), "d,[1+2]", F_ALIAS, v9 }, /* stsw === st */ +{ "stsw", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|ASI_RS2(~0), "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stsw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[1+i]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1), "d,[i+1]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x04, 1), F3(~3, ~0x04, ~1)|SIMM13(~0), "d,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stsw", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI(~0), "g,[1+2]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x24, 0), F3(~3, ~0x24, ~0)|ASI_RS2(~0), "g,[1]", F_ALIAS, v9 }, /* st d[rs1+%g0] */ +{ "stsw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[1+i]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1), "g,[i+1]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x24, 1), F3(~3, ~0x24, ~1)|SIMM13(~0), "g,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stsw", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI(~0), "D,[1+2]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x34, 0), F3(~3, ~0x34, ~0)|ASI_RS2(~0), "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stsw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[1+i]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1), "D,[i+1]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x34, 1), F3(~3, ~0x34, ~1)|SIMM13(~0), "D,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stsw", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI(~0), "C,[1+2]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x35, 0), F3(~3, ~0x35, ~0)|ASI_RS2(~0), "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stsw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[1+i]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1), "C,[i+1]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x35, 1), F3(~3, ~0x35, ~1)|SIMM13(~0), "C,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ +{ "stsw", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI(~0), "F,[1+2]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x25, 0), F3(~3, ~0x25, ~0)|RD_G0|ASI_RS2(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+%g0] */ +{ "stsw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[1+i]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|RD_G0, "F,[i+1]", F_ALIAS, v9 }, +{ "stsw", F3(3, 0x25, 1), F3(~3, ~0x25, ~1)|SIMM13(~0), "F,[1]", F_ALIAS, v9 }, /* st d,[rs1+0] */ + +{ "sta", F3(3, 0x14, 0), F3(~3, ~0x14, ~0), "d,[1+2]A", 0, v6 }, +{ "sta", F3(3, 0x14, 0), F3(~3, ~0x14, ~0)|RS2(~0), "d,[1]A", 0, v6 }, /* sta d,[rs1+%g0] */ + +{ "stwa", F3(3, 0x14, 0), F3(~3, ~0x14, ~0), "d,[1+2]A", F_ALIAS, v9 }, +{ "stwa", F3(3, 0x14, 0), F3(~3, ~0x14, ~0)|RS2(~0), "d,[1]A", F_ALIAS, v9 }, /* sta d,[rs1+%g0] */ + +{ "stswa", F3(3, 0x14, 0), F3(~3, ~0x14, ~0), "d,[1+2]A", F_ALIAS, v9 }, +{ "stswa", F3(3, 0x14, 0), F3(~3, ~0x14, ~0)|RS2(~0), "d,[1]A", F_ALIAS, v9 }, /* sta d,[rs1+%g0] */ + +{ "stuwa", F3(3, 0x14, 0), F3(~3, ~0x14, ~0), "d,[1+2]A", F_ALIAS, v9 }, +{ "stuwa", F3(3, 0x14, 0), F3(~3, ~0x14, ~0)|RS2(~0), "d,[1]A", F_ALIAS, v9 }, /* sta d,[rs1+%g0] */ + +{ "stb", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|ASI(~0), "d,[1+2]", 0, v6 }, +{ "stb", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|ASI_RS2(~0), "d,[1]", 0, v6 }, /* stb d,[rs1+%g0] */ +{ "stb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1), "d,[1+i]", 0, v6 }, +{ "stb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1), "d,[i+1]", 0, v6 }, +{ "stb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1)|SIMM13(~0), "d,[1]", 0, v6 }, /* stb d,[rs1+0] */ + +{ "stub", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|ASI(~0), "d,[1+2]", F_ALIAS, v9 }, +{ "stub", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|ASI_RS2(~0), "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+%g0] */ +{ "stub", F3(3, 0x05, 1), F3(~3, ~0x05, ~1), "d,[1+i]", F_ALIAS, v9 }, +{ "stub", F3(3, 0x05, 1), F3(~3, ~0x05, ~1), "d,[i+1]", F_ALIAS, v9 }, +{ "stub", F3(3, 0x05, 1), F3(~3, ~0x05, ~1)|SIMM13(~0), "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+0] */ + +{ "stsb", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|ASI(~0), "d,[1+2]", F_ALIAS, v9 }, +{ "stsb", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|ASI_RS2(~0), "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+%g0] */ +{ "stsb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1), "d,[1+i]", F_ALIAS, v9 }, +{ "stsb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1), "d,[i+1]", F_ALIAS, v9 }, +{ "stsb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1)|SIMM13(~0), "d,[1]", F_ALIAS, v9 }, /* stb d,[rs1+0] */ + +{ "stba", F3(3, 0x15, 0), F3(~3, ~0x15, ~0), "d,[1+2]A", 0, v6 }, +{ "stba", F3(3, 0x15, 0), F3(~3, ~0x15, ~0)|RS2(~0), "d,[1]A", 0, v6 }, /* stba d,[rs1+%g0] */ + +{ "stsba", F3(3, 0x15, 0), F3(~3, ~0x15, ~0), "d,[1+2]A", F_ALIAS, v9 }, +{ "stsba", F3(3, 0x15, 0), F3(~3, ~0x15, ~0)|RS2(~0), "d,[1]A", F_ALIAS, v9 }, /* stba d,[rs1+%g0] */ + +{ "stuba", F3(3, 0x15, 0), F3(~3, ~0x15, ~0), "d,[1+2]A", F_ALIAS, v9 }, +{ "stuba", F3(3, 0x15, 0), F3(~3, ~0x15, ~0)|RS2(~0), "d,[1]A", F_ALIAS, v9 }, /* stba d,[rs1+%g0] */ + +{ "std", F3(3, 0x07, 0), F3(~3, ~0x07, ~0)|ASI(~0), "d,[1+2]", 0, v6 }, +{ "std", F3(3, 0x07, 0), F3(~3, ~0x07, ~0)|ASI_RS2(~0), "d,[1]", 0, v6 }, /* std d,[rs1+%g0] */ +{ "std", F3(3, 0x07, 1), F3(~3, ~0x07, ~1), "d,[1+i]", 0, v6 }, +{ "std", F3(3, 0x07, 1), F3(~3, ~0x07, ~1), "d,[i+1]", 0, v6 }, +{ "std", F3(3, 0x07, 1), F3(~3, ~0x07, ~1)|SIMM13(~0), "d,[1]", 0, v6 }, /* std d,[rs1+0] */ +{ "std", F3(3, 0x26, 0), F3(~3, ~0x26, ~0)|ASI(~0), "q,[1+2]", 0, v6 }, +{ "std", F3(3, 0x26, 0), F3(~3, ~0x26, ~0)|ASI_RS2(~0), "q,[1]", 0, v6 }, /* std d,[rs1+%g0] */ +{ "std", F3(3, 0x26, 1), F3(~3, ~0x26, ~1), "q,[1+i]", 0, v6 }, +{ "std", F3(3, 0x26, 1), F3(~3, ~0x26, ~1), "q,[i+1]", 0, v6 }, +{ "std", F3(3, 0x26, 1), F3(~3, ~0x26, ~1)|SIMM13(~0), "q,[1]", 0, v6 }, /* std d,[rs1+0] */ +{ "std", F3(3, 0x27, 0), F3(~3, ~0x27, ~0)|ASI(~0), "g,[1+2]", 0, v6 }, +{ "std", F3(3, 0x27, 0), F3(~3, ~0x27, ~0)|ASI_RS2(~0), "g,[1]", 0, v6 }, /* std d,[rs1+%g0] */ +{ "std", F3(3, 0x27, 1), F3(~3, ~0x27, ~1), "g,[1+i]", 0, v6 }, +{ "std", F3(3, 0x27, 1), F3(~3, ~0x27, ~1), "g,[i+1]", 0, v6 }, +{ "std", F3(3, 0x27, 1), F3(~3, ~0x27, ~1)|SIMM13(~0), "g,[1]", 0, v6 }, /* std d,[rs1+0] */ +{ "std", F3(3, 0x36, 0), F3(~3, ~0x36, ~0)|ASI(~0), "Q,[1+2]", 0, v6 }, +{ "std", F3(3, 0x36, 0), F3(~3, ~0x36, ~0)|ASI_RS2(~0), "Q,[1]", 0, v6 }, /* std d,[rs1+%g0] */ +{ "std", F3(3, 0x36, 1), F3(~3, ~0x36, ~1), "Q,[1+i]", 0, v6 }, +{ "std", F3(3, 0x36, 1), F3(~3, ~0x36, ~1), "Q,[i+1]", 0, v6 }, +{ "std", F3(3, 0x36, 1), F3(~3, ~0x36, ~1)|SIMM13(~0), "Q,[1]", 0, v6 }, /* std d,[rs1+0] */ +{ "std", F3(3, 0x37, 0), F3(~3, ~0x37, ~0)|ASI(~0), "D,[1+2]", 0, v6 }, +{ "std", F3(3, 0x37, 0), F3(~3, ~0x37, ~0)|ASI_RS2(~0), "D,[1]", 0, v6 }, /* std d,[rs1+%g0] */ +{ "std", F3(3, 0x37, 1), F3(~3, ~0x37, ~1), "D,[1+i]", 0, v6 }, +{ "std", F3(3, 0x37, 1), F3(~3, ~0x37, ~1), "D,[i+1]", 0, v6 }, +{ "std", F3(3, 0x37, 1), F3(~3, ~0x37, ~1)|SIMM13(~0), "D,[1]", 0, v6 }, /* std d,[rs1+0] */ + +{ "stda", F3(3, 0x17, 0), F3(~3, ~0x17, ~0), "d,[1+2]A", 0, v6 }, +{ "stda", F3(3, 0x17, 0), F3(~3, ~0x17, ~0)|RS2(~0), "d,[1]A", 0, v6 }, /* stda d,[rs1+%g0] */ + +{ "sth", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|ASI(~0), "d,[1+2]", 0, v6 }, +{ "sth", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|ASI_RS2(~0), "d,[1]", 0, v6 }, /* sth d,[rs1+%g0] */ +{ "sth", F3(3, 0x06, 1), F3(~3, ~0x06, ~1), "d,[1+i]", 0, v6 }, +{ "sth", F3(3, 0x06, 1), F3(~3, ~0x06, ~1), "d,[i+1]", 0, v6 }, +{ "sth", F3(3, 0x06, 1), F3(~3, ~0x06, ~1)|SIMM13(~0), "d,[1]", 0, v6 }, /* sth d,[+] */ + +{ "stsh", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|ASI(~0), "d,[1+2]", F_ALIAS, v9 }, +{ "stsh", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|ASI_RS2(~0), "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+%g0] */ +{ "stsh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1), "d,[1+i]", F_ALIAS, v9 }, +{ "stsh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1), "d,[i+1]", F_ALIAS, v9 }, +{ "stsh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1)|SIMM13(~0), "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+0] */ + +{ "stuh", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|ASI(~0), "d,[1+2]", F_ALIAS, v9 }, +{ "stuh", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|ASI_RS2(~0), "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+%g0] */ +{ "stuh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1), "d,[1+i]", F_ALIAS, v9 }, +{ "stuh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1), "d,[i+1]", F_ALIAS, v9 }, +{ "stuh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1)|SIMM13(~0), "d,[1]", F_ALIAS, v9 }, /* sth d,[rs1+0] */ + +{ "stha", F3(3, 0x16, 0), F3(~3, ~0x16, ~0), "d,[1+2]A", 0, v6 }, +{ "stha", F3(3, 0x16, 0), F3(~3, ~0x16, ~0)|RS2(~0), "d,[1]A", 0, v6 }, /* stha ,[+%] */ + +{ "stsha", F3(3, 0x16, 0), F3(~3, ~0x16, ~0), "d,[1+2]A", F_ALIAS, v9 }, +{ "stsha", F3(3, 0x16, 0), F3(~3, ~0x16, ~0)|RS2(~0), "d,[1]A", F_ALIAS, v9 }, /* stha d,[rs1+%g0] */ + +{ "stuha", F3(3, 0x16, 0), F3(~3, ~0x16, ~0), "d,[1+2]A", F_ALIAS, v9 }, +{ "stuha", F3(3, 0x16, 0), F3(~3, ~0x16, ~0)|RS2(~0), "d,[1]A", F_ALIAS, v9 }, /* stha d,[rs1+%g0] */ + +{ "stx", F3(3, 0x1b, 0), F3(~3, ~0x1b, ~0)|ASI(~0), "d,[1+2]", 0, v9 }, +{ "stx", F3(3, 0x1b, 0), F3(~3, ~0x1b, ~0)|ASI_RS2(~0), "d,[1]", 0, v9 }, /* stx d,[rs1+%g0] */ +{ "stx", F3(3, 0x1b, 1), F3(~3, ~0x1b, ~1), "d,[1+i]", 0, v9 }, +{ "stx", F3(3, 0x1b, 1), F3(~3, ~0x1b, ~1), "d,[i+1]", 0, v9 }, +{ "stx", F3(3, 0x1b, 1), F3(~3, ~0x1b, ~1)|SIMM13(~0), "d,[1]", 0, v9 }, /* stx d,[rs1+0] */ + +{ "swap", F3(3, 0x0f, 0), F3(~3, ~0x0f, ~0)|ASI(~0), "[1+2],d", 0, v7 }, +{ "swap", F3(3, 0x0f, 0), F3(~3, ~0x0f, ~0)|ASI_RS2(~0), "[1],d", 0, v7 }, /* swap [rs1+%g0],d */ +{ "swap", F3(3, 0x0f, 1), F3(~3, ~0x0f, ~1), "[1+i],d", 0, v7 }, +{ "swap", F3(3, 0x0f, 1), F3(~3, ~0x0f, ~1), "[i+1],d", 0, v7 }, +{ "swap", F3(3, 0x0f, 1), F3(~3, ~0x0f, ~1)|SIMM13(~0), "[1],d", 0, v7 }, /* swap [rs1+0],d */ + +{ "swapa", F3(3, 0x1f, 0), F3(~3, ~0x1f, ~0), "[1+2]A,d", 0, v7 }, +{ "swapa", F3(3, 0x1f, 0), F3(~3, ~0x1f, ~0)|RS2(~0), "[1]A,d", 0, v7 }, /* swapa [rs1+%g0],d */ + +{ "restore", F3(2, 0x3d, 0), F3(~2, ~0x3d, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "restore", F3(2, 0x3d, 0), F3(~2, ~0x3d, ~0)|RD_G0|RS1_G0|ASI_RS2(~0), "", 0, v6 }, /* restore %g0,%g0,%g0 */ +{ "restore", F3(2, 0x3d, 1), F3(~2, ~0x3d, ~1), "1,i,d", 0, v6 }, +{ "restore", F3(2, 0x3d, 1), F3(~2, ~0x3d, ~1)|RD_G0|RS1_G0|SIMM13(~0), "", 0, v6 }, /* restore %g0,0,%g0 */ + +{ "rett", F3(2, 0x39, 0), F3(~2, ~0x39, ~0)|RD_G0|ASI(~0), "1+2", F_DELAYED, v6 }, /* rett rs1+rs2 */ +{ "rett", F3(2, 0x39, 0), F3(~2, ~0x39, ~0)|RD_G0|ASI_RS2(~0), "1", F_DELAYED, v6 }, /* rett rs1,%g0 */ +{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD_G0, "1+i", F_DELAYED, v6 }, /* rett rs1+X */ +{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD_G0, "i+1", F_DELAYED, v6 }, /* rett X+rs1 */ +{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD_G0|RS1_G0, "i", F_DELAYED, v6 }, /* rett X */ +{ "rett", F3(2, 0x39, 1), F3(~2, ~0x39, ~1)|RD_G0|SIMM13(~0), "1", F_DELAYED, v6 }, /* rett rs1+0 */ + +{ "save", F3(2, 0x3c, 0), F3(~2, ~0x3c, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "save", F3(2, 0x3c, 1), F3(~2, ~0x3c, ~1), "1,i,d", 0, v6 }, + +{ "ret", F3(2, 0x38, 1)|RS1(0x1f)|SIMM13(8), F3(~2, ~0x38, ~1)|SIMM13(~8), "", F_DELAYED, v6 }, /* jmpl %i7+8,%g0 */ +{ "retl", F3(2, 0x38, 1)|RS1(0x0f)|SIMM13(8), F3(~2, ~0x38, ~1)|RS1(~0x0f)|SIMM13(~8), "", F_DELAYED, v6 }, /* jmpl %o7+8,%g0 */ + +{ "jmpl", F3(2, 0x38, 0), F3(~2, ~0x38, ~0)|ASI(~0), "1+2,d", F_DELAYED, v6 }, +{ "jmpl", F3(2, 0x38, 0), F3(~2, ~0x38, ~0)|ASI_RS2(~0), "1,d", F_DELAYED, v6 }, /* jmpl rs1+%g0,d */ +{ "jmpl", F3(2, 0x38, 1), F3(~2, ~0x38, ~1)|SIMM13(~0), "1,d", F_DELAYED, v6 }, /* jmpl rs1+0,d */ +{ "jmpl", F3(2, 0x38, 1), F3(~2, ~0x38, ~1)|RS1_G0, "i,d", F_DELAYED, v6 }, /* jmpl %g0+i,d */ +{ "jmpl", F3(2, 0x38, 1), F3(~2, ~0x38, ~1), "1+i,d", F_DELAYED, v6 }, +{ "jmpl", F3(2, 0x38, 1), F3(~2, ~0x38, ~1), "i+1,d", F_DELAYED, v6 }, + +{ "sll", F3(2, 0x25, 0), F3(~2, ~0x25, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "sll", F3(2, 0x25, 1), F3(~2, ~0x25, ~1), "1,i,d", 0, v6 }, +{ "sra", F3(2, 0x27, 0), F3(~2, ~0x27, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "sra", F3(2, 0x27, 1), F3(~2, ~0x27, ~1), "1,i,d", 0, v6 }, +{ "srl", F3(2, 0x26, 0), F3(~2, ~0x26, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "srl", F3(2, 0x26, 1), F3(~2, ~0x26, ~1), "1,i,d", 0, v6 }, + +{ "sllw", F3(2, 0x25, 0), F3(~2, ~0x25, ~0)|ASI(~0), "1,2,d", F_ALIAS, v9 }, /* sllw === sll */ +{ "sllw", F3(2, 0x25, 1), F3(~2, ~0x25, ~1), "1,i,d", F_ALIAS, v9 }, +{ "sraw", F3(2, 0x27, 0), F3(~2, ~0x27, ~0)|ASI(~0), "1,2,d", F_ALIAS, v9 }, /* sraw === sra */ +{ "sraw", F3(2, 0x27, 1), F3(~2, ~0x27, ~1), "1,i,d", F_ALIAS, v9 }, +{ "srlw", F3(2, 0x26, 0), F3(~2, ~0x26, ~0)|ASI(~0), "1,2,d", F_ALIAS, v9 }, /* srlw === srl */ +{ "srlw", F3(2, 0x26, 1), F3(~2, ~0x26, ~1), "1,i,d", F_ALIAS, v9 }, + +{ "sllx", F3(2, 0x2d, 0), F3(~2, ~0x2d, ~0)|ASI(~0), "1,2,d", 0, v9 }, +{ "sllx", F3(2, 0x2d, 1), F3(~2, ~0x2d, ~1), "1,i,d", 0, v9 }, +{ "srax", F3(2, 0x2f, 0), F3(~2, ~0x2f, ~0)|ASI(~0), "1,2,d", 0, v9 }, +{ "srax", F3(2, 0x2f, 1), F3(~2, ~0x2f, ~1), "1,i,d", 0, v9 }, +{ "srlx", F3(2, 0x2e, 0), F3(~2, ~0x2e, ~0)|ASI(~0), "1,2,d", 0, v9 }, +{ "srlx", F3(2, 0x2e, 1), F3(~2, ~0x2e, ~1), "1,i,d", 0, v9 }, + +{ "mulscc", F3(2, 0x24, 0), F3(~2, ~0x24, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "mulscc", F3(2, 0x24, 1), F3(~2, ~0x24, ~1), "1,i,d", 0, v6 }, + +{ "clr", F3(2, 0x02, 0), F3(~2, ~0x02, ~0)|RD_G0|RS1_G0|ASI_RS2(~0), "d", F_ALIAS, v6 }, /* or %g0,%g0,d */ +{ "clr", F3(2, 0x02, 1), F3(~2, ~0x02, ~1)|RS1_G0|SIMM13(~0), "d", F_ALIAS, v6 }, /* or %g0,0,d */ +{ "clr", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|RD_G0|ASI(~0), "[1+2]", F_ALIAS, v6 }, +{ "clr", F3(3, 0x04, 0), F3(~3, ~0x04, ~0)|RD_G0|ASI_RS2(~0), "[1]", F_ALIAS, v6 }, /* st %g0,[rs1+%g0] */ +{ "clr", F3(3, 0x04, 1), F3(~3, ~0x04, ~1)|RD_G0, "[1+i]", F_ALIAS, v6 }, +{ "clr", F3(3, 0x04, 1), F3(~3, ~0x04, ~1)|RD_G0, "[i+1]", F_ALIAS, v6 }, +{ "clr", F3(3, 0x04, 1), F3(~3, ~0x04, ~1)|RD_G0|SIMM13(~0), "[1]", F_ALIAS, v6 }, /* st %g0,[rs1+0] */ + +{ "clrb", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|RD_G0|ASI(~0), "[1+2]", F_ALIAS, v6 }, +{ "clrb", F3(3, 0x05, 0), F3(~3, ~0x05, ~0)|RD_G0|ASI_RS2(~0), "[1]", F_ALIAS, v6 }, /* stb %g0,[rs1+%g0] */ +{ "clrb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1)|RD_G0, "[1+i]", F_ALIAS, v6 }, +{ "clrb", F3(3, 0x05, 1), F3(~3, ~0x05, ~1)|RD_G0, "[i+1]", F_ALIAS, v6 }, + +{ "clrh", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|RD_G0|ASI(~0), "[1+2]", F_ALIAS, v6 }, +{ "clrh", F3(3, 0x06, 0), F3(~3, ~0x06, ~0)|RD_G0|ASI_RS2(~0), "[1]", F_ALIAS, v6 }, /* sth %g0,[rs1+%g0] */ +{ "clrh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1)|RD_G0, "[1+i]", F_ALIAS, v6 }, +{ "clrh", F3(3, 0x06, 1), F3(~3, ~0x06, ~1)|RD_G0, "[i+1]", F_ALIAS, v6 }, + +{ "orcc", F3(2, 0x12, 0), F3(~2, ~0x12, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "orcc", F3(2, 0x12, 1), F3(~2, ~0x12, ~1), "1,i,d", 0, v6 }, +{ "orcc", F3(2, 0x12, 1), F3(~2, ~0x12, ~1), "i,1,d", 0, v6 }, + +{ "orncc", F3(2, 0x16, 0), F3(~2, ~0x16, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "orncc", F3(2, 0x16, 1), F3(~2, ~0x16, ~1), "1,i,d", 0, v6 }, +{ "orncc", F3(2, 0x16, 1), F3(~2, ~0x16, ~1), "i,1,d", 0, v6 }, + +{ "orn", F3(2, 0x06, 0), F3(~2, ~0x06, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "orn", F3(2, 0x06, 1), F3(~2, ~0x06, ~1), "1,i,d", 0, v6 }, +{ "orn", F3(2, 0x06, 1), F3(~2, ~0x06, ~1), "i,1,d", 0, v6 }, + +{ "tst", F3(2, 0x12, 0), F3(~2, ~0x12, ~0)|RD_G0|ASI_RS2(~0), "1", 0, v6 }, /* orcc rs1, %g0, %g0 */ +{ "tst", F3(2, 0x12, 0), F3(~2, ~0x12, ~0)|RD_G0|RS1_G0|ASI(~0), "2", 0, v6 }, /* orcc %g0, rs2, %g0 */ +{ "tst", F3(2, 0x12, 1), F3(~2, ~0x12, ~1)|RD_G0|SIMM13(~0), "1", 0, v6 }, /* orcc rs1, 0, %g0 */ + +{ "wr", F3(2, 0x30, 0), F3(~2, ~0x30, ~0)|ASI(~0), "1,2,m", 0, v8 }, /* wr r,r,%asrX */ +{ "wr", F3(2, 0x30, 0), F3(~2, ~0x30, ~0)|RD_G0|ASI(~0), "1,2,y", 0, v6 }, /* wr r,r,%y */ +{ "wr", F3(2, 0x30, 0)|RD(0xe), F3(~2, ~0x30, ~0)|RD(~0xe)|ASI(~0), "1,2,Y", 0, v9 }, /* wr r,r,%amr */ +{ "wr", F3(2, 0x30, 1), F3(~2, ~0x30, ~1), "1,i,m", 0, v8 }, /* wr r,i,%asrX */ +{ "wr", F3(2, 0x30, 1), F3(~2, ~0x30, ~1)|RD_G0, "1,i,y", 0, v6 }, /* wr r,i,%y */ +{ "wr", F3(2, 0x30, 1)|RD(0xe), F3(~2, ~0x30, ~1)|RD(~0xe), "1,i,Y", 0, v9 }, /* wr r,i,%amr */ +{ "wr", F3(2, 0x31, 0), F3(~2, ~0x31, ~0)|RD_G0|ASI(~0), "1,2,p", 0, v6 }, /* wr r,r,%psr */ +{ "wr", F3(2, 0x31, 1), F3(~2, ~0x31, ~1)|RD_G0, "1,i,p", 0, v6 }, /* wr r,i,%psr */ +{ "wr", F3(2, 0x32, 0), F3(~2, ~0x32, ~0)|RD_G0|ASI(~0), "1,2,w", 0, v6 }, /* wr r,r,%wim */ +{ "wr", F3(2, 0x32, 1), F3(~2, ~0x32, ~1)|RD_G0, "1,i,w", 0, v6 }, /* wr r,i,%wim */ +{ "wr", F3(2, 0x33, 0), F3(~2, ~0x33, ~0)|RD_G0|ASI(~0), "1,2,t", 0, v6 }, /* wr r,r,%tbr */ +{ "wr", F3(2, 0x33, 1), F3(~2, ~0x33, ~1)|RD_G0, "1,i,t", 0, v6 }, /* wr r,i,%tbr */ + +{ "rd", F3(2, 0x28, 0), F3(~2, ~0x28, ~0)|SIMM13(~0), "M,d", 0, v8 }, /* rd %asr1,r */ +{ "rd", F3(2, 0x28, 0), F3(~2, ~0x28, ~0)|RS1_G0|SIMM13(~0), "y,d", 0, v6 }, /* rd %y,r */ +{ "rd", F3(2, 0x28, 0)|RS1(0xe), F3(~2, ~0x28, ~0)|RS1(0x1)|SIMM13(~0), "Y,d", 0, v9 }, /* rd %amr,r */ +{ "rd", F3(2, 0x29, 0), F3(~2, ~0x29, ~0)|RS1_G0|SIMM13(~0), "p,d", 0, v6 }, /* rd %psr,r */ +{ "rd", F3(2, 0x2a, 0), F3(~2, ~0x2a, ~0)|RS1_G0|SIMM13(~0), "w,d", 0, v6 }, /* rd %wim,r */ +{ "rd", F3(2, 0x2b, 0), F3(~2, ~0x2b, ~0)|RS1_G0|SIMM13(~0), "t,d", 0, v6 }, /* rd %tbr,r */ + +{ "mov", F3(2, 0x30, 0), F3(~2, ~0x30, ~0)|ASI(~0), "1,2,m", F_ALIAS, v8 }, /* wr r,r,%asrX */ +{ "mov", F3(2, 0x30, 0), F3(~2, ~0x30, ~0)|RD_G0|ASI(~0), "1,2,y", F_ALIAS, v6 }, /* wr r,r,%y */ +{ "mov", F3(2, 0x30, 0)|RD(0xe), F3(~2, ~0x30, ~0)|RD(~0xe)|ASI(~0), "1,2,Y", F_ALIAS, v9 }, /* wr r,r,%amr */ +{ "mov", F3(2, 0x30, 1), F3(~2, ~0x30, ~1), "1,i,m", F_ALIAS, v8 }, /* wr r,i,%asrX */ +{ "mov", F3(2, 0x30, 1), F3(~2, ~0x30, ~1)|RD_G0, "1,i,y", F_ALIAS, v6 }, /* wr r,i,%y */ +{ "mov", F3(2, 0x30, 1)|RD(0xe), F3(~2, ~0x30, ~1)|RD(~0xe), "1,i,Y", F_ALIAS, v9 }, /* wr r,i,%amr */ +{ "mov", F3(2, 0x31, 0), F3(~2, ~0x31, ~0)|RD_G0|ASI(~0), "1,2,p", F_ALIAS, v6 }, /* wr r,r,%psr */ +{ "mov", F3(2, 0x31, 1), F3(~2, ~0x31, ~1)|RD_G0, "1,i,p", F_ALIAS, v6 }, /* wr r,i,%psr */ +{ "mov", F3(2, 0x32, 0), F3(~2, ~0x32, ~0)|RD_G0|ASI(~0), "1,2,w", F_ALIAS, v6 }, /* wr r,r,%wim */ +{ "mov", F3(2, 0x32, 1), F3(~2, ~0x32, ~1)|RD_G0, "1,i,w", F_ALIAS, v6 }, /* wr r,i,%wim */ +{ "mov", F3(2, 0x33, 0), F3(~2, ~0x33, ~0)|RD_G0|ASI(~0), "1,2,t", F_ALIAS, v6 }, /* wr r,r,%tbr */ +{ "mov", F3(2, 0x33, 1), F3(~2, ~0x33, ~1)|RD_G0, "1,i,t", F_ALIAS, v6 }, /* wr r,i,%tbr */ + +{ "mov", F3(2, 0x28, 0), F3(~2, ~0x28, ~0)|SIMM13(~0), "M,d", F_ALIAS, v8 }, /* rd %asr1,r */ +{ "mov", F3(2, 0x28, 0), F3(~2, ~0x28, ~0)|RS1_G0|SIMM13(~0), "y,d", F_ALIAS, v6 }, /* rd %y,r */ +{ "mov", F3(2, 0x28, 0)|RS1(0xe), F3(~2, ~0x28, ~0)|RS1(~0xe)|SIMM13(~0), "Y,d", F_ALIAS, v9 }, /* rd %amr,r */ +{ "mov", F3(2, 0x29, 0), F3(~2, ~0x29, ~0)|RS1_G0|SIMM13(~0), "p,d", F_ALIAS, v6 }, /* rd %psr,r */ +{ "mov", F3(2, 0x2a, 0), F3(~2, ~0x2a, ~0)|RS1_G0|SIMM13(~0), "w,d", F_ALIAS, v6 }, /* rd %wim,r */ +{ "mov", F3(2, 0x2b, 0), F3(~2, ~0x2b, ~0)|RS1_G0|SIMM13(~0), "t,d", F_ALIAS, v6 }, /* rd %tbr,r */ + +{ "mov", F3(2, 0x30, 0), F3(~2, ~0x30, ~0)|ASI_RS2(~0), "1,y", F_ALIAS, v6 }, /* wr rs1,%g0,%y */ +{ "mov", F3(2, 0x30, 1), F3(~2, ~0x30, ~1), "i,y", F_ALIAS, v6 }, +{ "mov", F3(2, 0x30, 1), F3(~2, ~0x30, ~1)|SIMM13(~0), "1,y", F_ALIAS, v6 }, /* wr rs1,0,%y */ +{ "mov", F3(2, 0x31, 0), F3(~2, ~0x31, ~0)|ASI_RS2(~0), "1,p", F_ALIAS, v6 }, /* wr rs1,%g0,%psr */ +{ "mov", F3(2, 0x31, 1), F3(~2, ~0x31, ~1), "i,p", F_ALIAS, v6 }, +{ "mov", F3(2, 0x31, 1), F3(~2, ~0x31, ~1)|SIMM13(~0), "1,p", F_ALIAS, v6 }, /* wr rs1,0,%psr */ +{ "mov", F3(2, 0x32, 0), F3(~2, ~0x32, ~0)|ASI_RS2(~0), "1,w", F_ALIAS, v6 }, /* wr rs1,%g0,%wim */ +{ "mov", F3(2, 0x32, 1), F3(~2, ~0x32, ~1), "i,w", F_ALIAS, v6 }, +{ "mov", F3(2, 0x32, 1), F3(~2, ~0x32, ~1)|SIMM13(~0), "1,w", F_ALIAS, v6 }, /* wr rs1,0,%wim */ +{ "mov", F3(2, 0x33, 0), F3(~2, ~0x33, ~0)|ASI_RS2(~0), "1,t", F_ALIAS, v6 }, /* wr rs1,%g0,%tbr */ +{ "mov", F3(2, 0x33, 1), F3(~2, ~0x33, ~1), "i,t", F_ALIAS, v6 }, +{ "mov", F3(2, 0x33, 1), F3(~2, ~0x33, ~1)|SIMM13(~0), "1,t", F_ALIAS, v6 }, /* wr rs1,0,%tbr */ + +{ "mov", F3(2, 0x02, 0), F3(~2, ~0x02, ~0)|RS1_G0|ASI(~0), "2,d", 0, v6 }, /* or %g0,rs2,d */ +{ "mov", F3(2, 0x02, 1), F3(~2, ~0x02, ~1)|RS1_G0, "i,d", 0, v6 }, /* or %g0,i,d */ +{ "mov", F3(2, 0x02, 0), F3(~2, ~0x02, ~0)|ASI_RS2(~0), "1,d", 0, v6 }, /* or rs1,%g0,d */ +{ "mov", F3(2, 0x02, 1), F3(~2, ~0x02, ~1)|SIMM13(~0), "1,d", 0, v6 }, /* or rs1,0,d */ + +{ "or", F3(2, 0x02, 0), F3(~2, ~0x02, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "or", F3(2, 0x02, 1), F3(~2, ~0x02, ~1), "1,i,d", 0, v6 }, +{ "or", F3(2, 0x02, 1), F3(~2, ~0x02, ~1), "i,1,d", 0, v6 }, + +{ "bset", F3(2, 0x02, 0), F3(~2, ~0x02, ~0)|ASI(~0), "2,r", F_ALIAS, v6 }, /* or rd,rs2,rd */ +{ "bset", F3(2, 0x02, 1), F3(~2, ~0x02, ~1), "i,r", F_ALIAS, v6 }, /* or rd,i,rd */ + +{ "andn", F3(2, 0x05, 0), F3(~2, ~0x05, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "andn", F3(2, 0x05, 1), F3(~2, ~0x05, ~1), "1,i,d", 0, v6 }, +{ "andn", F3(2, 0x05, 1), F3(~2, ~0x05, ~1), "i,1,d", 0, v6 }, + +{ "andncc", F3(2, 0x15, 0), F3(~2, ~0x15, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "andncc", F3(2, 0x15, 1), F3(~2, ~0x15, ~1), "1,i,d", 0, v6 }, +{ "andncc", F3(2, 0x15, 1), F3(~2, ~0x15, ~1), "i,1,d", 0, v6 }, + +{ "bclr", F3(2, 0x05, 0), F3(~2, ~0x05, ~0)|ASI(~0), "2,r", F_ALIAS, v6 }, /* andn rd,rs2,rd */ +{ "bclr", F3(2, 0x05, 1), F3(~2, ~0x05, ~1), "i,r", F_ALIAS, v6 }, /* andn rd,i,rd */ + +{ "cmp", F3(2, 0x14, 0), F3(~2, ~0x14, ~0)|RD_G0|ASI(~0), "1,2", 0, v6 }, /* subcc rs1,rs2,%g0 */ +{ "cmp", F3(2, 0x14, 1), F3(~2, ~0x14, ~1)|RD_G0, "1,i", 0, v6 }, /* subcc rs1,i,%g0 */ + +{ "sub", F3(2, 0x04, 0), F3(~2, ~0x04, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "sub", F3(2, 0x04, 1), F3(~2, ~0x04, ~1), "1,i,d", 0, v6 }, + +{ "subcc", F3(2, 0x14, 0), F3(~2, ~0x14, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "subcc", F3(2, 0x14, 1), F3(~2, ~0x14, ~1), "1,i,d", 0, v6 }, + +{ "subx", F3(2, 0x0c, 0), F3(~2, ~0x0c, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "subx", F3(2, 0x0c, 1), F3(~2, ~0x0c, ~1), "1,i,d", 0, v6 }, + +{ "subxcc", F3(2, 0x1c, 0), F3(~2, ~0x1c, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "subxcc", F3(2, 0x1c, 1), F3(~2, ~0x1c, ~1), "1,i,d", 0, v6 }, + +{ "and", F3(2, 0x01, 0), F3(~2, ~0x01, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "and", F3(2, 0x01, 1), F3(~2, ~0x01, ~1), "1,i,d", 0, v6 }, +{ "and", F3(2, 0x01, 1), F3(~2, ~0x01, ~1), "i,1,d", 0, v6 }, + +{ "andcc", F3(2, 0x11, 0), F3(~2, ~0x11, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "andcc", F3(2, 0x11, 1), F3(~2, ~0x11, ~1), "1,i,d", 0, v6 }, +{ "andcc", F3(2, 0x11, 1), F3(~2, ~0x11, ~1), "i,1,d", 0, v6 }, + +{ "dec", F3(2, 0x04, 1)|SIMM13(0x1), F3(~2, ~0x04, ~1)|SIMM13(~0x0001), "r", F_ALIAS, v6 }, /* sub rd,1,rd */ +{ "deccc", F3(2, 0x14, 1)|SIMM13(0x1), F3(~2, ~0x14, ~1)|SIMM13(~0x0001), "r", F_ALIAS, v6 }, /* subcc rd,1,rd */ +{ "inc", F3(2, 0x00, 1)|SIMM13(0x1), F3(~2, ~0x00, ~1)|SIMM13(~0x0001), "r", F_ALIAS, v6 }, /* add rs1,1,rsd */ +{ "inccc", F3(2, 0x10, 1)|SIMM13(0x1), F3(~2, ~0x10, ~1)|SIMM13(~0x0001), "r", F_ALIAS, v6 }, /* addcc rd,1,rd */ + +{ "btst", F3(2, 0x11, 0), F3(~2, ~0x11, ~0)|RD_G0|ASI(~0), "1,2", F_ALIAS, v6 }, /* andcc rs1,rs2,%g0 */ +{ "btst", F3(2, 0x11, 1), F3(~2, ~0x11, ~1)|RD_G0, "i,1", F_ALIAS, v6 }, /* andcc rs1,i,%g0 */ + +{ "neg", F3(2, 0x04, 0), F3(~2, ~0x04, ~0)|RS1_G0|ASI(~0), "2,d", F_ALIAS, v6 }, /* sub %g0,rs2,rd */ +{ "neg", F3(2, 0x04, 0), F3(~2, ~0x04, ~0)|RS1_G0|ASI(~0), "r", F_ALIAS, v6 }, /* sub %g0,rd,rd */ + +{ "add", F3(2, 0x00, 0), F3(~2, ~0x00, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "add", F3(2, 0x00, 1), F3(~2, ~0x00, ~1), "1,i,d", 0, v6 }, +{ "add", F3(2, 0x00, 1), F3(~2, ~0x00, ~1), "i,1,d", 0, v6 }, +{ "addcc", F3(2, 0x10, 0), F3(~2, ~0x10, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "addcc", F3(2, 0x10, 1), F3(~2, ~0x10, ~1), "1,i,d", 0, v6 }, +{ "addcc", F3(2, 0x10, 1), F3(~2, ~0x10, ~1), "i,1,d", 0, v6 }, +{ "addx", F3(2, 0x08, 0), F3(~2, ~0x08, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "addx", F3(2, 0x08, 1), F3(~2, ~0x08, ~1), "1,i,d", 0, v6 }, +{ "addx", F3(2, 0x08, 1), F3(~2, ~0x08, ~1), "i,1,d", 0, v6 }, +{ "addxcc", F3(2, 0x18, 0), F3(~2, ~0x18, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "addxcc", F3(2, 0x18, 1), F3(~2, ~0x18, ~1), "1,i,d", 0, v6 }, +{ "addxcc", F3(2, 0x18, 1), F3(~2, ~0x18, ~1), "i,1,d", 0, v6 }, + +{ "smul", F3(2, 0x0b, 0), F3(~2, ~0x0b, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "smul", F3(2, 0x0b, 1), F3(~2, ~0x0b, ~1), "1,i,d", 0, v8 }, +{ "smul", F3(2, 0x0b, 1), F3(~2, ~0x0b, ~1), "i,1,d", 0, v8 }, +{ "smulcc", F3(2, 0x1b, 0), F3(~2, ~0x1b, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "smulcc", F3(2, 0x1b, 1), F3(~2, ~0x1b, ~1), "1,i,d", 0, v8 }, +{ "smulcc", F3(2, 0x1b, 1), F3(~2, ~0x1b, ~1), "i,1,d", 0, v8 }, +{ "umul", F3(2, 0x0a, 0), F3(~2, ~0x0a, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "umul", F3(2, 0x0a, 1), F3(~2, ~0x0a, ~1), "1,i,d", 0, v8 }, +{ "umul", F3(2, 0x0a, 1), F3(~2, ~0x0a, ~1), "i,1,d", 0, v8 }, +{ "umulcc", F3(2, 0x1a, 0), F3(~2, ~0x1a, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "umulcc", F3(2, 0x1a, 1), F3(~2, ~0x1a, ~1), "1,i,d", 0, v8 }, +{ "umulcc", F3(2, 0x1a, 1), F3(~2, ~0x1a, ~1), "i,1,d", 0, v8 }, + +{ "sdiv", F3(2, 0x0f, 0), F3(~2, ~0x0f, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "sdiv", F3(2, 0x0f, 1), F3(~2, ~0x0f, ~1), "1,i,d", 0, v8 }, +{ "sdiv", F3(2, 0x0f, 1), F3(~2, ~0x0f, ~1), "i,1,d", 0, v8 }, +{ "sdivcc", F3(2, 0x1f, 0), F3(~2, ~0x1f, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "sdivcc", F3(2, 0x1f, 1), F3(~2, ~0x1f, ~1), "1,i,d", 0, v8 }, +{ "sdivcc", F3(2, 0x1f, 1), F3(~2, ~0x1f, ~1), "i,1,d", 0, v8 }, +{ "udiv", F3(2, 0x0e, 0), F3(~2, ~0x0e, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "udiv", F3(2, 0x0e, 1), F3(~2, ~0x0e, ~1), "1,i,d", 0, v8 }, +{ "udiv", F3(2, 0x0e, 1), F3(~2, ~0x0e, ~1), "i,1,d", 0, v8 }, +{ "udivcc", F3(2, 0x1e, 0), F3(~2, ~0x1e, ~0)|ASI(~0), "1,2,d", 0, v8 }, +{ "udivcc", F3(2, 0x1e, 1), F3(~2, ~0x1e, ~1), "1,i,d", 0, v8 }, +{ "udivcc", F3(2, 0x1e, 1), F3(~2, ~0x1e, ~1), "i,1,d", 0, v8 }, + +{ "call", F1(0x1), F1(~0x1), "L", F_DELAYED, v6 }, +{ "call", F1(0x1), F1(~0x1), "L,#", F_DELAYED, v6 }, +{ "call", F3(2, 0x38, 0)|RD(0xf), F3(~2, ~0x38, ~0)|RD(~0xf)|ASI_RS2(~0), "1", F_DELAYED, v6 }, /* jmpl rs1+%g0, %o7 */ +{ "call", F3(2, 0x38, 0)|RD(0xf), F3(~2, ~0x38, ~0)|RD(~0xf)|ASI_RS2(~0), "1,#", F_DELAYED, v6 }, /* Conditional instructions. @@ -735,12 +774,6 @@ static const struct sparc_opcode sparc_opcodes[] = { macrofied it so that all the branches and traps are generated from a single-line description of each condition value. */ -#define ANNUL (1<<29) -#define BPRED (1<<21) /* v9 */ -#define IMMED F3I(1) -#define RS1_G0 RS1(~0) -#define RS2_G0 RS2(~0) - /* Define branches -- one annulled, one without, etc. */ #define br(opcode, mask, lose, flags) \ { opcode, (mask)|ANNUL, (lose), ",al", (flags), v6 }, \ @@ -775,7 +808,7 @@ static const struct sparc_opcode sparc_opcodes[] = { #define condx(bop, top, mask, flags) /* v9 */ \ brx(bop, F2(0, 3)|(mask), F2(~0, ~3)|((~(mask))&COND(~0)), (flags)), /* v9 */ \ - trx(top, F3(0x2, 0x3e, 0)|(mask), F3(~0x2, ~0x3e, 0)|((~(mask))&COND(~0)), (flags)) /* v9 */ + trx(top, F3(2, 0x3e, 0)|(mask), F3(~2, ~0x3e, 0)|((~(mask))&COND(~0)), (flags)) /* v9 */ /* Define all the conditions, all the branches, all the traps. */ @@ -831,271 +864,210 @@ cond ("bz", "tz", CONDZ, F_ALIAS), /* for e */ #undef brx /* v9 */ #undef trx /* v9 */ -{ "brneg", 0x17400000, 0xc8910000, ",Tk", F_DELAYED, v9 }, -{ "brneg", 0x17400000, 0xc8910000, ",Nk", F_DELAYED, v9 }, -{ "brneg", 0x17400000, 0xc8910000, ",a,Tk", F_DELAYED, v9 }, -{ "brneg", 0x17400000, 0xc8910000, ",a,Nk", F_DELAYED, v9 }, -{ "brneg", 0x17400000, 0xc8910000, ",ak", F_DELAYED, v9 }, -{ "brneg", 0x17400000, 0xc8910000, "k", F_DELAYED, v9 }, -{ "brneg32", 0x07400000, 0xd8910000, ",Tk", F_DELAYED, v9 }, -{ "brneg32", 0x07400000, 0xd8910000, ",Nk", F_DELAYED, v9 }, -{ "brneg32", 0x07400000, 0xd8910000, ",a,Tk", F_DELAYED, v9 }, -{ "brneg32", 0x07400000, 0xd8910000, ",a,Nk", F_DELAYED, v9 }, -{ "brneg32", 0x07400000, 0xd8910000, ",ak", F_DELAYED, v9 }, -{ "brneg32", 0x07400000, 0xd8910000, "k", F_DELAYED, v9 }, -{ "brnz", 0x13400000, 0xcc910000, ",Tk", F_DELAYED, v9 }, -{ "brnz", 0x13400000, 0xcc910000, ",Nk", F_DELAYED, v9 }, -{ "brnz", 0x13400000, 0xcc910000, ",a,Tk", F_DELAYED, v9 }, -{ "brnz", 0x13400000, 0xcc910000, ",a,Nk", F_DELAYED, v9 }, -{ "brnz", 0x13400000, 0xcc910000, ",ak", F_DELAYED, v9 }, -{ "brnz", 0x13400000, 0xcc910000, "k", F_DELAYED, v9 }, -{ "brnz32", 0x03400000, 0xdc910000, ",Tk", F_DELAYED, v9 }, -{ "brnz32", 0x03400000, 0xdc910000, ",Nk", F_DELAYED, v9 }, -{ "brnz32", 0x03400000, 0xdc910000, ",a,Tk", F_DELAYED, v9 }, -{ "brnz32", 0x03400000, 0xdc910000, ",a,Nk", F_DELAYED, v9 }, -{ "brnz32", 0x03400000, 0xdc910000, ",ak", F_DELAYED, v9 }, -{ "brnz32", 0x03400000, 0xdc910000, "k", F_DELAYED, v9 }, -{ "brpos", 0x15400000, 0xca910000, ",Tk", F_DELAYED, v9 }, -{ "brpos", 0x15400000, 0xca910000, ",Nk", F_DELAYED, v9 }, -{ "brpos", 0x15400000, 0xca910000, ",a,Tk", F_DELAYED, v9 }, -{ "brpos", 0x15400000, 0xca910000, ",a,Nk", F_DELAYED, v9 }, -{ "brpos", 0x15400000, 0xca910000, ",ak", F_DELAYED, v9 }, -{ "brpos", 0x15400000, 0xca910000, "k", F_DELAYED, v9 }, -{ "brpos32", 0x05400000, 0xda910000, ",Tk", F_DELAYED, v9 }, -{ "brpos32", 0x05400000, 0xda910000, ",Nk", F_DELAYED, v9 }, -{ "brpos32", 0x05400000, 0xda910000, ",a,Tk", F_DELAYED, v9 }, -{ "brpos32", 0x05400000, 0xda910000, ",a,Nk", F_DELAYED, v9 }, -{ "brpos32", 0x05400000, 0xda910000, ",ak", F_DELAYED, v9 }, -{ "brpos32", 0x05400000, 0xda910000, "k", F_DELAYED, v9 }, -{ "brz", 0x11400000, 0xce910000, ",Tk", F_DELAYED, v9 }, -{ "brz", 0x11400000, 0xce910000, ",Nk", F_DELAYED, v9 }, -{ "brz", 0x11400000, 0xce910000, ",a,Tk", F_DELAYED, v9 }, -{ "brz", 0x11400000, 0xce910000, ",a,Nk", F_DELAYED, v9 }, -{ "brz", 0x11400000, 0xce910000, ",ak", F_DELAYED, v9 }, -{ "brz", 0x11400000, 0xce910000, "k", F_DELAYED, v9 }, -{ "brz32", 0x01400000, 0xde910000, ",Tk", F_DELAYED, v9 }, -{ "brz32", 0x01400000, 0xde910000, ",Nk", F_DELAYED, v9 }, -{ "brz32", 0x01400000, 0xde910000, ",a,Tk", F_DELAYED, v9 }, -{ "brz32", 0x01400000, 0xde910000, ",a,Nk", F_DELAYED, v9 }, -{ "brz32", 0x01400000, 0xde910000, ",ak", F_DELAYED, v9 }, -{ "brz32", 0x01400000, 0xde910000, "k", F_DELAYED, v9 }, - -{ "jmp", 0x81c00000, 0x7e382000, "1+2", F_DELAYED, v6 }, /* jmpl rs1+rs2,%g0 */ -{ "jmp", 0x81c00000, 0x7e38201f, "1", F_DELAYED, v6 }, /* jmpl rs1+%g0,%g0 */ -{ "jmp", 0x81c02000, 0x7e380000, "1+i", F_DELAYED, v6 }, /* jmpl rs1+i,%g0 */ -{ "jmp", 0x81c02000, 0x7e380000, "i+1", F_DELAYED, v6 }, /* jmpl i+rs1,%g0 */ -{ "jmp", 0x81c02000, 0x7e3fc000, "i", F_DELAYED, v6 }, /* jmpl %g0+i,%g0 */ - -{ "nop", F2(0, 4), ~F2(0, 4), "", 0, v6 }, /* sethi 0, %g0 */ - -{ "set", 0x01000000, 0xc0c00000, "Sh,d", F_ALIAS, v6 }, - -{ "sethi", 0x01000000, 0xc0c00000, "h,d", 0, v6 }, - -{ "taddcc", 0x81000000, 0x40f80000, "1,2,d", 0, v6 }, -{ "taddcc", 0x81002000, 0x40f80000, "1,i,d", 0, v6 }, -{ "taddcctv", 0x81100000, 0x40e00000, "1,2,d", 0, v6 }, -{ "taddcctv", 0x81102000, 0x40e00000, "1,i,d", 0, v6 }, - -{ "tsubcc", 0x81080000, 0x40f00000, "1,2,d", 0, v6 }, -{ "tsubcc", 0x81082000, 0x40f00000, "1,i,d", 0, v6 }, -{ "tsubcctv", 0x80580000, 0x40a00000, "1,2,d", 0, v6 }, -{ "tsubcctv", 0x80582000, 0x40a00000, "1,i,d", 0, v6 }, - -{ "unimp", 0x00000000, 0xffffffff, "l", 0, v6 }, - -{ "iflush", 0x81d80000, 0x40202000, "1+2", 0, v6 }, -{ "iflush", 0x81d82000, 0x40200000, "1+i", 0, v6 }, - -{ "xnor", 0x80380000, 0x41c00000, "1,2,d", 0, v6 }, -{ "xnor", 0x80382000, 0x41c00000, "1,i,d", 0, v6 }, -{ "xnor", 0x80382000, 0x41c00000, "i,1,d", 0, v6 }, -{ "xnorcc", 0x80b80000, 0x41400000, "1,2,d", 0, v6 }, -{ "xnorcc", 0x80b82000, 0x41400000, "1,i,d", 0, v6 }, -{ "xnorcc", 0x80b82000, 0x41400000, "i,1,d", 0, v6 }, -{ "xor", 0x80180000, 0x41e00000, "1,2,d", 0, v6 }, -{ "xor", 0x80182000, 0x41e00000, "1,i,d", 0, v6 }, -{ "xor", 0x80182000, 0x41e00000, "i,1,d", 0, v6 }, -{ "xorcc", 0x80980000, 0x41600000, "1,2,d", 0, v6 }, -{ "xorcc", 0x80982000, 0x41600000, "1,i,d", 0, v6 }, -{ "xorcc", 0x80982000, 0x41600000, "i,1,d", 0, v6 }, - -{ "not", 0x80380000, 0x41c00000, "1,d", F_ALIAS, v6 }, /* xnor rs1,%0,rd */ -{ "not", 0x80380000, 0x41c00000, "r", F_ALIAS, v6 }, /* xnor rd,%0,rd */ - -{ "btog", 0x80180000, 0x41e02000, "2,r", F_ALIAS, v6 }, /* xor rd,rs2,rd */ -{ "btog", 0x80182000, 0x41e00000, "i,r", F_ALIAS, v6 }, /* xor rd,i,rd */ - -{ "fpop1", 0x81a00000, 0x40580000, "[1+2],d", 0, v6 }, -{ "fpop2", 0x81a80000, 0x40500000, "[1+2],d", 0, v6 }, - -{ "fb", 0x11800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fb", 0x31800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fba", 0x11800000, 0xc0400000, "l", F_DELAYED|F_ALIAS, v6 }, -{ "fba", 0x31800000, 0xc0400000, ",al", F_DELAYED|F_ALIAS, v6 }, -{ "fbe", 0x13800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbe", 0x33800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbg", 0x0d800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbg", 0x2d800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbge", 0x17800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbge", 0x37800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbl", 0x09800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbl", 0x29800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fble", 0x1b800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fble", 0x3b800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fblg", 0x05800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fblg", 0x25800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbn", 0x01800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbn", 0x21800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbne", 0x03800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbne", 0x23800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbo", 0x1f800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbo", 0x3f800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbu", 0x0f800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbu", 0x2f800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbue", 0x15800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbue", 0x35800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbug", 0x0b800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbug", 0x2b800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbuge", 0x19800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbuge", 0x39800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbul", 0x07800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbul", 0x27800000, 0xc0400000, ",al", F_DELAYED, v6 }, -{ "fbule", 0x1d800000, 0xc0400000, "l", F_DELAYED, v6 }, -{ "fbule", 0x3d800000, 0xc0400000, ",al", F_DELAYED, v6 }, - -{ "cb0", 0x13c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb0", 0x33c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb01", 0x1bc00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb01", 0x3bc00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb012", 0x1fc00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb012", 0x3fc00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb013", 0x1dc00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb013", 0x3dc00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb02", 0x17c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb02", 0x37c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb023", 0x19c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb023", 0x39c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb03", 0x15c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb03", 0x35c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb1", 0x09c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb1", 0x29c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb12", 0x05c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb12", 0x25c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb123", 0x03c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb123", 0x23c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb13", 0x07c00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb13", 0x27c00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb2", 0x0dc00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb2", 0x2dc00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb23", 0x0bc00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb23", 0x2bc00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cb3", 0x0fc00000, 0xc0000000, "l", F_DELAYED, v6 }, -{ "cb3", 0x2fc00000, 0xc0000000, ",al", F_DELAYED, v6 }, -{ "cba", 0x11c00000, 0xce000000, "l", F_DELAYED, v6 }, -{ "cba", 0x31c00000, 0xce000000, ",al", F_DELAYED, v6 }, -{ "cbn", 0x01c00000, 0xde000000, "l", F_DELAYED, v6 }, -{ "cbn", 0x21c00000, 0xde000000, ",al", F_DELAYED, v6 }, - -{ "fdtoi", 0x81a01a40, 0x400025a0, "f,g", 0, v6 }, -{ "fstoi", 0x81a01a20, 0x400025c0, "f,g", 0, v6 }, +#define brr(opcode, mask, lose) /* v9 */ \ + { opcode, (mask), (lose)|ANNUL|BPRED, "k", F_DELAYED, v9 }, \ + { opcode, (mask), (lose)|ANNUL|BPRED, ",Nk", F_DELAYED, v9 }, \ + { opcode, (mask)|ANNUL, (lose)|BPRED, ",ak", F_DELAYED, v9 }, \ + { opcode, (mask)|ANNUL, (lose)|BPRED, ",a,Nk", F_DELAYED, v9 }, \ + { opcode, (mask)|BPRED, (lose)|ANNUL, ",Tk", F_DELAYED, v9 }, \ + { opcode, (mask)|ANNUL|BPRED, (lose), ",a,Tk", F_DELAYED, v9 } + +#define condr(bop, mask) /* v9 */ \ + brr(bop, F2(0, 5)|COND(mask), F2(~0, ~5)|COND(~(mask))) /* v9 */ \ + +/* v9 */ condr("brneg", 0xb), +/* v9 */ condr("brneg32", 0x3), +/* v9 */ condr("brnz", 0x9), +/* v9 */ condr("brnz32", 0x1), +/* v9 */ condr("brpos", 0xa), +/* v9 */ condr("brpos32", 0x2), +/* v9 */ condr("brz", 0x8), +/* v9 */ condr("brz32", 0x0), + +#undef condr /* v9 */ +#undef brr /* v9 */ + +#define brfc(opcode, mask, lose) \ + { opcode, (mask), (lose)|ANNUL, "l", F_DELAYED, v6 }, \ + { opcode, (mask)|ANNUL, (lose), ",al", F_DELAYED, v6 } + +#define condfc(fop, cop, mask) \ + brfc(fop, F2(0, 6)|COND(mask), F2(~0, ~6)|COND(~(mask))), \ + brfc(cop, F2(0, 7)|COND(mask), F2(~0, ~7)|COND(~(mask))) \ + +condfc("fb", "cb", 0x8), +condfc("fba", "cba", 0x8), +condfc("fbe", "cb0", 0x9), +condfc("fbg", "cb2", 0x6), +condfc("fbge", "cb02", 0xb), +condfc("fbl", "cb1", 0x4), +condfc("fble", "cb01", 0xd), +condfc("fblg", "cb12", 0x2), +condfc("fbn", "cbn", 0x0), +condfc("fbne", "cb123", 0x1), +condfc("fbo", "cb012", 0xf), +condfc("fbu", "cb3", 0x7), +condfc("fbue", "cb03", 0xa), +condfc("fbug", "cb23", 0x5), +condfc("fbuge", "cb023", 0xc), +condfc("fbul", "cb13", 0x3), +condfc("fbule", "cb013", 0xe), + +#undef condfc +#undef brfc + +{ "jmp", F3(2, 0x38, 0), F3(~2, ~0x38, ~0)|RD_G0|ASI(~0), "1+2", F_DELAYED, v6 }, /* jmpl rs1+rs2,%g0 */ +{ "jmp", F3(2, 0x38, 0), F3(~2, ~0x38, ~0)|RD_G0|ASI_RS2(~0), "1", F_DELAYED, v6 }, /* jmpl rs1+%g0,%g0 */ +{ "jmp", F3(2, 0x38, 1), F3(~2, ~0x38, ~1)|RD_G0, "1+i", F_DELAYED, v6 }, /* jmpl rs1+i,%g0 */ +{ "jmp", F3(2, 0x38, 1), F3(~2, ~0x38, ~1)|RD_G0, "i+1", F_DELAYED, v6 }, /* jmpl i+rs1,%g0 */ +{ "jmp", F3(2, 0x38, 1), F3(~2, ~0x38, ~1)|RD_G0|RS1(~0x0), "i", F_DELAYED, v6 }, /* jmpl %g0+i,%g0 */ + +{ "nop", F2(0, 4), F2(~0, ~4), "", 0, v6 }, /* sethi 0, %g0 */ + +{ "set", F2(0x0, 0x4), F2(~0x0, ~0x4), "Sh,d", F_ALIAS, v6 }, + +{ "sethi", F2(0x0, 0x4), F2(~0x0, ~0x4), "h,d", 0, v6 }, + +{ "taddcc", F3(2, 0x20, 0), F3(~2, ~0x20, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "taddcc", F3(2, 0x20, 1), F3(~2, ~0x20, ~1), "1,i,d", 0, v6 }, +{ "taddcc", F3(2, 0x20, 1), F3(~2, ~0x20, ~1), "i,1,d", 0, v6 }, +{ "taddcctv", F3(2, 0x22, 0), F3(~2, ~0x22, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "taddcctv", F3(2, 0x22, 1), F3(~2, ~0x22, ~1), "1,i,d", 0, v6 }, +{ "taddcctv", F3(2, 0x22, 1), F3(~2, ~0x22, ~1), "i,1,d", 0, v6 }, + +{ "tsubcc", F3(2, 0x21, 0), F3(~2, ~0x21, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "tsubcc", F3(2, 0x21, 1), F3(~2, ~0x21, ~1), "1,i,d", 0, v6 }, +{ "tsubcctv", F3(2, 0x0b, 0), F3(~2, ~0x0b, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "tsubcctv", F3(2, 0x0b, 1), F3(~2, ~0x0b, ~1), "1,i,d", 0, v6 }, + +{ "unimp", F2(0x0, 0x0), 0xffffffff, "l", 0, v6 }, + +{ "iflush", F3(2, 0x3b, 0), F3(~2, ~0x3b, ~0)|ASI(~0), "1+2", 0, v6 }, +{ "iflush", F3(2, 0x3b, 1), F3(~2, ~0x3b, ~1), "1+i", 0, v6 }, +{ "iflush", F3(2, 0x3b, 1), F3(~2, ~0x3b, ~1), "i+1", 0, v6 }, + +{ "xnor", F3(2, 0x07, 0), F3(~2, ~0x07, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "xnor", F3(2, 0x07, 1), F3(~2, ~0x07, ~1), "1,i,d", 0, v6 }, +{ "xnor", F3(2, 0x07, 1), F3(~2, ~0x07, ~1), "i,1,d", 0, v6 }, +{ "xnorcc", F3(2, 0x17, 0), F3(~2, ~0x17, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "xnorcc", F3(2, 0x17, 1), F3(~2, ~0x17, ~1), "1,i,d", 0, v6 }, +{ "xnorcc", F3(2, 0x17, 1), F3(~2, ~0x17, ~1), "i,1,d", 0, v6 }, +{ "xor", F3(2, 0x03, 0), F3(~2, ~0x03, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "xor", F3(2, 0x03, 1), F3(~2, ~0x03, ~1), "1,i,d", 0, v6 }, +{ "xor", F3(2, 0x03, 1), F3(~2, ~0x03, ~1), "i,1,d", 0, v6 }, +{ "xorcc", F3(2, 0x13, 0), F3(~2, ~0x13, ~0)|ASI(~0), "1,2,d", 0, v6 }, +{ "xorcc", F3(2, 0x13, 1), F3(~2, ~0x13, ~1), "1,i,d", 0, v6 }, +{ "xorcc", F3(2, 0x13, 1), F3(~2, ~0x13, ~1), "i,1,d", 0, v6 }, + +{ "not", F3(2, 0x07, 0), F3(~2, ~0x07, ~0)|ASI(~0), "1,d", F_ALIAS, v6 }, /* xnor rs1,%0,rd */ +{ "not", F3(2, 0x07, 0), F3(~2, ~0x07, ~0)|ASI(~0), "r", F_ALIAS, v6 }, /* xnor rd,%0,rd */ + +{ "btog", F3(2, 0x03, 0), F3(~2, ~0x03, ~0)|ASI(~0), "2,r", F_ALIAS, v6 }, /* xor rd,rs2,rd */ +{ "btog", F3(2, 0x03, 1), F3(~2, ~0x03, ~1), "i,r", F_ALIAS, v6 }, /* xor rd,i,rd */ + +{ "fpop1", F3F(2, 0x34, 0), F3F(~2, ~0x34, ~1), "[1+2],d", 0, v6 }, +{ "fpop2", F3F(2, 0x35, 0), F3F(~2, ~0x35, ~1), "[1+2],d", 0, v6 }, + +/* float-start */ +{ "fdtoi", F3F(0x2, 0x34, 0x0d2), F3F(~0x2, ~0x34, ~0x0d2)|RS1_G0, "f,g", 0, v6 }, +{ "fstoi", F3F(0x2, 0x34, 0x0d1), F3F(~0x2, ~0x34, ~0x0d1)|RS1_G0, "f,g", 0, v6 }, /* all of these conversions are confused and probably wrong. */ -{ "fitod", 0x81a01900, 0x400026e0, "f,g", 0, v6 }, -{ "fitos", 0x81a01880, 0x40002660, "f,g", 0, v6 }, +{ "fitod", F3F(0x2, 0x34, 0x0c8), F3F(~0x2, ~0x34, ~0x0c8)|RS1_G0, "f,g", 0, v6 }, +{ "fitos", F3F(0x2, 0x34, 0x0c4), F3F(~0x2, ~0x34, ~0x0c4)|RS1_G0, "f,g", 0, v6 }, -{ "fitox", 0x81a01980, 0x40002660, "f,g", 0, v6 }, /* collides in mneumonic with cypress */ +{ "fitox", F3F(0x2, 0x34, 0x0cc), F3F(~0x2, ~0x34, ~0x0cc)|RS1_G0, "f,g", 0, v6 }, /* collides in mneumonic with cypress */ /* fitox collides in opf between cypress and v8, mneumonic between v6 and cypress */ -{ "fitox", F3F(0x2, 0x34, 0x0cc), F3F(~0x2, ~0x34, ~0x0cc)|RS1(~0), "f,g", 0, cypress }, /* collides */ -{ "fitoq", F3F(0x2, 0x34, 0x0cc), F3F(~0x2, ~0x34, ~0x0cc)|RS1(~0), "f,g", 0, v8 }, /* collides in opf with cypress */ - -{ "fxtoq", 0x81a019e0, 0x40002600, "f,g", 0, v9 }, -{ "fxtox", 0x81a019e0, 0x40002600, "f,g", 0, v9 }, - -{ "fdtoq", 0x81a019c0, 0x40002620, "f,g", 0, v8 }, -{ "fdtos", 0x81a018c0, 0x40002720, "f,g", 0, v6 }, -{ "fqtod", 0x81a01960, 0x40002680, "f,g", 0, v8 }, -{ "fqtos", 0x81a018e0, 0x40002700, "f,g", 0, v8 }, -{ "fstod", 0x81a01920, 0x400026c0, "f,g", 0, v6 }, -{ "fstoq", 0x81a019a0, 0x40002640, "f,g", 0, v8 }, - -{ "fxtos", 0x81a018e0, 0x40002700, "f,g", 0, v7 }, /* these collide on the mneumonic */ -{ "fxtos", F3F(0x2, 0x34, 0x0c5), F3F(~0x2, ~0x34, ~0x0c5)|RS1(~0), "f,g", 0, v9 }, -{ "fxtos", F3F(0x2, 0x34, 0x0c7), F3F(~0x2, ~0x34, ~0x0c7)|RS1(~0), "f,g", 0, cypress }, - -{ "fdtox", F3F(0x2, 0x34, 0x0ce), F3F(~0x2, ~0x34, ~0x0ce)|RS1(~0), "f,g", 0, cypress }, /* mneumonic collisions */ -{ "fdtox", F3F(0x2, 0x34, 0x0d6), F3F(~0x2, ~0x34, ~0x0d6)|RS1(~0), "f,g", 0, v9 }, - -{ "fstox", F3F(0x2, 0x34, 0x0cd), F3F(~0x2, ~0x34, ~0x0cd)|RS1(~0), "f,g", 0, cypress }, -{ "fstox", F3F(0x2, 0x34, 0x0d5), F3F(~0x2, ~0x34, ~0x0d5)|RS1(~0), "f,g", 0, v9 }, - -{ "fqtoi", F3F(0x2, 0x34, 0x0d3), F3F(~0x2, ~0x34, ~0x0d3)|RS1(~0), "f,g", 0, v8 }, -{ "fxtoi", F3F(0x2, 0x34, 0x0d3), F3F(~0x2, ~0x34, ~0x0d3)|RS1(~0), "f,g", 0, cypress }, - -{ "fxtod", F3F(0x2, 0x34, 0x0cb), F3F(~0x2, ~0x34, ~0x0cb)|RS1(~0), "f,g", 0, cypress }, /* collide in opf & mneumonic */ -{ "fxtod", F3F(0x2, 0x34, 0x0cb), F3F(~0x2, ~0x34, ~0x0cb)|RS1(~0), "f,g", 0, v9 }, - -{ "fdivd", 0x81a009c0, 0x40003620, "e,f,g", 0, v6 }, -{ "fdivq", F3F(0x2, 0x34, 0x04f), F3F(~0x2, ~0x34, ~0x04f)|RS1(~0), "e,f,g", 0, v8 }, -{ "fdivs", 0x81a009a0, 0x40003640, "e,f,g", 0, v6 }, -{ "fdivx", 0x81a009e0, 0x40083600, "e,f,g", 0, cypress }, -{ "fmuld", 0x81a00940, 0x400036a0, "e,f,g", 0, v6 }, -{ "fmulq", F3F(0x2, 0x34, 0x04b), F3F(~0x2, ~0x34, ~0x04b)|RS1(~0), "e,f,g", 0, v8 }, -{ "fmuls", 0x81a00920, 0x400036c0, "e,f,g", 0, v6 }, -{ "fmulx", 0x81a00960, 0x40003680, "e,f,g", 0, cypress }, - -{ "fdmulq", F3F(0x2, 0x34, 0x06e), F3F(~0x2, ~0x34, ~0x06e)|RS1(~0), "e,f,g", 0, v8 }, -{ "fsmuld", F3F(0x2, 0x34, 0x069), F3F(~0x2, ~0x34, ~0x069)|RS1(~0), "e,f,g", 0, v8 }, - -{ "fsqrtd", 0x81a00540, 0x40003aa8, "f,g", 0, v7 }, -{ "fsqrtq", F3F(0x2, 0x34, 0x02b), F3F(~0x2, ~0x34, ~0x02b)|RS1(~0), "f,g", 0, v8 }, -{ "fsqrts", 0x81a00520, 0x40003ac0, "f,g", 0, v7 }, -{ "fsqrtx", 0x81a00560, 0x40003a80, "f,g", 0, cypress }, - -{ "fabsd", F3F(0x2, 0x34, 0xa), F3F(~0x2, ~0x34, ~0xa), "f,g", 0, v9 }, -{ "fabss", F3F(0x2, 0x34, 0x9), F3F(~0x2, ~0x34, ~0x9), "f,g", 0, v6 }, -{ "fmovd", F3F(0x2, 0x34, 0x2), F3F(~0x2, ~0x34, ~0x2), "f,g", 0, v9 }, -{ "fmovs", F3F(0x2, 0x34, 0x1), F3F(~0x2, ~0x34, ~0x1), "f,g", 0, v6 }, -{ "fnegd", F3F(0x2, 0x34, 0x6), F3F(~0x2, ~0x34, ~0x6), "f,g", 0, v9 }, -{ "fnegs", F3F(0x2, 0x34, 0x5), F3F(~0x2, ~0x34, ~0x5), "f,g", 0, v6 }, - -{ "fmuladdd", 0xc1a02400, 0, "e,f,j,g", 0, v9 }, -{ "fmuladdq", 0xc1a02800, 0, "e,f,j,g", 0, v9 }, -{ "fmuladds", 0xc1a02000, 0, "e,f,j,g", 0, v9 }, -{ "fmulsubs", 0xc1a03000, 0, "e,f,j,g", 0, v9 }, +{ "fitox", F3F(0x2, 0x34, 0x0cc), F3F(~0x2, ~0x34, ~0x0cc)|RS1_G0, "f,g", 0, cypress }, /* collides */ +{ "fitoq", F3F(0x2, 0x34, 0x0cc), F3F(~0x2, ~0x34, ~0x0cc)|RS1_G0, "f,g", 0, v8 }, /* collides in opf with cypress */ + +{ "fxtoq", F3F(0x2, 0x34, 0x0cf), F3F(~0x2, ~0x34, ~0x0cf)|RS1_G0, "f,g", 0, v9 }, +{ "fxtox", F3F(0x2, 0x34, 0x0cf), F3F(~0x2, ~0x34, ~0x0cf)|RS1_G0, "f,g", 0, v9 }, + +{ "fdtoq", F3F(0x2, 0x34, 0x0ce), F3F(~0x2, ~0x34, ~0x0ce)|RS1_G0, "f,g", 0, v8 }, +{ "fdtos", F3F(0x2, 0x34, 0x0c6), F3F(~0x2, ~0x34, ~0x0c6)|RS1_G0, "f,g", 0, v6 }, +{ "fqtod", F3F(0x2, 0x34, 0x0cb), F3F(~0x2, ~0x34, ~0x0cb)|RS1_G0, "f,g", 0, v8 }, +{ "fqtos", F3F(0x2, 0x34, 0x0c7), F3F(~0x2, ~0x34, ~0x0c7)|RS1_G0, "f,g", 0, v8 }, +{ "fstod", F3F(0x2, 0x34, 0x0c9), F3F(~0x2, ~0x34, ~0x0c9)|RS1_G0, "f,g", 0, v6 }, +{ "fstoq", F3F(0x2, 0x34, 0x0cd), F3F(~0x2, ~0x34, ~0x0cd)|RS1_G0, "f,g", 0, v8 }, + +{ "fxtos", F3F(2, 0x34, 0x0c7), F3F(~0x2, ~0x34, ~0x0c7)|RS1_G0, "f,g", 0, v7 }, /* these collide on the mneumonic */ +{ "fxtos", F3F(2, 0x34, 0x0c5), F3F(~2, ~0x34, ~0x0c5)|RS1_G0, "f,g", 0, v9 }, +{ "fxtos", F3F(2, 0x34, 0x0c7), F3F(~2, ~0x34, ~0x0c7)|RS1_G0, "f,g", 0, cypress }, + +{ "fdtox", F3F(2, 0x34, 0x0ce), F3F(~2, ~0x34, ~0x0ce)|RS1_G0, "f,g", 0, cypress }, /* mneumonic collisions */ +{ "fdtox", F3F(2, 0x34, 0x0d6), F3F(~2, ~0x34, ~0x0d6)|RS1_G0, "f,g", 0, v9 }, + +{ "fstox", F3F(2, 0x34, 0x0cd), F3F(~2, ~0x34, ~0x0cd)|RS1_G0, "f,g", 0, cypress }, +{ "fstox", F3F(2, 0x34, 0x0d5), F3F(~2, ~0x34, ~0x0d5)|RS1_G0, "f,g", 0, v9 }, + +{ "fqtoi", F3F(2, 0x34, 0x0d3), F3F(~2, ~0x34, ~0x0d3)|RS1_G0, "f,g", 0, v8 }, +{ "fxtoi", F3F(2, 0x34, 0x0d3), F3F(~2, ~0x34, ~0x0d3)|RS1_G0, "f,g", 0, cypress }, + +{ "fxtod", F3F(2, 0x34, 0x0cb), F3F(~2, ~0x34, ~0x0cb)|RS1_G0, "f,g", 0, cypress }, /* collide in opf & mneumonic */ +{ "fxtod", F3F(2, 0x34, 0x0cb), F3F(~2, ~0x34, ~0x0cb)|RS1_G0, "f,g", 0, v9 }, + +{ "fdivd", F3F(2, 0x34, 0x04e), F3F(~2, ~0x34, ~0x04e), "e,f,g", 0, v6 }, +{ "fdivq", F3F(2, 0x34, 0x04f), F3F(~2, ~0x34, ~0x04f), "e,f,g", 0, v8 }, +{ "fdivs", F3F(2, 0x34, 0x04d), F3F(~2, ~0x34, ~0x04d), "e,f,g", 0, v6 }, +{ "fdivx", F3F(2, 0x34, 0x04f), F3F(~2, ~0x34, ~0x04f), "e,f,g", 0, cypress }, +{ "fmuld", F3F(2, 0x34, 0x04a), F3F(~2, ~0x34, ~0x04a), "e,f,g", 0, v6 }, +{ "fmulq", F3F(2, 0x34, 0x04b), F3F(~2, ~0x34, ~0x04b), "e,f,g", 0, v8 }, +{ "fmuls", F3F(2, 0x34, 0x049), F3F(~2, ~0x34, ~0x049), "e,f,g", 0, v6 }, +{ "fmulx", F3F(2, 0x34, 0x04b), F3F(~2, ~0x34, ~0x04b), "e,f,g", 0, cypress }, + +{ "fdmulq", F3F(2, 0x34, 0x06e), F3F(~2, ~0x34, ~0x06e), "e,f,g", 0, v8 }, +{ "fsmuld", F3F(2, 0x34, 0x069), F3F(~2, ~0x34, ~0x069), "e,f,g", 0, v8 }, + +{ "fsqrtd", F3F(2, 0x34, 0x02a), F3F(~2, ~0x34, ~0x02a)|RS1_G0, "f,g", 0, v7 }, +{ "fsqrtq", F3F(2, 0x34, 0x02b), F3F(~2, ~0x34, ~0x02b)|RS1_G0, "f,g", 0, v8 }, +{ "fsqrts", F3F(2, 0x34, 0x029), F3F(~2, ~0x34, ~0x029)|RS1_G0, "f,g", 0, v7 }, +{ "fsqrtx", F3F(2, 0x34, 0x02b), F3F(~2, ~0x34, ~0x02b)|RS1_G0, "f,g", 0, cypress }, + +{ "fabsd", F3F(2, 0x34, 0x00a), F3F(~2, ~0x34, ~0x00a)|RS1_G0, "f,g", 0, v9 }, +{ "fabss", F3F(2, 0x34, 0x009), F3F(~2, ~0x34, ~0x009)|RS1_G0, "f,g", 0, v6 }, +{ "fmovd", F3F(2, 0x34, 0x002), F3F(~2, ~0x34, ~0x002)|RS1_G0, "f,g", 0, v9 }, +{ "fmovs", F3F(2, 0x34, 0x001), F3F(~2, ~0x34, ~0x001)|RS1_G0, "f,g", 0, v6 }, +{ "fnegd", F3F(2, 0x34, 0x006), F3F(~2, ~0x34, ~0x006)|RS1_G0, "f,g", 0, v9 }, +{ "fnegs", F3F(2, 0x34, 0x005), F3F(~2, ~0x34, ~0x005)|RS1_G0, "f,g", 0, v6 }, + +{ "fmuladdd", F3F(3, 0x34, 0x120), F3F(~3, ~0x34, ~0x120), "e,f,j,g", 0, v9 }, +{ "fmuladdq", F3F(3, 0x34, 0x140), F3F(~3, ~0x34, ~0x140), "e,f,j,g", 0, v9 }, +{ "fmuladds", F3F(3, 0x34, 0x100), F3F(~3, ~0x34, ~0x100), "e,f,j,g", 0, v9 }, +{ "fmulsubs", F3F(3, 0x34, 0x180), F3F(~3, ~0x34, ~0x180), "e,f,j,g", 0, v9 }, #ifdef comment /* v9 */ /* FIXME: the doc says the opcodes here are identical to those for muladd. (v9) */ -{ "fmulsubd", 0xc1a0xx00, 0, "e,f,j,g", 0, v9 }, -{ "fmulsubq", 0xc1a0xx00, 0, "e,f,j,g", 0, v9 }, +{ "fmulsubd", F3F(3, 0x34, 0x120), F3F(~3, ~0x34, ~0x120), "e,f,j,g", 0, v9 }, +{ "fmulsubq", F3F(3, 0x34, 0x140), F3F(~3, ~0x34, ~0x140), "e,f,j,g", 0, v9 }, #endif /* comment v9 */ -{ "cbyte", F3(0x2, 0x2c, 0), F3(~0x2, ~0x2c, ~0), "1,2,d", 0, v9 }, -{ "cbyte", F3(0x2, 0x2c, 1), F3(~0x2, ~0x2c, ~1), "1,i,d", 0, v9 }, -{ "cbyte", F3(0x2, 0x2c, 1), F3(~0x2, ~0x2c, ~1), "i,1,d", 0, v9 }, - -{ "popcc", F3(0x2, 0x3f, 0), F3(~0x2, ~0x3f, ~0)|0xfff, "1,d", 0, v9 }, - -{ "faddd", 0x81a00840, 0x400037a0, "e,f,g", 0, v6 }, -{ "faddq", F3F(0x2, 0x34, 0x043), F3F(~0x2, ~0x34, ~0x043)|RS1(~0), "e,f,g", 0, v8 }, -{ "fadds", 0x81a00820, 0x400037c0, "e,f,g", 0, v6 }, -{ "faddx", 0x81a00860, 0x40003780, "e,f,g", 0, cypress }, -{ "fsubd", 0x81a008c0, 0x40003720, "e,f,g", 0, v6 }, -{ "fsubq", F3F(0x2, 0x34, 0x047), F3F(~0x2, ~0x34, ~0x047)|RS1(~0), "e,f,g", 0, v8 }, -{ "fsubs", 0x81a008a0, 0x40003740, "e,f,g", 0, v6 }, -{ "fsubx", 0x81a008e0, 0x40003700, "e,f,g", 0, cypress }, - -{ "fcmpd", 0x81a80a40, 0x400035a0, "e,f", 0, v6 }, -{ "fcmped", 0x81a80ac0, 0x40003520, "e,f", 0, v6 }, -{ "fcmpeq", F3F(0x2, 0x34, 0x057), F3F(~0x2, ~0x34, ~0x057)|RS1(~0), "e,f,g", 0, v8 }, -{ "fcmpes", 0x81a80aa0, 0x40003540, "e,f", 0, v6 }, -{ "fcmpex", 0x81a80ae0, 0x40003500, "e,f", 0, cypress }, -{ "fcmpq", F3F(0x2, 0x34, 0x053), F3F(~0x2, ~0x34, ~0x053)|RS1(~0), "e,f,g", 0, v8 }, -{ "fcmps", 0x81a80a20, 0x400035c0, "e,f", 0, v6 }, -{ "fcmpx", 0x81a80a60, 0x40003580, "e,f", 0, cypress }, - -{ "cpop1", 0x81b00000, 0x40480000, "[1+2],d", 0, v6 }, -{ "cpop2", 0x81b80000, 0x40400000, "[1+2],d", 0, v6 }, +{ "cbyte", F3(2, 0x2c, 0), F3(~2, ~0x2c, ~0), "1,2,d", 0, v9 }, +{ "cbyte", F3(2, 0x2c, 1), F3(~2, ~0x2c, ~1), "1,i,d", 0, v9 }, +{ "cbyte", F3(2, 0x2c, 1), F3(~2, ~0x2c, ~1), "i,1,d", 0, v9 }, + +{ "popcc", F3(2, 0x3f, 0), F3(~2, ~0x3f, ~0), "1,d", 0, v9 }, + +{ "faddd", F3F(2, 0x34, 0x042), F3F(~2, ~0x34, ~0x042), "e,f,g", 0, v6 }, +{ "faddq", F3F(2, 0x34, 0x043), F3F(~2, ~0x34, ~0x043), "e,f,g", 0, v8 }, +{ "fadds", F3F(2, 0x34, 0x041), F3F(~2, ~0x34, ~0x041), "e,f,g", 0, v6 }, +{ "faddx", F3F(2, 0x34, 0x043), F3F(~2, ~0x34, ~0x043), "e,f,g", 0, cypress }, +{ "fsubd", F3F(2, 0x34, 0x046), F3F(~2, ~0x34, ~0x046), "e,f,g", 0, v6 }, +{ "fsubq", F3F(2, 0x34, 0x047), F3F(~2, ~0x34, ~0x047), "e,f,g", 0, v8 }, +{ "fsubs", F3F(2, 0x34, 0x045), F3F(~2, ~0x34, ~0x045), "e,f,g", 0, v6 }, +{ "fsubx", F3F(2, 0x34, 0x047), F3F(~2, ~0x34, ~0x047), "e,f,g", 0, cypress }, + +{ "fcmpd", F3F(2, 0x35, 0x052), F3F(~2, ~0x35, ~0x052)|RS1_G0, "e,f", 0, v6 }, +{ "fcmped", F3F(2, 0x35, 0x056), F3F(~2, ~0x35, ~0x056)|RS1_G0, "e,f", 0, v6 }, +{ "fcmpeq", F3F(2, 0x34, 0x057), F3F(~2, ~0x34, ~0x057), "e,f,g", 0, v8 }, +{ "fcmpes", F3F(2, 0x35, 0x055), F3F(~2, ~0x35, ~0x055)|RS1_G0, "e,f", 0, v6 }, +{ "fcmpex", F3F(2, 0x35, 0x057), F3F(~2, ~0x35, ~0x057)|RS1_G0, "e,f", 0, cypress }, +{ "fcmpq", F3F(2, 0x34, 0x053), F3F(~2, ~0x34, ~0x053), "e,f,g", 0, v8 }, +{ "fcmps", F3F(2, 0x35, 0x051), F3F(~2, ~0x35, ~0x051)|RS1_G0, "e,f", 0, v6 }, +{ "fcmpx", F3F(2, 0x35, 0x053), F3F(~2, ~0x35, ~0x053)|RS1_G0, "e,f", 0, cypress }, + +{ "cpop1", F3(2, 0x36, 0), F3(~2, ~0x36, ~1), "[1+2],d", 0, v6 }, +{ "cpop2", F3(2, 0x37, 0), F3(~2, ~0x37, ~1), "[1+2],d", 0, v6 }, }; |