Commit Graph

207 Commits

Author SHA1 Message Date
Fred Fish ac5f447d60 * tic80.h (struct tic80_opcode): Change "format" field to "flags".
(FMT_UNUSED, FMT_SI, FMT_LI, FMT_REG): Delete.
	(TIC80_VECTOR): Define a flag bit for the flags.  This one means
	that the opcode can have two vector instructions in a single
	32 bit word and we have to encode/decode both.
1997-01-17 03:53:46 +00:00
Fred Fish ed6e7b0897 * tic80.h (TIC80_OPERAND_FLOAT): Add for floating point operands. 1997-01-13 22:59:20 +00:00
Fred Fish 547435564c * tic80.h (TIC80_OPERAND_SCALED): Operand may have optional
":s" modifier for scaling.
1997-01-06 17:51:13 +00:00
Fred Fish ad429fdd7f * tic80.h (TIC80_OPERAND_M_SI): Add operand modifier for ":m".
(TIC80_OPERAND_M_LI): Ditto
1997-01-05 19:15:20 +00:00
Fred Fish fd68bb98f6 * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ.
(TIC80_OPERAND_CC): New define for condition code operand.
	(TIC80_OPERAND_CR): New define for control register operand.
1997-01-05 02:13:07 +00:00
Fred Fish baf0882033 * tic80.h (struct tic80_opcode): Name changed.
(struct tic80_opcode): Remove format field.
	(struct tic80_operand): Add insertion and extraction functions.
	(TIC80_OPERAND_*): Remove old bogus values, start adding new
	correct ones.
	(FMT_*): Ditto.
1997-01-03 23:28:26 +00:00
Michael Meissner 2bbc3e4462 Add V850_OPERAND_ADJUST_SHORT_MEMORY 1996-12-31 20:10:21 +00:00
Fred Fish 3665f0d5c2 (Laying the groundwork (that will be incrementally fleshed out) for
TIc80 support)
	* tic80.h: New file.
1996-12-28 05:23:50 +00:00
Jeff Law e75b857ba3 * mn10200.h (MN10200_OPERAND_NOCHECK): Define. 1996-12-18 17:10:38 +00:00
Fred Fish 7e3670d611 * mn10200.h: Fix comment, mn10200_operand not powerpc_operand.
* mn10300.h: Fix comment, mn10300_operand not powerpc_operand.
	* v850.h: Fix comment, v850_operand not powerpc_operand.
1996-12-14 17:52:07 +00:00
J.T. Conklin 0ba44243df * m68k.h: Document new <, >, m, n, o and p operand specifiers. 1996-11-26 01:58:02 +00:00
Jeff Law bd63ee34aa * mn10300.h (MN10300_OPERAND_REG_LIST): Define. 1996-11-19 20:29:48 +00:00
Jeff Law d13f39914f * mn10300.h (MN10300_OPERAND_EXTENDED): Define.
[ For operands inserted into the extended part of the opcode. ]
1996-11-05 20:25:51 +00:00
Jeff Law b9c65063be * mn10300.h (MN10300_OPERAND_REPEATED): Define.
Matsushita.
1996-11-04 19:52:34 +00:00
Ian Lance Taylor 1b6263fa2e Fri Nov 1 10:31:02 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: Don't include "bfd.h"; private relocation types are now
 	negative to minimize problems with shared libraries.  Organize
 	instruction subsets by AMASK extensions and PALcode
 	implementation.
	(struct alpha_operand): Move flags slot for better packing.
