Commit graph

981 commits

Author SHA1 Message Date
John Metzler
8b023c48d5 *** empty log message *** 1998-06-18 21:08:52 +00:00
Jeff Law
a145a5ac84 Rework ChangeLog entry to avoid mentioning vr5400 in a r5900 entry. 1998-06-18 19:14:20 +00:00
John Metzler
20af011086 * mips-dis.c (print_insn_little_mips): Previously, instruction
printing references the symbol table to determine whether the
 	instruction resides in a block regular instructions or mips16
 	instructions. However, when the disassembler gets used in other
 	environments where the symbol table is not present, we no longer
 	rely in the symbol table, rather, use the low bit of the
 	instructions address to guess. There should be no change for usage
 	of the disassembler in host based programse, gdb ,objdump.
	(print_insn_big_mips): ditto.
	(print_insn_mips): ditto
1998-06-18 17:30:26 +00:00
Ian Lance Taylor
d845999e69 tipo 1998-06-18 16:20:45 +00:00
Jeff Law
9eb61c7c61 start-sanitize-am33
* m10300-opc.c (USP, SSP, MSP, PC, IMM4, EPSW, RN0, RM1): New
        operands for the am33.
        (mn10300_opcodes): Add new instructions from the am33.
end-sanitize-am33
        * m10300-opc.c (mn10300_opcodes): Change opcode for "syscall".

Snapshot current work.
1998-06-17 23:54:25 +00:00
Ian Lance Taylor
e6db632454 Tue Jun 16 13:10:51 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c (index16): Add '%' to register names.  Use ','
	instead of '+'.
1998-06-16 17:11:47 +00:00
Ian Lance Taylor
5f90dab190 Sat Jun 13 11:33:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c: Don't print opcode suffix when we can figure out the
	size (and gas can!) by register operands, or from the default
	size.
	(putop): Handle 'A', 'B', 'L', 'P', 'Q', 'R' macros.  Rename 'C'
	macro to 'E'.
	(dis386, dis386_twobyte, grps): Use new suffix macros.
	(dis386): Correct imul Ib to imul sIb.  Change jnl to jge to be
	consistent.  Add suffix for call, jmp, lcall, ljmp, iret.  Reverse
	order of cmps operands to agree with Intel docs.  Correct operand
	of aad and aam (Ib -> sIb).  Change ud2b from 0fb8 to 0fb9 to
	agree with Intel docs.
	(print_insn_x86): Print orphan fwait before other prefixes.
	Return correct byte count for orphan fwait with prefixes.  Don't
	print `bound' operands in reverse order.
	(ckprefix): Stop accumulating prefixes if we get fwait.
	(OP_DIR): Print `$' before Ap operands of ljmp, lcall.
1998-06-13 15:38:32 +00:00
Tom Tromey
3d935b64eb * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-12 22:39:34 +00:00
Ian Lance Taylor
80ade9931a Fri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Fix problems when bfd_vma is wider than long.
	* i386-dis.c: Make op_address and start_pc unsigned.
	(set_op): Make parameter unsigned.
	(print_insn_x86): Cast to bfd_vma when passing a value to
	print_address_func.
	* ns32k-dis.c (CORE_ADDR): Don't define.
 	(print_insn_ns32k): Change type of addr to bfd_vma.  Use
	bfd_scan_vma to read back address.
	(print_insn_arg): Change type of addr to bfd_vma.  Use sprintf_vma
	to format it.
	* m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow.
	(NEXTULONG): New definition.
	(print_insn_m68k): Avoid overflow when computing third argument of
	print_insn_arg.
	(print_insn_arg): Use NEXTULONG to fetch 32 bit address values.
	Use disp instead of val to store offset values.
	(print_indexed): Use base_disp instead of word to store base
	displacement, to avoid overflow.
	* m10300-dis.c (disassemble): Cast value to long when computing
	pc-relative address, to get correct sign extension.
