Commit graph

195 commits

Author SHA1 Message Date
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
K. Richard Pixley
65ae7bfa78 white space change to avoid nested comment 1993-09-13 19:52:23 +00:00
Ian Lance Taylor
57fbd6b0c0 * m68k.h (two): Protect second argument with parentheses. 1993-09-13 19:47:41 +00:00
Ian Lance Taylor
fc0d7441be * i386.h (i386_optab): Properly bracket initializers. 1993-09-09 21:43:54 +00:00
Ian Lance Taylor
de14dfd747 * mips.h (M_ABSU): Removed (absolute value of unsigned number??).
(M_DABS): Added.
1993-08-23 17:02:38 +00:00
Ian Lance Taylor
0834f5184d * mips.h (INSN_*): Changed values. Removed unused definitions.
Added INSN_COND_BRANCH_LIKELY, INSN_ISA2 and INSN_ISA3.  Split
	INSN_LOAD_DELAY into INSN_LOAD_MEMORY_DELAY and
	INSN_LOAD_COPROC_DELAY.  Split INSN_COPROC_DELAY into
	INSN_COPROC_MOVE_DELAY and INSN_COPROC_MEMORY_DELAY.
	(M_*): Added new values for r6000 and r4000 macros.
	(ANY_DELAY): Removed.
1993-08-20 15:40:00 +00:00
Ian Lance Taylor
7864122141 * mips.h: Added M_LI_S and M_LI_SS. 1993-08-18 19:39:33 +00:00
Fred Fish
b5ed6e32c2 Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +00:00
Fred Fish
775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
Jim Kingdon
6702e216f0 * hppa.h: New argument type 'y'. Use in various float instructions. 1993-07-21 18:56:16 +00:00
Jim Kingdon
8622d4e5f1 * hppa.h (break): First immediate field is unsigned. 1993-07-20 00:20:44 +00:00
Jim Kingdon
0b3ae81140 * hppa.h: Add rfir instruction. 1993-07-20 00:17:37 +00:00
Jim Kingdon
0ffccbfb6c * mips.h: Split the actual table out into ../../opcodes/mips-opc.c. 1993-07-19 02:26:06 +00:00
Ian Lance Taylor
763e8ded4b * mips.h: Reworked the hazard information somewhat, and fixed some
bugs in the instruction hazard descriptions.
1993-07-16 17:01:31 +00:00
Ian Lance Taylor
d909159c16 * m88k.h: Corrected a couple of opcodes. 1993-07-15 16:43:54 +00:00
Ian Lance Taylor
05166a28a4 * mips.h: Replaced with version from Ralph Campbell and OSF. The
new version includes instruction hazard information, but is
	otherwise reasonably similar.
1993-07-07 17:34:57 +00:00
Steve Chamberlain
3cf013404e Extra stuff for really broken hp compiler. 1993-06-28 15:59:30 +00:00
Stu Grossman
34a8b7246b * Patches from Jeffrey Law <law@cs.utah.edu>.
* hppa.h: Rework single precision FP
	instructions so that they correctly disassemble code
	PA1.1 code.
1993-06-03 23:46:54 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
K. Richard Pixley
7b85349fe8 honor verbose flag 1993-05-27 03:22:48 +00:00
Ken Raeburn
3b17ee1bad try to make hppa opcode table, updated for gas, still be compatible with gdb 1993-05-25 04:46:09 +00:00
Ken Raeburn
1da91f29e1 move split to divide tables more evenly 1993-05-14 11:43:42 +00:00
Jim Kingdon
a7a9a714e0 * rs6k.h: Clean up instructions for primary opcode 19 (many were
simply wrong, ics, rfi, & rfsvc were missing).
	Add "a" to opr_ext for "bb".  Doc fix.
