Commit graph

297 commits

Author SHA1 Message Date
Doug Evans
a2f256c4e0 * cgen.h (CGEN_CAT3): Delete. Use CONCAT3 now.
(cgen_insn): Record syntax and format entries here, rather than
	separately.
1998-02-23 18:39:25 +00:00
Doug Evans
6e57fa5070 * dvp.h (GIF_MAX_NLOOP,GIF_PRE): New macros.
(gif_type): New type.
	(gif_nloop,gif_nregs,gif_operand_nloop): Declare.
1998-02-21 02:03:08 +00:00
Fred Fish
b7ed1b4b88 Fix minor typos in comments 1998-02-20 05:41:08 +00:00
Doug Evans
a94cefa164 (DVP_OPCODE_IGNORE_DIS): New macro. 1998-02-20 00:32:30 +00:00
Doug Evans
aece8f205d * dvp.h (DVP_OPERAND_DMA_*): Rewrite.
(DVP_OPERAND_AUTOCOUNT): New modifier.
	(dma_operand_{count,addr}): Declare.
1998-02-19 22:37:34 +00:00
Doug Evans
c9320f0675 * dvp.h (DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}): Split
DVP_OPERAND_DMA_PTR_AUTOCOUNT into two.
	(dma_operand_{count,addr}): Declare.
1998-02-19 10:10:32 +00:00
Doug Evans
e4cf2977c7 (CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS. 1998-02-18 07:57:59 +00:00
Doug Evans
deaa05853b * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro. 1998-02-18 05:46:37 +00:00
Doug Evans
652af042db * cgen.h (cgen_insert_fn): Change type of result to const char *.
(cgen_parse_{signed,unsigned}_integer): Delete min,max arguments.
1998-02-18 00:02:27 +00:00
Doug Evans
ad87e8651b * cgen.h (lookup_insn): New argument alias_p.
* dvp.h (VU_FLAG_[IEMDT]): New macros.
1998-02-13 02:33:26 +00:00
Joern Rennecke
fc3c25b9e0 opcodes:
* d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes):
	Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
	Introduce OPERAND_GPR.
	* d10v-dis.c (print_operand): Likewise.
include/opcode:
	* d10v.h (OPERAND_ACC): Split into:
	(OPERAND_ACC0, OPERAND_ACC1) .
	(OPERAND_GPR): Define.
gas/config:
	* tc-d10v.c (parallel_ok, find_opcode):
	Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
	Introduce OPERAND_GPR.
1998-02-12 03:56:57 +00:00
Doug Evans
42d56c40a2 * cgen.h (CGEN_FIELDS): Define here.
(CGEN_HW_ENTRY): New member `type'.
	(hw_list): Delete decl.
	(enum cgen_mode): Declare.
	(CGEN_OPERAND): New member `hw'.
	(enum cgen_operand_instance_type): Declare.
	(CGEN_OPERAND_INSTANCE): New type.
	(CGEN_INSN): New member `operands'.
	(CGEN_OPCODE_DATA): Make hw_list const.
	(get_insn_operands,lookup_insn): Add prototypes for.
1998-02-12 01:42:43 +00:00
Doug Evans
a4f6f75ff9 * cgen.h (CGEN_INSN_MAX_ATTRS): Renamed from CGEN_MAX_INSN_ATTRS.
(CGEN_HW_ENTRY): Move `next' entry to end of struct.
	(CGEN_KEYWORD_MAX_ATTRS): Renamed from CGEN_MAX_KEYWORD_ATTRS.
	(CGEN_OPERAND_MAX_ATTRS): Renamed from CGEN_MAX_OPERAND_ATTRS.
1998-02-04 01:16:11 +00:00
Ian Lance Taylor
5de944588a Mon Feb 2 17:10:38 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
* tic30.h: New file.
1998-02-02 22:13:36 +00:00
Doug Evans
fa5dd27d09 txvu.h renamed to dvp.h 1998-01-28 17:54:38 +00:00
James Lemke
1f8b7bb9cf Partial implementation of DMA tags (instructions).
Checkin to facilitate a component name change.
1998-01-28 02:18:58 +00:00
Doug Evans
35389a9340 * txvu.h (txvu_{opcode,operand}): New typedefs.
(txvu_operand): Add opcode,operand,mods arguments consistently to
	each of the parse/insert/extract/print routines.