1996-11-01 18:31:57 +00:00
Jeff Law bb36347e6c * v850.h (V850_OPERAND_RELAX): New operand flag. 1996-10-29 19:19:19 +00:00
Jeff Law 1d57416709 * mn10300.h (MN10300_OPERAND_PAREN): Define.
Matsushita.
1996-10-08 20:49:58 +00:00
Jeff Law b78506073f * mn10300.h (mn10300_opcode): Add "format" field.
(MN10300_OPERAND_*): Define.
Checkpointing today's Matsushita work.
1996-10-07 22:53:27 +00:00
Jeff Law ae1b99e42d Grrr. The mn10200 and mn10300 are _not_ similar enough to easily support
with a single generic configuration.  So break them up into two different
configurations.  See the individual ChangeLogs for additional detail.
1996-10-03 16:42:22 +00:00
Jeff Law 3072af43b0 * mn10x00.h: New file.
Matsushita.
1996-10-03 03:32:51 +00:00
J.T. Conklin 27021dd459 * v850.h (v850_operands): Add insert and extract fields, pointers
to functions used to handle unusual operand encoding.
(V850_OPERAND_REG, V850_OPERAND_SRG, V850_OPERAND_CC,
V850_OPERAND_SIGNED): Defined.
1996-08-22 23:56:25 +00:00
J.T. Conklin dd528affb3 * v850.h (v850_operands): Add flags field.
(OPERAND_REG, OPERAND_NUM): Defined.
1996-08-22 00:46:17 +00:00
J.T. Conklin 7a3c93362e * v850.h: New file. 1996-08-20 21:52:59 +00:00
Jeff Law b127cb95e9 * hppa.h (pitlb, pitlbe, iitlba, iitlbp, fic, fice): Accept
a 3 bit space id instead of a 2 bit space id.
Fixes net problem.
1996-08-16 06:15:52 +00:00
Martin Hunt e7706bb357 Thu Aug 15 13:11:46 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v.h: Add some additional defines to support the
 	assembler in determining which operations can be done in parallel.
1996-08-15 20:14:06 +00:00
Martin Hunt 76327337ce Fri Jul 26 11:47:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v.h (OPERAND_SHIFT): New operand flag.
1996-07-26 18:58:46 +00:00
Martin Hunt 8da1e5a75d Thu Jul 25 12:06:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v.h: Changes for divs, parallel-only instructions, and
 	signed numbers.
1996-07-25 19:15:49 +00:00
Martin Hunt c38655b90f start-sanitize-d10v
Mon Jul 22 11:21:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

	* d10v.h (pd_reg): Define. Putting the definition here allows
	the assembler and disassembler to share the same struct.