1993-04-09 20:52:04 +00:00
John Gilmore
21d9662b16 Keep convex.h. 1993-02-14 21:54:59 +00:00
John Gilmore
a69942c89b * a29k.h: Remove RCS crud, update GPL to v2, update copyrights.
* convex.h:  Added, from GDB's convx-opcode.h.  Added CONST to all
initialized structs in it.
1993-02-04 10:08:35 +00:00
Ken Raeburn
ffb93a5d6a mips.h comment fix from Ralph Campbell 1993-02-03 22:15:19 +00:00
John Gilmore
1d4959c530 Remove extra msg 1993-02-03 09:05:58 +00:00
John Gilmore
1d0d5dbe7f Delta 88 changes inspired by Carl Greco, <cgreco@Creighton.Edu>:
* m88k.h (PMEM):  Avoid previous definition from <sys/param.h>.
(AND):  Change to AND_ to avoid ansidecl.h `AND' conflict.
1993-01-29 05:34:09 +00:00
Stu Grossman
09f3dc6e06 * hppa.h: Move handy aliases to the front. Fix masks for extract
and deposit instructions.
1992-12-22 05:31:22 +00:00
Ken Raeburn
f53f0a036d Change from John Carr: use v', not a', for operand 2 of vax bb* instructions. 1992-11-23 18:52:04 +00:00
Ian Lance Taylor
66beed38d2 Wed Sep 9 11:25:28 1992 Ian Lance Taylor (ian@cygnus.com)
* m68k.h: merged Motorola and MIT syntax.
1992-09-09 18:38:50 +00:00
Ken Raeburn
7b22a53c6c m68k.h (m68ec030): Defined as alias for 68030.
(m68k_opcodes): New type characters "3" for 68030 MMU regs and "t" for
immediate 0-7 added.  Set up some opcodes (ptest, bkpt) to use them.
Tightened description of "fmovex" to distinguish it from some "pmove"
encodings.  Added "pmove" for 68030 MMU regs, cleaned up descriptions that
claimed versions were available for chips not supporting them.  Added
"pmovefd".

sparc.h: Fixed up some comments.
1992-08-26 03:46:22 +00:00
Per Bothner
04edcda10f * m68k.h: Merged in patches (mostly m68040-specific) from
Colin Smith <colin@wrs.com>.
1992-08-14 23:12:58 +00:00
Per Bothner
1245410da0 * m68k.h: Merged m68kmri.h and m68k.h (using the former as a
base).  Also cleaned up duplicates, re-ordered instructions for
	the sake of dis-assembling (so aliases come after standard names).
	* m68kmri.h: Now just defines some macros, and #includes m68k.h.
1992-08-14 21:23:56 +00:00
Steve Chamberlain
339a27b48d * m68kmri.h: added various opcodes. Moved jbxx to bxxes. Filled in
all missing .s
1992-08-12 23:39:34 +00:00
Ken Raeburn
6bb4c92322 moved sparc opcode table to bfd 1992-08-11 16:57:29 +00:00
Ken Raeburn
3a6a48137f * i386.h (i386_optab): Add fildq, fistpq aliases used by gcc. 1992-08-11 16:36:35 +00:00
Ken Raeburn
47660bef1b fix for PRs 1360 and 1370 -- new v8 patterns for save,inc,dec 1992-08-01 03:19:58 +00:00
Steve Chamberlain
e4df52accd fix bra.s stuff 1992-07-17 17:10:57 +00:00
Fred Fish
36fcc06101 * h8300.h: Finish filling in all the holes in the opcode table,
so that the Lucid C compiler can digest this as well...
1992-06-28 20:30:01 +00:00
John Gilmore
5b88adf7a2 Use tabs to indent comments, so they line up. 1992-06-27 05:01:14 +00:00
John Gilmore
ce868e5c94 * i386.h: Add setc, setnc, addr16, data16, repz, repnz aliases.
Fix opcodes on various sizes of fild/fist instructions
(16bit=no suffix, 32bit="l" suffix, 64bit="ll" suffix).
Fixes suggested by Minh Tran-Le.
1992-06-27 04:56:08 +00:00
Stu Grossman
76b731f9ae HPPA BS 1992-06-20 01:00:46 +00:00
Steve Chamberlain
20ccefe6d4 Checkpoint 1992-05-26 18:26:13 +00:00
Steve Chamberlain
e727f8ea91 Keep m68kmri.h 1992-05-05 03:12:59 +00:00
Steve Chamberlain
ec9df7e7b7 M68k opcodes with MRI names 1992-05-02 01:02:56 +00:00
Per Bothner
c0532cf36b * rs6k.h: New version from IBM (Metin). 1992-04-17 01:34:34 +00:00
Per Bothner
cf9838aff0 * rs6k.h: Fix incorrect extended opcode for instructions `fm'
and `fd'.  (From metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).)
1992-04-09 07:47:06 +00:00
Stu Grossman
3ab074bcaa Add rs6k.h 1992-04-07 20:53:43 +00:00
Stu Grossman
aa505f07bd * rs6k.h: Move from ../../gdb/rs6k-opcode.h. 1992-04-07 20:39:31 +00:00
Fred Fish
677ff94729 Cast macro args to unsigned to avoid complaints from compiler and lint
about integer overflow during left shift of 16 bits.
1992-04-03 19:33:14 +00:00
John Gilmore
14144df4c9 * sparc.h: Remove "cypress" architecture. Remove "fitox" and
similar instructions -- they've been renamed to "fitoq", etc.
REALLY fix tsubcctv.  Fix "fcmpeq" and "fcmpq" which had wrong
number of arguments.
* h8300.h:  Remove extra ; which produces compiler warning.
1992-01-30 09:14:21 +00:00
Stu Grossman
cc35cb05ce * sparc.h: fix opcode for tsubcctv. 1992-01-29 07:01:25 +00:00
Michael Tiemann
a9b0d1aece * sparc.h (nop): Add RD_GO to `lose' so that only %g0 in dest is
disassembled as a nop.
1991-12-22 20:19:57 +00:00
Stu Grossman
f59db85529 * bfd.h, ieee.h, opcode/m68k.h, opcode/sparc.h: ANSIfy enums. 1991-12-19 01:22:03 +00:00
Michael Tiemann
aa09fc9b6b Fix backward i/f bit in movcc insns. 1991-12-07 01:46:52 +00:00
Steve Chamberlain
1ee1fd7e97 Initial revision 1991-12-01 04:45:47 +00:00
Steve Chamberlain
0227e9187b Initial revision 1991-12-01 02:29:45 +00:00