1998-06-12 15:13:28 +00:00
Doug Evans
aead84dc65 * m32r-opc.c: Regenerate.
Updates from better VoidMode handling in cgen.
1998-06-10 23:00:10 +00:00
Nick Clifton
c36224ac5a Disassemble 'add rX, rY, #0' as 'mov rX, rY'. 1998-06-09 21:30:56 +00:00
Nick Clifton
f79ebb2c0f Fix for PR16116 - remove FLAG_MUL32 attribute from MULX2H insn. 1998-06-09 01:18:34 +00:00
Ian Lance Taylor
80119c9ee4 Fri Jun 5 23:47:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c:  Combine aflag and dflag into sizeflag.  Change OP_*
	functions to void.
	(OP_DSreg): Rename from OP_DSSI.
	(OP_ESreg): Rename from OP_ESDI.
	(Xb, Xv, Yb, Yv): Use index reg code, not b_mode or v_mode.
	(DSBX): Define.
	(append_seg): Rename from append_prefix.
	(ptr_reg): New function.
	(dis386): Add S suffix to pushf, popf, ret, lret, enter, leave.
	Add DSBX for xlat.
	(PREFIX_ADDR): Rename from PREFIX_ADR.
	(float_reg): Add non-broken opcodes for people who don't want
	UNIXWARE_COMPAT.
1998-06-06 03:54:24 +00:00
Ian Lance Taylor
587b388d85 Fri Jun 5 19:15:04 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-opc.c (tstb, tstw, tstl): Don't allow pcrel on
	68000/68008/68010.
1998-06-05 23:15:45 +00:00
Ian Lance Taylor
06f9c743fc x 1998-06-03 22:57:17 +00:00
Ian Lance Taylor
ea81d2f627 Tue Jun 2 15:06:46 1998 Geoff Keating <geoffk@ozemail.com.au>
* ppc-opc.c (powerpc_macros): Support shifts and rotates of size
	0; produce error message for shifts of size 32 (or 64 for 64-bit
	shifts), because the hardware doesn't support them.
1998-06-02 19:07:44 +00:00
Jeff Law
e10f900fac * mips-opc.c (c.lt.s): Remove r5900 specific variant.
(c.le.s): Likewise.
1998-06-01 18:25:20 +00:00
Jeff Law
7d3d00f846 * vu0.h (sqc2): Fix opcode. 1998-06-01 16:36:09 +00:00
Jeff Law
d2c9a57bc6 * mips-opc.c (rsqrt.s): Update based on r5900 ISA manual version 2.1
(sqrt.s): Likewise.
1998-06-01 16:28:52 +00:00
Stan Cox
e2cb37fee1 sparclite 86x big endian instruction / little endian data support. 1998-05-27 00:51:33 +00:00
Nick Clifton
3db24c6bc8 Fix PR15984 - Add flags to various opcodes 1998-05-26 23:53:12 +00:00
Nick Clifton
42b5fd3608 Fix Pr15998 - Make SHORT_B3(b) formats examin but not modify their first register argument. 1998-05-26 23:15:23 +00:00
Doug Evans
cbc6c9b2bf * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.
	* m32r-asm.c,m32r-dis.c: Regenerate.
1998-05-22 23:03:45 +00:00
Doug Evans
05f704645d * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.
1998-05-22 23:02:40 +00:00
Doug Evans
b2158e2f1b * dvp-opc.c (parse_dotdest): Missing dest -> xyzw. 1998-05-22 18:45:19 +00:00
Jeff Law
3366d0655b * mips-opc.c (multu1): Add two operand variant for the r5900. 1998-05-20 06:21:01 +00:00
Ian Lance Taylor
7e9e8c361d * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
with a shift count of 0.
1998-05-19 21:36:42 +00:00
Frank Ch. Eigler
10c3731d9c * Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Mon May 18 14:27:06 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* mips-opc.c (mult1): Add two-operand variety of mult1 for R5900.
1998-05-18 17:46:35 +00:00
Jeff Law
1124a4a7a7 * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
(_print_insn_mips): Likewise.
        * vu0.h (vopmula, vopmsub): Correctly handle opcode/operand
        completers.
1998-05-18 17:46:34 +00:00
Frank Ch. Eigler
58b60bec0d * Fix sanitization 1998-05-18 09:31:10 +00:00
Doug Evans
9c73b8e49c (cgen_hw_lookup_by_num): better name 1998-05-15 23:01:06 +00:00
Doug Evans
9a6c492c14 * cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup.
(cgen_hw_lookup_by_enum): New function.

	* m32r-opc.c, m32r-opc.h: Regenerate, delete h-abort.
