Commit Graph

915 Commits

Author SHA1 Message Date
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