1998-01-27 22:08:19 +00:00
Doug Evans
3f7eb70f90 add pke field bit macros 1998-01-27 05:53:54 +00:00
Doug Evans
dff6e4a297 (enum gpuif_reg): Declare. 1998-01-27 02:57:22 +00:00
Doug Evans
6e84cd36f3 * txvu.h (txvu_opcode): insert/extract/print take pointer to
instruction rather than instruction itself.  Result of insert is
	`void'.  Add decls for dma, pke, gpuif support.
1998-01-27 00:21:03 +00:00
Doug Evans
b5d20cf65d checkpoint 1998-01-26 06:24:59 +00:00
Doug Evans
4b40868e0f add comment. 1998-01-23 10:04:16 +00:00
Nick Clifton
a0f40e47f9 Oopps - forgot to save cgen.h before commiting previous delta. 1998-01-23 01:58:25 +00:00
Nick Clifton
810d9833fb Add prototypes for fixup swapping functions.
Change prototype of cgen_asm_finish_insn to return a char *
1998-01-23 01:57:11 +00:00
Doug Evans
3e22d82025 checkpoint 1998-01-21 00:50:24 +00:00
Doug Evans
97a6824dd3 checkpoint 1998-01-20 20:24:40 +00:00
Doug Evans
8ea2f96f9c checkpoint 1998-01-20 18:07:07 +00:00
Nick Clifton
b61df0261f Formatting changes to improve readability. 1998-01-15 01:24:03 +00:00
Doug Evans
3b542e9430 snapshot 1998-01-14 20:08:46 +00:00
Doug Evans
19d45995ed * cgen.h (*): Clean up pass over `struct foo' usage.
(CGEN_ATTR): Make unsigned char.
	(CGEN_ATTR_TYPE): Update.
	(CGEN_ATTR_{ENTRY,TABLE}): New types.
	(cgen_base): Move member `attrs' to cgen_insn.
	(CGEN_KEYWORD): New member `null_entry'.
	(CGEN_{SYNTAX,FORMAT}): New types.
	(cgen_insn): Format and syntax separated from each other.
1998-01-12 20:58:56 +00:00
Doug Evans
127312193d (TXVU_MASK_VFREG): Renamed from TXVU_MASK_REG. 1998-01-05 15:52:15 +00:00
Doug Evans
70e4ceaccb opcode header file for the txvu 1998-01-05 13:33:54 +00:00
Jeff Law
bfdbb113ec Move 'P' and PERFREG stuff outside of the vr5400 sanitization markers. 1997-12-15 19:38:45 +00:00
Nick Clifton
67a46fe94a Renamed v850eq -> v850ea 1997-12-12 18:53:24 +00:00
Joern Rennecke
fe00b2ed0f * include/opcode/d10v.h (OPERAND_FLAG): Split into:
(OPERAND_FFLAG, OPERAND_CFLAG) .
	* opcodes/d10v-opc.c (OPERAND_FLAG): Split into:
	(OPERAND_FFLAG, OPERAND_CFLAG) .
	(FSRC): Split into:
	(FFSRC, CFSRC).
	* gas/config/tc-d10v.c (parallel_ok, find_opcode):
	Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
Fix for PR 13985.
1997-11-18 19:41:44 +00:00
Gavin Romig-Koch
c7227bdcf7 * include/opcode/mips.h (INSN_4900): Added. 1997-10-29 22:44:29 +00:00
Ken Raeburn
336ffb472f add a couple more notes to comment 1997-10-28 04:18:25 +00:00
Ken Raeburn
b410ea2b2b checkpoint vr5400 additions 1997-10-28 03:33:38 +00:00
Richard Henderson
206f6432ed * sparc.h: Add '_' and '/' for v9a asr's.
Patch from David Miller <davem@vger.rutgers.edu>
1997-10-23 00:26:08 +00:00
Jeff Law
78fa3a1408 * h8300.h: Bit ops with absolute addresses not in the 8 bit
area are not available in the base model (H8/300).
pr 13467.
1997-10-14 19:19:15 +00:00
Ian Lance Taylor
9d696aa346 fix copyright 1997-09-24 23:01:48 +00:00
Ian Lance Taylor
5aee65fcfa * m68k.h: Document q and v operand specifiers. 1997-09-24 23:00:42 +00:00
Nick Clifton
6c84a1a2ab Removed v850eq sanitization. 1997-09-20 23:07:04 +00:00
Felix Lee
3e906c081a sanitization fixes. typoes, missing fences, "start" instead of "end", etc. 1997-09-18 06:03:52 +00:00
Felix Lee
e1625ed217 v850 files that weren't being removed if !keep-v850 1997-09-18 01:33:24 +00:00
Nick Clifton
922971957e Added new field to v850_opcode structure. 1997-09-16 01:27:48 +00:00
Ken Raeburn
00c6b5b387 merge from d30v-970225-branch 1997-09-15 16:38:29 +00:00
David Edelsohn
3e4cee6232 * cgen.h: Move assembler interface section
up so cgen_parse_operand_result is defined for cgen_parse_address.
	(cgen_parse_address): Update prototype.