1998-05-15 21:59:35 +00:00
Doug Evans
b7d86bd633 * m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA). 1998-05-14 00:05:34 +00:00
Mark Alexander
c67395c94a * sparc-dis.c (print_insn_sparc): Always fetch instructions
as big-endian on SPARClite.
1998-05-13 21:39:16 +00:00
Richard Henderson
703491942c * d30v-opc.c (pre_defined_register): Remove alias for r0.
PR 15669
1998-05-12 18:46:34 +00:00
Jeff Law
c8f90c731e * po/Make-in (install-info): New target. 1998-05-11 04:36:09 +00:00
Ian Lance Taylor
c21d8b4f01 * configure.in (WIN32LIBADD): Add -lintl on cygwin32.
* configure: Rebuild.
1998-05-07 21:16:31 +00:00
Frank Ch. Eigler
bbee738e86 * Converted conditional-trap MIPS opcodes to extra-operand variety also.
Thu May  7 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* mips-opc.c (teq,tge,tgeu,tlt,tltu,tne): Added three-operand
 	variety of ISA2 instructions to set bottom ten bits of trap code.
1998-05-07 17:43:38 +00:00
Ian Lance Taylor
928180df8e * Makefile.am (config.status): Add explicit target so that
config.status depends upon bfd/configure.in.
	* Makefile.in: Rebuild.
1998-05-07 15:56:07 +00:00
Frank Ch. Eigler
01c6e45fe7 * First batch of fixes for sky PR 15853 (20-bit break/sdbbp) 1998-05-07 15:34:13 +00:00
Doug Evans
a2f0f7f230 * cgen.sh: s/@ARCH@/${ARCH}/ in opc.h generation.
* m32r-opc.h: Regenerate.
1998-05-06 21:49:38 +00:00
Ian Lance Taylor
94db6f7294 Wed May 6 15:30:06 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Run dec c with /nodebug.
1998-05-06 19:31:11 +00:00
Ian Lance Taylor
6711d1ef23 fix xgettext invocation 1998-05-06 18:30:34 +00:00
Ian Lance Taylor
c2400a02de fix gettext sanitization 1998-05-06 18:15:00 +00:00
Ian Lance Taylor
f7934c1ac6 add po 1998-05-06 17:49:44 +00:00
Doug Evans
fbe293a6dd * configure.in: Add support for --enable-cgen-maint.
* Makefile.am (M32R_DEPS): New variable.
	(m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c): Update dependencies.
	* aclocal.m4: Regenerate.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

	* Makefile.am (CGENFILES): Add minsn.scm.
1998-05-01 20:59:29 +00:00
Nick Clifton
1e74d15c9f Internationalised these files. 1998-04-29 01:06:56 +00:00
Nick Clifton
f113ea6b7d Rebuilt again! 1998-04-28 22:48:23 +00:00
Nick Clifton
65887313cf Rebuilt again! 1998-04-28 22:43:01 +00:00
Nick Clifton
8a660fab29 Regernate aclocal.m4 and configure using latest tools (I hope!) 1998-04-28 22:00:55 +00:00
Ian Lance Taylor
9f28ec1a55 Change Makefile.am, not Makefile.in. 1998-04-28 21:39:50 +00:00
Nick Clifton
4c5c86cb54 Fixed build of POTFILES.in 1998-04-28 21:15:42 +00:00
Ian Lance Taylor
784492b591 * configure.in: Call AC_ISC_POSIX near start. Move CY_GNU_GETTEXT
after AC_PROG_CC.
	* aclocal.m4, configure: Rebuild with current tools.
Also add sanitization to ChangeLog.
1998-04-28 17:16:39 +00:00
Ian Lance Taylor
4139b063a6 add opintl.h 1998-04-28 17:12:30 +00:00
Nick Clifton
240f5c9faa Added Internationalisation macros to English text strings. 1998-04-28 00:07:48 +00:00
Nick Clifton
072aa625aa Internationalised the opcodes library. 1998-04-27 21:39:56 +00:00
Doug Evans
1294c286cb * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. 1998-04-27 20:10:40 +00:00
Doug Evans
041d7e18a9 tweak comment 1998-04-27 17:49:54 +00:00
Doug Evans
2613b5e63d * cgen-asm.c (cgen_current_opcode_table): Renamed from ..._data.
(asm_hash_table_entries): New variable.
	(cgen_asm_init): Free asm_hash_table_entries.
	(hash_insn_array,hash_insn_list): New functions.
	(build_asm_hash_table): Use them.  Hash macro insns as well.
	(cgen_asm_lookup_insn): Update.
	* cgen_dis.c (cgen_current_opcode_table): Renamed from ..._data.
	(dis_hash_table_entries): New variable.
	(cgen_dis_init): Free dis_hash_table_entries.
	(hash_insn_array,hash_insn_list): New functions.
	(build_dis_hash_table): Use them.  Hash macro insns as well.
	(cgen_dis_lookup_insn): Update.
	* cgen-opc.c (cgen_current_opcode_table): Renamed from ..._data.
	(cgen_set_cpu,cgen_hw_lookup,cgen_insn_count): Update.
	(cgen_macro_insn_count): New function.
	* cgen-opc.in (@arch@_cgen_lookup_insn): New arg alias_p.
	All callers updated.  Sanity check result of extract fn.
	(@arch@_cgen_get_insn_operands): Change result type to void.
	Delete args insn_value, length.  New arg fields.  All callers updated.
	(@arch@_cgen_lookup_get_insn_operands): New function.
