Commit Graph

174 Commits

Author SHA1 Message Date
J.T. Conklin
53bcc60c44 * m68k.h (mcfmac, mcfdiv): New macros. 1997-03-19 14:27:26 +00:00
Ian Lance Taylor
9ef62ee107 x 1997-03-16 00:05:49 +00:00
Ian Lance Taylor
5583be2433 * sparc.h: Include <ansidecl.h>. Update function declarations to
use prototypes, and to use const when appropriate.
1997-03-14 20:22:46 +00:00
Jeff Law
39c65f8d83 Fix typo in last change. 1997-03-06 23:13:31 +00:00
Jeff Law
35106aae73 * mn10300.h (MN10300_OPERAND_RELAX): Define.
Bringing over changes from the mn10200 port.  Getting ready to start on
the relaxing assembler.
1997-03-06 21:19:51 +00:00
Jim Wilson
54d26e151e Correct d10v sanitization errors. 1997-03-03 00:22:35 +00:00
Dawn Perchik
2fedd0a135 * mips.h: Add macros for cop0, cop1 cop2 and cop3.
Change mips_opcodes from const array to a pointer,
	and change bfd_mips_num_opcodes from const int to int,
	so that we can increase the size of the mips opcodes table
	dynamically.
1997-02-23 22:24:49 +00:00
Martin Hunt
ca5ef3cb83 Fri Feb 21 16:34:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h (FLAG_X): Remove unused flag.
1997-02-22 00:34:58 +00:00
Michael Meissner
c6c7035cfb Since d10v is public now, remove all sanitization statements 1997-02-20 16:05:18 +00:00
Martin Hunt
a048df0758 Tue Feb 18 17:37:20 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h: New file.
1997-02-19 01:39:32 +00:00
Gavin Romig-Koch
276c2d7dc8 Add r5900 1997-02-11 13:26:34 +00:00
Fred Fish
394de41870 * tic80.h (tic80_symbol_to_value): Change prototype to match
change in function, added class parameter.
1997-02-10 17:34:59 +00:00
Fred Fish
12e8f8af1f * tic80.h (TIC80_OPERAND_ENDMASK): Add for flagging TIc80
endmask fields, which are somewhat weird in that 0 and 32 are
	treated exactly the same.
1997-02-07 00:28:19 +00:00
Fred Fish
f996c7d898 One minor fix I forgot in last checkin. 1997-01-30 21:18:55 +00:00
Fred Fish
c2717a801f * tic80.h: Change all the OPERAND defines to use the form (1 << X)
rather than a constant that is 2**X.  Reorder them to put bits for
	operands that have symbolic names in the upper bits, so they can
	be packed into an int where the lower bits contain the value that
	corresponds to that symbolic name.
	(predefined_symbo): Add struct.
	(tic80_predefined_symbols): Declare array of translations.
	(tic80_num_predefined_symbols): Declare size of that array.
	(tic80_value_to_symbol): Declare function.
	(tic80_symbol_to_value): Declare function.
1997-01-30 20:56:33 +00:00
Jeff Law
53bdb44c10 * mn10200.h (MN10200_OPERAND_RELAX): Define.
Checking in some of the assembler branch relaxing code.
1997-01-29 16:38:25 +00:00
Fred Fish
102b9af5f9 * tic80.h (TIC80_NO_R0_DEST): Add for opcodes where r0 cannot
be the destination register.
1997-01-19 22:22:01 +00:00
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