1997-09-08 21:06:31 +00:00
Nick Clifton
a8211eb8d7 Removed v850 sanitization. 1997-09-03 21:51:18 +00:00
Nick Clifton
1f5595a6f0 Removed the V850_OPREAND_ADJUST_SHORT_MEMORY flag as it no longer used. 1997-09-02 22:31:04 +00:00
Ian Lance Taylor
2af7b4a3fc * i386.h (two_byte_segment_defaults): Correct base register 5 in
modes 1 and 2 to be ss rather than ds.  From Gabriel Paubert
	<paubert@iram.es>.
1997-08-26 17:12:31 +00:00
Ian Lance Taylor
19f080ab4e * i386.h: Set ud2 to 0x0f0b. From Gabriel Paubert
<paubert@iram.es>.
1997-08-26 16:40:41 +00:00
Ian Lance Taylor
9df6ca2f46 * i386.h: Comment fixes for ficom[p]?{s,l} from Gabriel Paubert
<paubert@iram.es>.
1997-08-26 16:36:07 +00:00
Ian Lance Taylor
051a96ff10 tipo 1997-08-26 16:25:06 +00:00
Ian Lance Taylor
c2367582a0 * i386.h (JUMP_ON_CX_ZERO): Uncomment (define again).
(JUMP_ON_EXC_ZERO): Remove commented out macro.
1997-08-26 16:22:36 +00:00
Nick Clifton
b9792954bb Added new flag: V850_NOT_R0 to indicate that r0 is not a valid register for
this operand.
1997-08-22 17:36:15 +00:00
Ian Lance Taylor
d1a6b493b8 fix v850 sanitization 1997-08-15 15:50:13 +00:00
Nick Clifton
a0a6db4bfa Tidied up sanitization. 1997-08-14 19:45:14 +00:00
Nick Clifton
190b78bbe1 Added support for new v850e and v850eq instructions. 1997-08-14 01:49:02 +00:00
Ian Lance Taylor
abb742acba keep arc.h 1997-08-10 18:31:04 +00:00
David Edelsohn
737ff150cf * arc.h: New file.
Plus remove arc sanitization.
1997-08-08 23:58:57 +00:00
Jeff Law
71545ee538 * mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn
uses single or double precision floating point resources.
        (INSN_NO_ISA, INSN_ISA1): Define.
        (cpu specific INSN macros): Tweak into bitmasks outside the range
        of INSN_ISA field.
toshiba_5900 stuff
1997-07-11 16:12:56 +00:00
Ian Lance Taylor
d4dbc0c341 Mon Jun 16 14:10:00 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* i386.h: Fix pand opcode.
1997-06-16 18:11:38 +00:00
Ian Lance Taylor
3abaf93062 * i386.h: Add MMX instructions. 1997-05-05 21:16:46 +00:00
Ian Lance Taylor
654b084539 Mon May 5 12:45:19 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* i386.h: Remove W modifier from conditional move instructions.
1997-05-05 16:46:18 +00:00
David Edelsohn
9b64639572 * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_parse_operand_fn): Declare.
	(cgen_init_parse_operand): Declare.
	(cgen_parse_operand): Renamed from cgen_asm_parse_operand,
	new argument `want'.
	(enum cgen_parse_operand_result): Renamed from cgen_asm_result.
	(enum cgen_parse_operand_type): New enum.
1997-04-10 23:39:08 +00:00
David Edelsohn
fe2dd6424b * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_asm_parse_operand_fn): Declare.
1997-04-10 21:55:09 +00:00
Ian Lance Taylor
c0d7b5346d * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases. 1997-04-05 18:15:32 +00:00
David Edelsohn
df8b2c02b3 cgen header file 1997-04-04 19:48:32 +00:00
Ian Lance Taylor
80aeca1402 update copyright 1997-04-04 19:06:12 +00:00
Ian Lance Taylor
c00435ed04 * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and
fdivrp.
1997-04-04 19:03:15 +00:00
Ian Lance Taylor
0585a29283 * i386.h: Add iclr. 1997-03-24 19:38:27 +00:00
Ian Lance Taylor
527cabaf29 * i386.h: Change DW to W for cmpxchg and xadd, since they don't
take a direction bit.
1997-03-21 00:53:24 +00:00
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