1998-04-27 17:48:05 +00:00
Ian Lance Taylor
409595b889 Fri Apr 24 16:07:57 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c (OP_DSSI): Print segment override.
1998-04-24 20:09:22 +00:00
Frank Ch. Eigler
fd298f38cd * Another typo in R5900 COP1 disassembly tables. Other similar
entries are fine.

Thu Apr 23 12:32:07 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* mips-opc.c (msub.s): Correct mask pattern for disassembly.
1998-04-23 16:41:11 +00:00
Frank Ch. Eigler
171c7bbffe * Bit mask pattern fix for R5900 madd.s instruction; PR 15371. 1998-04-21 14:32:53 +00:00
Jeff Law
632c232a93 * vu0.h (vlqd, vlqi): Update per revised specs. 1998-04-18 06:30:57 +00:00
Doug Evans
c2e042cf7b (vif_unpack_len_value): Avoid divide by zero. 1998-04-16 21:34:38 +00:00
Doug Evans
cd53a9d95a * dvp-opc.c (parse_vif_unpackloc,insert_vif_unpackloc): Delete.
(vif_operands): Update.
	(vif_get_unpackloc): Delete.
	(state_vif_unpackloc{,_star_p}): Delete.
	(dvp_opcode_init_parse): Update.
1998-04-16 18:49:18 +00:00
Frank Ch. Eigler
92976c09d5 * Customer specs changed one R5900 COP2 instruction bit-pattern.
Wed Apr 15 10:30:07 1998   Frank Ch. Eigler  <fche@cygnus.com>

	* vu0.h: Specs changed for VCALLMSR bit pattern.
	* mips-dis.c: (print_insn_arg) Matching change.
1998-04-15 17:36:43 +00:00
Nick Clifton
e172723d97 Add "_all" extension to 'C' operator. 1998-04-14 00:01:20 +00:00
Ian Lance Taylor
991e950245 * Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@.
(libopcodes_la_LDFLAGS): Add @WIN32LDFLAGS@.
	* configure.in: Define and substitute WIN32LDFLAGS and
	WIN32LIBADD.
	* aclocal.m4: Rebuild with new libtool.
	* configure, Makefile.in: Rebuild.
1998-04-13 20:52:01 +00:00
Frank Ch. Eigler
dde0a234f5 * Corrected a one-character typo. All instructions tested in gas/.../vu0.s
now correctly disassemble during runs under the sky VU0 simulator.

[ChangeLog]