end-sanitize-d10v
1996-07-22 18:56:30 +00:00
Ian Lance Taylor 8cfbe54328 * i960.h (i960_opcodes): "halt" takes an argument. From Stephen
Williams <steve@icarus.com>.
1996-07-22 16:21:25 +00:00
Martin Hunt 3d1d21b028 start-sanitize-d10v
Wed Jul 17 14:46:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * d10v.h: New file.
end-sanitize-d10v
1996-07-18 00:40:48 +00:00
Jeff Law 2757047686 * h8300.h (band, bclr): Force high bit of immediate nibble to zero.
So we don't disassemble "biand" as "band".
1996-07-11 18:10:13 +00:00
Jeff Law 16cf520e5f No longer need to sanitize away h8s stuff. 1996-07-05 18:46:54 +00:00
Jeff Law 7eaffbec23 * h8300.h (SRC_IN_DST): Define.
* h8300.h (UNOP3): Mark the register operand in this insn
        as a source operand, not a destination operand.
        (SHIFT_2, SHIFT_IMM): Remove.  Eliminate all references.
        (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops.  Mark
        register operand with SRC_IN_DST.
More hackery for new shift ops on the H8/S.
1996-07-03 05:07:07 +00:00
Jeff Law d3329f0d0c * h8300.h (UNOP3): Mark the register operand in this insn
as a source operand, not a destination operand.
So the simulator can handle shal #2,er0 correctly.
1996-07-02 19:20:37 +00:00
Ian Lance Taylor b615d67824 fix sanitization of EXR in MODE 1996-06-29 16:47:12 +00:00
Ian Lance Taylor 3853da56de Fri Jun 21 13:52:17 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: New file.
1996-06-21 17:52:56 +00:00
Ian Lance Taylor 180b9a3805 * rs6k.h: Remove obsolete file. 1996-06-20 19:04:10 +00:00
Ian Lance Taylor ad8e053482 * i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp,
fdivp, and fdivrp.  Add ffreep.
1996-06-19 19:52:04 +00:00
Jeff Law 04f5f28af7 * h8300.h: Reorder various #defines for readability.
(ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
        (BITOP): Accept additional (unused) argument.  All callers changed.
        (EBITOP): Likewise.
        (O_LAST): Bump.
        (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.

start-sanitize-h8s
        * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
        (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
        (BITOP, EBITOP): Handle new H8/S addressing modes for
        bit insns.
        (UNOP3): Handle new shift/rotate insns on the H8/S.
        (insns using exr): New instructions.
        (tas, mac, ldmac, clrmac, ldm, stm): New instructions.

end-sanitize-h8s
You guessed it.  More H8/S junk.
1996-06-18 23:19:44 +00:00
Ian Lance Taylor b4c22ad0df * i386.h: Remove Abs32 from lcall. 1996-05-01 01:38:55 +00:00
Ian Lance Taylor b21efdbe64 * sparc.h (F_FLOAT, F_FBR): Define.
PR 355.
1996-04-11 21:28:49 +00:00
Jeff Law bd03e603a7 * h8300.h (ABS8MEM): Renamed from ABSMOV. Remove ABSMOV
from all insns.
        (ABS8SRC,ABS8DST): Add ABS8MEM.
        (add.l): Fix reg+reg variant.
        (eepmov.w): Renamed from eepmovw.
        (ldc,stc): Fix many cases.
We'll use ABS8MEM for access to the 8-bit area.
Fixes from running the h8300 testsuite.
hmse.
1996-04-05 23:56:39 +00:00
David Edelsohn 4be1b31325 * sparc.h (SPARC_OPCODE_ARCH_MASK): New macro. 1996-03-31 21:32:00 +00:00
David Edelsohn 8c3f315e6a * sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare.
Mark operand letters uU as in use.
1996-02-21 04:47:16 +00:00
Jeff Law 803108ab64 * sparc.h (sparc_opcode_lookup_arch) Make return type in
declaration consistent with return type in definition.
1996-02-16 19:24:15 +00:00
Ian Lance Taylor 8cc429e320 Wed Feb 14 18:14:11 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386.h (i386_optab): Remove Data32 from pushf and popf.
1996-02-14 23:15:10 +00:00
Ian Lance Taylor 172727c059 Rename XL to JX, and remove sanitization. 1996-02-06 19:10:04 +00:00
Ian Lance Taylor 2192180d13 * i960.h (I_HX, I_HX2): Define.
start-sanitize-i960xl
	(I_XL): Remove.  The HX supports all XL instructions.
	end-sanitize-i960xl
	(i960_opcodes): Add HX instructions.
1996-02-05 23:37:25 +00:00
Ken Raeburn e185ddefd3 * i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw, and fclex. 1996-01-29 17:45:18 +00:00
David Edelsohn 7484896ba2 * sparc.h (enum sparc_opcode_arch_val): Replaces sparc_architecture.
(SPARC_OPCODE_CONFLICT_P): Renamed from ARCHITECTURES_CONFLICT_P.
	(bfd_* defines): Delete.
	(sparc_opcode_archs): Replaces architecture_pname.
	(sparc_opcode_lookup_arch): Declare.
	(NUMOPCODES): Delete.
1996-01-25 11:09:06 +00:00
David Edelsohn 2d422c4234 (ARCHITECTURES_CONFLICT_P): Add ChangeLog entry for v9a addition and fix typo
in macro.
1996-01-22 16:41:31 +00:00
David Edelsohn 224721792f * sparc.h (enum sparc_architecture): Add v9a. 1996-01-22 16:25:54 +00:00
Michael Meissner 3389dfdcc0 Pentium Pro changes from John Hassey 1996-01-04 18:37:42 +00:00
Jeff Law 5a71a0f7e8 * hppa.h: Add lci and syncdma instructions.
From the PA1.1 third edition manual.
1995-10-24 16:50:16 +00:00
Jackie Smith Cashion 7cbe28b655 mips.h: Added INSN_4100 flag to mark NEC VR4100 specific instructions. 1995-10-23 11:11:20 +00:00
Ken Raeburn b5eab453ff update copyrights 1995-10-20 22:22:07 +00:00
Ken Raeburn cd22144a90 pentium updates 1995-10-06 01:43:38 +00:00
David Edelsohn 44292d2e1e * sparc.h (sparc_{encode,decode}_asi): Declare. 1995-08-29 22:36:32 +00:00
Ian Lance Taylor bad44fedb1 * m68kmri.h: Remove. 1995-08-02 22:48:21 +00:00
Ian Lance Taylor 9b86fa21c3 * m68k.h: Move tables into opcodes/m68k-opc.c, leaving just the
declarations.  Remove F_ALIAS and flag field of struct
	m68k_opcode.  Change arch field of struct m68k_opcode to unsigned
	int.  Make name and args fields of struct m68k_opcode const.
1995-08-02 22:37:40 +00:00
David Edelsohn 97eab8a17c * sparc.h (F_NOTV9): Define. 1995-08-02 15:18:52 +00:00
Ken Raeburn 943fbd5bd5 fsf address update, but not in COPYING files 1995-07-07 22:49:42 +00:00
David Edelsohn 4ad003d1d7 * arc.h (arc_get_opcode_mach): Define prototype. 1995-04-07 03:38:05 +00:00
Ken Raeburn 20275e0c51 Separated out opcode aliases from m68k opcode table, to reduce table size and
processing time.  Aliases are now a separate table.

* m68k.h (enum m68k_architecture): Deleted.
(struct m68k_opcode_alias): New type.
(m68k_opcodes): Now const.  Deleted opcode aliases with exactly matching
constraints, values and flags.  As a side effect of this, the
MOTOROLA_SYNTAX_ONLY and MIT_SYNTAX_ONLY macros, which so far as I know were
never used, now may need re-examining.
(numopcodes): Now const.
(m68k_opcode_aliases, numaliases): New variables.
(endop): Deleted.
[DONT_DEFINE_TABLE]: Declare numopcodes, numaliases, and m68k_opcode_aliases;
update declaration of m68k_opcodes.
1995-03-08 08:20:11 +00:00
David Edelsohn b543117eea * arc.h (ARC_MACH_BIG): Define.
(ARC_MACH_MASK): Update.
	(ARC_MACH_CPU_MASK): Define.
	(ARC_OPCODE_CPU, ARC_OPVAL_CPU, ARC_HAVE_CPU): Likewise.
1995-03-08 05:06:02 +00:00
Jeff Law 5476a7ac1c * hppa.h (delay_type): Delete unused enumeration.
(pa_opcode): Replace unused delayed field with an architecture
	field.
	(pa_opcodes): Mark each instruction as either PA1.0 or PA1.1.
1995-03-06 17:04:18 +00:00
Ian Lance Taylor 49f245127b * mips.h (INSN_ISA4): Define. 1995-03-03 21:13:37 +00:00
Jeff Law 292210add5 * hppa.h (fstwx): Fix single-bit error. 1995-02-24 00:34:19 +00:00
Ian Lance Taylor 882d9d1a2f * mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define. 1995-02-15 17:20:35 +00:00
David Edelsohn 53c73f8d0e * arc.h (ARC_OPERAND_LIMM): New flag. 1995-02-13 19:07:55 +00:00
David Edelsohn 32a0dad5b4 * arc.h (ARC_MACH_{BASE,HOST,GRAPHICS,AUDIO}): Define.
(ARC_MACH_MASK, ARC_OPCODE_MACH, ARC_OPVAL_MACH): Define.
	(ARC_HAVE_MULT_SHIFT): Delete.
	(ARC_HAVE_MACH): Define.
	(struct arc_opcode): New field `flags'.
	(struct arc_operand_value): Ditto.
	(arc_opcode_supported): New function.
	(arc_opval_supported): Ditto.
1995-02-10 03:02:09 +00:00
J.T. Conklin 38713e1885 * i386.h: added cpuid instruction , and dr[0-7] aliases for the
debug registers.  From Charles Hannum (mycroft@netbsd.org).
1995-02-06 19:00:40 +00:00
Ken Raeburn a43022bd72 i386 16-bit mode support from bryan ford 1995-02-06 08:38:27 +00:00
Ian Lance Taylor ea77c26aef * mips.h (INSN_ISA, INSN_4650): Define. 1995-01-17 15:56:00 +00:00
David Edelsohn 30989ea584 Initial ARC support. 1994-11-30 01:54:43 +00:00
Ian Lance Taylor 1a1077dec5 * a29k.h: Add operand type 'I' for `inv' and `iretinv'. On
systems with a separate instruction and data cache, such as the
	29040, these instructions take an optional argument.
1994-10-19 17:36:38 +00:00
Ian Lance Taylor 57ec4ed5dc * mips.h (INSN_STORE_MEMORY): Define.
PR 5433.
1994-09-06 15:39:52 +00:00
Ken Raeburn f2c42ba402 update doc for sparclite 934 opcode table changes 1994-07-28 23:42:55 +00:00
Ken Raeburn c5b34aeeda i960xl opcode table changes (sanitized) 1994-07-26 23:06:41 +00:00
Ken Raeburn 903f5bc3a0 iSun Jul 10 11:01:09 1994 Ian Dall (dall@hfrd.dsto.gov.au)
* ns32k.h: Drop Q operand type as there is no correct use
	for it. Add I and Z operand types which allow better checking.
1994-07-13 21:45:25 +00:00
Ken Raeburn 26997f44ba don't sanitize out v9 stuff any more 1994-06-03 20:00:13 +00:00
Ken Raeburn c84291b43c m68060 changes 1994-06-02 16:23:55 +00:00
Steve Chamberlain 2578b9a323 * h8300.h (dec, inc): Get encoding right. 1994-04-27 18:30:33 +00:00
Ken Raeburn 77400de38e * i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size prefix is 0x66,
not 0x67.  Patch from H.J. Lu (hlu@nynexst.com).
1994-04-01 00:35:34 +00:00
Ken Raeburn d29f9b767e * i386.h: Reverse last change. It'll be handled in gas instead. 1994-03-04 00:37:56 +00:00
Torbjorn Granlund 868b8e638b hppa.h: Fix typo in fstws arg string. 1994-02-17 20:31:08 +00:00
Jeff Law 2f0440121a * hppa.h (addb): Use '@' for addb and addib pseudo ops.
(so we can determine valid completers for both addb and addb[tf].)
1994-02-05 19:53:05 +00:00
Jeff Law 881405be61 * hppa.h (xmpyu): No floating point format specifier for the
xmpyu instruction.
1994-02-05 07:44:34 +00:00
Ian Lance Taylor 3f0c3fdc12 * ppc.h (PPC_OPERAND_NEXT): Define.
(PPC_OPERAND_NEGATIVE): Change value to make room for above.
	(struct powerpc_macro): Define.
	(powerpc_macros, powerpc_num_macros): Declare.
1994-02-05 04:38:05 +00:00
Ian Lance Taylor a8146de44f * ppc.h: New file. Header file for PowerPC opcode table. 1994-01-22 00:15:29 +00:00
Ian Lance Taylor d8de27f90d New header file for PowerPC opcode table. 1994-01-22 00:13:02 +00:00
Jeff Law 7a68f30a32 * hppa.h: More minor template fixes for sfu and copr (to allow
for easier disassembly).
1994-01-18 04:16:35 +00:00
Jeff Law 9ee57a5e1a * hppa.h: More minor template fixes for sfu and copr (to allow
for easier disassembly).
1994-01-17 09:27:08 +00:00
Jeff Law 43983d3c15 In the right ChangeLog now:
* hppa.h: Fix templates for all the sfu and copr instructions.
1994-01-17 08:15:03 +00:00
Jeff Law 13a343993f * opcode/hppa.h: Fix templates for all the sfu and copr
instructions.
1994-01-17 08:13:30 +00:00
Ian Lance Taylor 2dbe3409d7 * mips.h: (M_J_A): Added.
(M_LA): Removed.
1993-11-17 22:22:07 +00:00
Jeff Law 79f7e58c29 * hppa.h: Immediate field in probei instructions is unsigned,
not low-sign extended.
1993-11-07 08:31:22 +00:00
Ian Lance Taylor 5e0a166c8d * mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added. 1993-11-01 23:14:23 +00:00
Jim Kingdon efa77160ad * hppa.h: Add gfw and gfr to the opcode table. 1993-10-03 03:28:56 +00:00
Jim Kingdon f70a36e006 Tue Sep 28 19:19:08 1993 Jeffrey A Law (law@snake.cs.utah.edu)
* hppa.h (be, ble): Use operand type 'z' to denote absolute branch
	addresses.
1993-09-29 00:24:04 +00:00