Mon Apr 13 16:02:02 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* vu0.h: Corrected bit pattern for VMAXI opcode.
1998-04-13 20:25:24 +00:00
Doug Evans
108d6f326e * m32r-opc.c: Regenerate. 1998-04-11 01:18:23 +00:00
Doug Evans
2df3bc2192 * dvp-opc.c (vif_macros): Tweak unpackloc operand.
(dvp_expand_macro): Implement.
	(insert_vif_datalen): Record value with max+1 -> 0 conversion.
	(vif_unpack_len): Perform 0 -> max+1 conversion on `wl' value.
1998-04-07 03:20:26 +00:00
Doug Evans
1741be004a * dvp-opc.c (vif_macros): Tweak unpackloc operand.
(dvp_expand_macro): Implement.
1998-04-07 00:19:58 +00:00
Ian Lance Taylor
638985a9c9 Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (stamp-lib): Check that .libs/libopcodes.a exists
	before trying to copy it.
	* Makefile.in: Rebuild.
1998-04-05 20:09:39 +00:00
Nick Clifton
d8ca5faec5 Fix bit patterns for SAT and SATB to rev 0.82 docs. 1998-04-03 00:45:21 +00:00
Nick Clifton
6c406210fa Add extra control registers 1998-04-02 22:10:56 +00:00
Jason Molenda
775b60dd73 Wed Apr 1 16:20:27 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
* ns32k-dis.c (bit_extract_simple): New function to extract bits
        from an arbitrary valid buffer instead of fetching them on demand
        using fetch_data().
        (invalid_float): use bit_extract_simple() instead of bit_extract().


contributed to me for gdb 4.17.
1998-04-02 00:21:05 +00:00
Nick Clifton
b2ddf0c4d6 Fix SATB bit pattern. Add extra control registers. 1998-04-01 22:58:53 +00:00
Ian Lance Taylor
d4006c819a From H.J. Lu <hjl@gnu.org>:
* i386-dis.c (dis386): Change 0x8c and 0x8e to movS, and change Ew
	to Ev for both.
1998-03-31 16:10:46 +00:00
Ian Lance Taylor
b5dc554447 x 1998-03-30 22:32:48 +00:00
Ken Raeburn
7ea76776a8 * d30v-dis.c (print_insn_d30v): Don't use uninitialized "num" when
disassembling last 4 bytes of a section.
1998-03-30 20:24:50 +00:00
Ian Lance Taylor
930ab85653 Fix gcc -Wall warnings. See ChangeLog for details. 1998-03-27 23:29:46 +00:00
Jeff Law
348f11e573 * mips-opc.c: Add "sync.l" and "sync.p".
pr15204
1998-03-27 07:01:51 +00:00
Doug Evans
3792311ce6 * dvp-dis.c (print_insn): Print unpack address in hex.
* dvp-opc.c (parse_vif_mpgloc): Renamed from parse_vif_mpgloc_star.
	Don't skip over '*', just record it.
	(insert_vif_mpgloc): Don't update state_vif_mpgloc if '*' value.
	(parse_vif_unpackloc): Renamed from parse_vif_unpackloc_star.
	Don't skip over '*', just record it.
	(insert_vif_unpackloc): Don't update state_vif_unpackloc if '*' value.
	(vif_operands): Delete VIF_MPGLOC_STAR,VIF_UNPACKLOC_STAR entries.
	(vif_opcodes): Likewise.
	(state_vif_{mpg,unpack}loc_star_p): New static locals.
	(vif_macros,vif_macro_count): New globals.
	(vif_unpack_len_value): New arguments wl,cl.  All callers updated.
	(vif_set_{mpg,unpack}loc): Delete.  All callers updated.
	(vif_get_wl_cl): New function.
	(dvp_opcode_init_parse): Init mpgloc,unpackloc state.
1998-03-25 21:43:02 +00:00
Ian Lance Taylor
143e58b45b Wed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-dis.c (print_insn_m68k): Use info->mach to select the
	default m68k variant to recognize.
1998-03-25 20:41:31 +00:00
Ian Lance Taylor
025af5b9d2 Wed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* i960-dis.c (pinsn): Change type of first argument to bfd_vma.
	(ctrl, cobr, mem, ea): Likewise.
	(print_addr): Likewise.  Remove cast.
	(ea): Cast argument of print_addr to bfd_vma.

	* cgen-asm.c (cgen_parse_signed_integer): Fix type of local
	variable value.
	(cgen_parse_unsigned_integer): Likewise.
	(cgen_parse_address): Likewise.

Wed Mar 25 14:31:31 1998  Ian Lance Taylor  <ian@cygnus.com>

	* i960-dis.c (ctrl): Add full braces to structure initialization.
	(cobr, mem, reg): Likewise.
	(ea): Correct parenthesization in expression.

	* cgen-asm.c: Include <ctype.h>.
	(build_asm_hash_table): Remove unused local variable i.
	(cgen_parse_keyword): Add casts to avoid warnings.

	* arm-dis.c (print_insn_big_arm): Only call coffsymbol for a COFF
	symbol.  Fix indentation.
	(print_insn_little_arm): Likewise.
1998-03-25 19:36:04 +00:00
Jeff Law
f4cbd84efe * vu0.h (cfc2, ctc2): Add variants with ".i" and ".ni"
opcode extensions.
1998-03-25 01:09:09 +00:00
Nick Clifton
ca6697f7f3 add sanitization marker 1998-03-23 19:36:21 +00:00
Nick Clifton
e5f359d16c Fix SATH bit pattern (PR15418) 1998-03-23 19:33:35 +00:00
Doug Evans
9a5a39e9e4 * dvp-opc.c (vif_operand_datalen_special): New global. 1998-03-23 18:01:04 +00:00
Jeff Law
98f699f653 * vu0.h (vcallms): Use 'O' for call target operand.
* mips-dis.c (print_insn_arg): Handle 'O'.
1998-03-22 19:56:37 +00:00
Ian Lance Taylor
bd4a69c3ea * configure.in: Use AM_DISABLE_SHARED.
* aclocal.m4, configure: Rebuild with libtool 1.2.
1998-03-20 23:55:49 +00:00
Jeff Law
25957cb064 Sanitize away vu0 stuff unless --keep-r5900. 1998-03-20 22:56:01 +00:00
Jeff Law
5a06c16d2a * mips-dis.c: Change '%' to '#' to avoid conflict with vr5400
support.
        * vu0.h: Likewise.
1998-03-20 16:01:43 +00:00
Nick Clifton
de1b531df3 Patches for PR15356 courtesy of Tony Thompson at ARM. 1998-03-19 23:51:18 +00:00
Jeff Law
ffee80df9e * vu0.h: New file with cop2/vu0 instructions.
* mips-opc.c: Include vu0.h.
        * mips-dis.c (print_insn_arg): Handle new args 0-9, +, -, %, K, &,
        J, Q, X, and U.
        (print_insn_mips): Do not emit a tab after an instruction if the
        first arg is an instruction completer (&).  If the next arg is an
        escape character (%), then print the next arg verbatim.
        * Makefile.am (mips-opc.lo): Depend on vu0.h
1998-03-19 21:05:23 +00:00
Doug Evans
578491a2b1 * dvp-opc.c (vif_opcodes): Add stcycl. 1998-03-19 18:51:46 +00:00
Doug Evans
d898c665e4 * dvp-dis.c (print_dma): Change length from 16 to 8. 1998-03-17 21:28:32 +00:00
Doug Evans
fccbd5b836 m32r-opc.h: Regenerate. 1998-03-15 09:19:59 +00:00
Doug Evans
00735561e8 * dvp-opc.c (print_dest1): Print dest spec again.
(print_vfreg,print_accdest): Likewise.
1998-03-12 17:23:22 +00:00
Gavin Romig-Koch
56f04c4945 * mips-opc.c ("clz","dclz"): Added the 4320 versions. 1998-03-10 21:01:43 +00:00
Gavin Romig-Koch
46bb89f0d2 * mips-opc.c ("macc*","mul*"): Added the 4320 versions
of these.
1998-03-09 20:26:37 +00:00
Doug Evans
8fc527423a * dvp-dis.c (print_insn): Print unsigned values in hex.
* dvp-opc.c (insert_vif_wlcl,extract_vif_wlcl): New functions.
	(vif_operands): Use them for wl,cl fields.
	(state_vif_wl,state_vif_cl): New static locals.
	(parse_vif_mode): Handle numeric args.
	(vif_unpack_len_value,vif_unpack_len): New functions.
	(vif_insn_len): Call vif_unpack_len.
1998-03-07 01:41:44 +00:00
Joern Rennecke
1e442295a0 Remove SH4 sanitation. 1998-03-07 00:41:39 +00:00
Doug Evans
4aa141721d * dvp-dis.c (print_gif): Fix length calcs for gifimage.
(print_insn): Do mask comparison on proper opcode word.
	* dvp-opc.c (u_parse_sdest): Return -1 if dest missing.
	(parse_bc): Catch missing dest.
	(parse_vfreg): Replace atoi call with strtol.
	(parse_{bcftreg,ffstreg,freg,ireg,vi01,gif_prim,gif_nloop}): Likewise.
	(parse_bcftreg,parse_ffstreg): Handle missing dest.
	(extract_gif_eop): New function.
	(gif_operands): Update eop entry.
	(VGIFOP,VGIFNREGS): Fix calcs.
	(extract_gif_prim): Set *pinvalid to 1 if prim not used.
	(gif_regs): Add entry for unused 11 case.
	(print_gif_regs): Print empty list instead of nothing.
	(extract_gif_nloop): Fix value calc.
	(print_gif_nloop): Always print value, even if 0.
1998-03-06 19:37:35 +00:00
Doug Evans
a6cefe4f38 * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. 1998-03-04 20:10:36 +00:00
Doug Evans
239f4e323c * cgen-asm.in: Move insertion of generated routines to top of file.
(insert_normal): Add prototype.  Delete `shift' arg.
	* cgen-dis.in: Move insertion of generated routines to top of file.
	(extract_normal): Add prototype.  Delete `shift' arg.
	(print_normal): Add prototype.  Call CGEN_PRINT_NORMAL if defined.
	(print_keyword): Add prototype.  Fix type of `attrs' arg.
1998-03-04 02:54:57 +00:00
Gavin Romig-Koch
779b65bfdb * mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
* mips-opc.c ("mac","dmac") : Added 4320 insns.
1998-03-03 16:53:41 +00:00
Nick Clifton
d4a05a4013 Prevent core dump when info->symbols is NULL. 1998-03-01 00:04:17 +00:00
Richard Henderson
a8c053005c * alpha-opc.c (cvtqs) There is no such thing.
(cvttq): Missing most of the /*d variants.
1998-02-28 20:21:32 +00:00
Jeff Law
01e5c2f36c Put sanitize markers around last ChangeLog entry. 1998-02-27 20:16:35 +00:00
Jeff Law
bac914a58b * mips-opc.c (r5900/madd.s): Takes three operands, not four. Fix
opcode.
        (r5900/min.s): Incorrect opcode ....,101001 not ...110000.
        (r5900/msub.s): Takes three operands, not four.  Fix opcode.
1998-02-27 20:15:50 +00:00
Michael Meissner
81b9505a43 Indicate which instructions are delayed branches or jumps 1998-02-27 19:24:15 +00:00
Doug Evans
b6f63b41bf * dvp-opc.c (vif_operands): Add unpack[u] support.
(vif_opcodes): Ditto.
	(*_vif_imrubits): Renamed from *_vif_imrbits.
1998-02-27 18:07:50 +00:00
Doug Evans
95bb4ad144 * dvp-dis.c (print_insn): Handle word number.
Handle mips address vs vu address.
        * dvp-opc.c (vif_operands): Use DVP_OPERAND_VU_ADDRESS.
        (dma_operands): Use DVP_OPERAND_MIPS_ADDRESS.
        ({insert,extract}_dma_addr): Fix word ofset.
        ({insert,print}_gif_regs): Fix encode/decode.
1998-02-25 08:34:41 +00:00
Doug Evans
fdd59f73f9 (dma_opcodes): Add dmarefe insn. 1998-02-25 01:11:14 +00:00
Doug Evans
4a7d1b79f1 (gif_regs): Add new register number/name changes. 1998-02-25 00:57:19 +00:00
Doug Evans
4771aa23ae (print_gif): Fix word order. 1998-02-24 22:10:28 +00:00
Doug Evans
52491f93ae * dvp-opc.c (gif_operands): Fix word order.
(gif_opcodes): Likewise.
	({insert,extract,print}_gif_regs): Likewise.
1998-02-24 21:56:44 +00:00
Doug Evans
88b38f0c3c * arm-dis.c (print_insn_{big,little}_arm): info->symbol changed
to *info->symbols.
	* mips-dis.c (print_insn_{big,little}_mips): Likewise.
	* tic30-dis.c (print_branch): Likewise.
start-sanitize-sky
	* mips-dis.c (print_insn_little_mips): Call dvp_info_mach_type.
	* dvp-dis.c (dvp_info_mach_type): New function.
	(print_insn_dvp): Call it.
	(print_vif): Return length of 4 if mpg or direct insn so following
	insns get properly disabled.
	* dvp-opc.c (vif_insn_len): New argument `pcpu'.  All callers updated.
end-sanitize-sky
1998-02-24 20:57:58 +00:00
Nick Clifton
89dc75c562 Removed saved_symbol code as it is no longer needed. 1998-02-24 19:23:07 +00:00
Nick Clifton
c3ba2ed2d0 Fixed bug displaying symbols in big endian arms. 1998-02-24 19:07:28 +00:00
Doug Evans
34e2f57412 (dma_operands): Fix word numbers.
(dma_opcodes): Likewise.
	({insert,extract}_dma_flags): Likewise.
1998-02-23 23:56:04 +00:00
Doug Evans
0bf55db8fd * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate. 1998-02-23 21:20:37 +00:00
Doug Evans
833d299073 * cgen-asm.c: Include symcat.h.
* cgen-dis.c,cgen-opc.c,cgen-asm.in,cgen-dis.in: Ditto.
1998-02-23 21:17:29 +00:00
Doug Evans
3ea07de422 * dvp-opc.c (extra_dma_flags): Fix typos. 1998-02-23 17:53:31 +00:00
Jeff Law
fb1a826b06 * mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'. 1998-02-23 17:32:21 +00:00
Doug Evans
a2707619a5 (extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
(vif_insn_len): Handle `unpack'.
	({insert,extract}_dma_flags): Complete.
1998-02-21 06:26:41 +00:00
Doug Evans
c2b2e0f0f3 * dvp-dis.c (print_gif): Complete.
* dvp-opc.c (gif_operands,gif_opcodes): Complete.
	(state_gif_{nregs,regs,nloop}): New static locals.
	(*_gif_*): Complete.
	(dvp_opcode_init_{parse,print}): Init gif state locals.
1998-02-21 02:09:02 +00:00
Jeff Law
7409c678e6 Fix it right this time. 1998-02-20 08:25:59 +00:00
Jeff Law
10e3e6ced5 * mips-opc.c (mula.s): Renamed from multa.s. 1998-02-20 08:22:48 +00:00
Doug Evans
8d157f9653 * m32r-opc.[ch]: Regenerate. 1998-02-20 00:57:03 +00:00
Doug Evans
6370553445 Rewrite dma operands/opcodes tables. 1998-02-19 22:40:08 +00:00
Doug Evans
1b4817e3c3 * dvp-dis.c (print_vu): Handle loi insns.
(print_insn): Likewise.
	* dvp-opc.c (vu_lower_opcodes): Add "loi".
1998-02-18 23:49:27 +00:00
Doug Evans
98a112c069 * dvp-opc.c (parse_vfreg): Dest spec is optional.
(print_vfreg): Don't print dest spec.
	(parse_accdest): Dest spec is optional.
	(print_accdest): Don't print dest spec.
1998-02-18 02:50:58 +00:00
Doug Evans
b02643b554 * Makefile.am (CGENFILES): Update.
* Makefile.in: Regenerate.
	* cgen-asm.in (insert_normal): Result is error message now.
	Validate value to be inserted.
	(insert_insn_normal): Result is error message now.
	(@arch@_cgen_assemble_insn): Update.
	* cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max
	arguments.  Don't perform validation here.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate.
1998-02-18 01:26:15 +00:00
Doug Evans
bed9a23ccd Fix comment. 1998-02-13 22:36:22 +00:00
Doug Evans
b2f1861292 * cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
operand instance list.
	* m32r-opc.c: Regenerate.
1998-02-13 22:35:43 +00:00
Ian Lance Taylor
251617280e * Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
1998-02-13 19:55:14 +00:00
Ian Lance Taylor
cf4ce8779a x 1998-02-13 18:39:49 +00:00
Mark Alexander
d31bae35d0 Oops, fix typo. 1998-02-13 18:34:46 +00:00
Mark Alexander
3ed34fca38 * mn10300-dis.c (print_insn_mn10300): Recognize break instruction. 1998-02-13 18:33:34 +00:00
Ian Lance Taylor
ef3c03a472 * configure.in: Get the version number from BFD.
* configure: Rebuild.
1998-02-13 18:31:09 +00:00
Ian Lance Taylor
3a99465376 * Makefile.am (libopcodes_la_LDFLAGS): Define.
* Makefile.in: Rebuild.
1998-02-13 18:13:58 +00:00
Nick Clifton
6eacba2e77 Regenerated after modifying cgen/m32r.cpu to remove WRITE_LR and WRITE_SRC
attributes.
1998-02-13 17:51:46 +00:00
Doug Evans
bf59c0544d tweak last entry 1998-02-13 02:31:33 +00:00
Doug Evans
390bd87dba * cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
Ignore ALIAS insns if asked to.
	(@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn.
	* m32r-opc.c: Regenerate.
1998-02-13 02:31:10 +00:00
Doug Evans
a7dead174d (vu_operands): New element UFLAGS.
(parse_uflags,print_uflags): New functions.
	(vu_upper_opcodes): Add UFLAGS to all insns.
1998-02-13 01:48:16 +00:00
Doug Evans
7caa749767 Regenerate with less verbose operand instance tables. 1998-02-13 01:18:09 +00:00
Doug Evans
a45cf1c5cf * dvp.opc.c: Nicely format opcode tables. 1998-02-12 19:04:15 +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