Support for disassembling parallel instructions added.
[external/binutils.git] / opcodes / ChangeLog
index d12f127..0c631aa 100644 (file)
@@ -1,3 +1,360 @@
+Wed Jan 14 17:37:03 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * m32r-dis.in: Generated file imported from cgen.
+       * cgen-asm.in: Formatting changes to improve readability.
+       * m32r-asm.c:  Formatting changes to improve readability.
+       * cgen-dis.c:  Formatting changes to improve readability.
+       * m32r-dis.c:  Add support for disassembling parallel
+       instructions. 
+       * m32r-opc.h:  Update with latest version generated by cgen.
+       * m32r-opc.c:  Update with latest version generated by cgen, plus
+       hand patches to allow attributes to work until cgen can generate
+       these correctly.
+       
+start-sanitize-r5900
+Tue Jan 13 09:21:56 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * mips-opc.c (c.lt.s): Add r5900 variant.
+       (c.le.s): Likewise.
+
+end-sanitize-r5900
+Mon Jan 12 14:43:54 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen-asm.c (build_asm_hash_table): Traverse compiled in table using
+       table provided entry size.  Use CGEN_INSN_MNEMONIC.
+       (cgen_parse_keyword): Rewrite.
+       * cgen-dis.c (build_dis_hash_table): Traverse compiled in table using
+       table provided entry size.  Use CGEN_INSN_MASK_BITSIZE.
+       * cgen-opc.c: Clean up pass over `struct foo' usage.
+       (cgen_keyword_lookup_value): Handle "" entry.
+       (cgen_keyword_add): Likewise.
+start-sanitize-cygnus
+       * Makefile.am: Add cgen support.
+       * Makefile.in: Regenerate.
+       * configure.in: Add cgen support.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * cgen.sh, cgen-asm.in, cgen-dis.in: New files.
+end-sanitize-cygnus
+
+start-sanitize-sky
+Tue Jan  6 13:08:14 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * txvu-dis.c (print_insn_txvu): Handle no separator between
+       upper and lower insn #ifndef VERTICAL_BAR_SEPARATOR.
+
+Mon Jan  5 13:41:07 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * txvu-dis.c, txvu-opc.c: New files.
+       * configure.in: Compile them.
+       * configure: Regenerate.
+       * Makefile.am (ALL_MACHINES): Add txvu-{dis,opc}.lo.
+       (txvu-dis.lo,txvu-opc.lo): Add rules for.
+       * Makefile.in: Regenerate.
+
+Mon Dec 22 17:17:03 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure.in: Add txvu support.
+       * configure: Regenerate.
+       * disassemble.c: Add txvu support.
+
+end-sanitize-sky
+Mon Dec 22 12:37:06 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * mips-opc.c: Add FP_D to s.d instruction flags.
+
+Wed Dec 17 11:38:29 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * m68k-opc.c (halt, pulse): Enable them on the 68060.
+
+start-sanitize-tic80
+Tue Dec 16 15:22:53 1997  Fred Fish  <fnf@cygnus.com>
+
+       * tic80-opc.c (tic80_opcodes): Revert change that put the 32 bit
+       PC relative offset forms before the 15 bit forms.  An assembler command
+       line option now chooses the default.
+
+end-sanitize-tic80
+start-sanitize-r5900
+Tue Dec 16 13:24:22 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * mips-opc.c: Add many missing r5900 instructions.
+
+end-sanitize-r5900
+start-sanitize-r5900
+Tue Dec 16 15:22:51 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * d30v-opc.c (d30v_opcode_table): Set new flags bits
+       FLAG_{2WORD,MUL{16,32},ADDSUBppp}, in appropriate instructions.
+
+end-sanitize-r5900
+1997-12-15  Brendan Kehoe  <brendan@lisa.cygnus.com>
+
+       * configure: Only build libopcodes shared if --enable-shared's value
+       was `yes', or was set to `*opcodes*'.
+       * aclocal.m4: Likewise.
+       * NOTE: this really needs to be fixed in libtool/libtool.m4, the
+       original source of this bit of code.  It's not clear what the best fix
+       would be, though.
+
+start-sanitize-r5900
+Mon Dec 15 12:43:36 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * mips-opc.c (mtpc, mfpc, mtps, mfps): Add r5900 variants.
+end-sanitize-r5900
+start-sanitize-tic80
+Fri Dec 12 11:57:04 1997  Fred Fish  <fnf@cygnus.com>
+
+       * tic80-opc.c (OFF_SL_PC, OFF_SL_BR): Minor formatting change.
+       (tic80_opcodes): Reorder table entries to put the 32 bit PC relative
+       offset forms before the 15 bit forms, to default to the long forms.
+
+end-sanitize-tic80
+Fri Dec 12 01:32:30 1997  Richard Henderson  <rth@cygnus.com>
+
+       * alpha-opc.c (cvttq/*u*): Remove, as that suffix is invalid.
+
+Wed Dec 10 17:42:35 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * arm-dis.c (print_insn_little_arm): Prevent examination of stored
+       symbol if none is present.
+       (print_insn_big_arm):  Prevent examination of stored symbol if
+       none is present. 
+
+Thu Oct 23 21:13:37 1997  Fred Fish  <fnf@cygnus.com>
+       * d10v-opc.c (d10v_opcodes): Correct entry for RTE.
+Mon Dec  8 11:21:07 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * disassemble.c: Remove disasm_symaddr() function.
+
+       * arm-dis.c: Use info->symbol instead of info->flags to determine
+       if disassmbly should be in Thumb or Arm mode.
+
+Tue Dec  2 09:54:27 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * arm-dis.c: Add support for disassembling Thumb opcodes.
+       (print_insn_thumb): New function.
+
+       * disassemble.c (disasm_symaddr): New function.
+
+       * arm-opc.h: Display nop pseudo ops alongside equivalent disassembly.
+       (thumb_opcodes): Table of Thumb opcodes.
+
+Mon Dec  1 12:25:57 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * m68k-opc.c (btst): Change Dd@s to Dd;b.
+
+       * m68k-dis.c (print_insn_arg): Recognize 'm', 'n', 'o', 'p', 'q',
+       and 'v' as operand types.
+
+Mon Dec  1 11:56:50 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * m68k-opc.c: Add argument for lpstop.  From Olivier Carmona
+       <olivier.carmona@di.epfl.ch>.
+       * m68k-dis.c (print_insn_m68k): Handle special case of lpstop,
+       which has a two word opcode with a one word argument.
+
+start-sanitize-d30v
+Sun Nov 23 22:25:21 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * d30v-opc.c (d30v_opcode_table, case cmpu): Immediate field is
+       unsigned, not signed.
+       (d30v_format_table): Add SHORT_CMPU cases for cmpu.
+
+end-sanitize-d30v
+start-sanitize-sh4
+Wed Nov 19 17:42:35 1997  Richard Henderson  <rth@cygnus.com>
+
+        * sh-dis.c (print_insn_shx): Recognize all sh4 additions.
+        * sh-opc.h (fmov): Add @<REG_M>+,<DX_REG_N> variant for sh4.
+        (ftrv): Slay the cut-and-paste monster.
+
+end-sanitize-sh4
+Tue Nov 18 23:10:03 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
+
+       * d10v-dis.c (print_operand):
+       Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
+
+Tue Nov 18 18:45:14 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
+
+       * d10v-opc.c (OPERAND_FLAG): Split into:
+       (OPERAND_FFLAG, OPERAND_CFLAG) .
+       (FSRC): Split into:
+       (FFSRC, CFSRC).
+
+Thu Nov 13 11:05:33 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * mips-opc.c: Move the INSN_MACRO ISA value to the membership
+       field for all INSN_MACRO's.
+       * mips16-opc.c: same
+
+Wed Nov 12 10:16:57 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * mips-opc.c (sync,cache): These are 3900 insns.
+
+Tue Nov 11 23:53:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       sh-opc.h (sh_table): Remove ftst/nan.
+
+start-sanitize-vr5400
+Mon Nov  3 13:23:15 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       * mips-opc.c (dror32, dror, rzu.ob): Fix bugs in encoding.
+       (c.*.ob, mula.ob, mull.ob, muls.ob, mulsl.ob): Put 'k' version
+       last.
+       * mips-dis.c (print_insn_arg): Handle VR5400 operand types.
+
+end-sanitize-vr5400
+start-sanitize-tx49
+Wed Oct 29 15:10:56 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * mips-opc.c (deret,dmult,dmultu,madd,maddu,pref,sdbbp): 
+       Add tx49 insns and configury.
+
+end-sanitize-tx49
+Tue Oct 28 17:59:32 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       * mips-opc.c (ffc, ffs): Fix mask.
+
+start-sanitize-d30v
+Tue Oct 28 16:34:54 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * d30v-opc.c (pre_defined_registers): Add eit_vb, int_s, and int_m
+       control registers.
+
+end-sanitize-d30v
+Mon Oct 27 22:34:03 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       * mips-opc.c: Fix bug in mask for "not" pseudo-instruction.
+start-sanitize-vr5400
+       Added VR5400 instructions.
+       (N5): New cpu-id macro.
+end-sanitize-vr5400
+       (WR_HILO, RD_HILO, MOD_HILO): New macros.
+
+Mon Oct 27 22:34:03 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       * mips-opc.c: Fix bug in mask for "not" pseudo-instruction.
+       (WR_HILO, RD_HILO, MOD_HILO): New macros.
+
+Thu Oct 23 14:57:58 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850-dis.c (disassemble): Replace // with /* ... */
+
+Wed Oct 22 17:33:21 1997  Richard Henderson  <rth@cygnus.com>
+
+       * sparc-opc.c: Add wr & rd for v9a asr's.
+       * sparc-dis.c (print_insn_sparc): Recognize '_' and '/' for v9a asr's.
+       (v9a_asr_reg_names): New variable.
+       Patch from David Miller <davem@vger.rutgers.edu>.
+
+Wed Oct 22 17:18:02 1997  Richard Henderson  <rth@cygnus.com>
+
+       * sparc-opc.c (v9notv9a): New insn type.
+       (IMPDEP): Move to the end to not conflict with edge8 et al.
+       Patch from David Miller <davem@vger.rutgers.edu>.
+
+Fri Oct 17 13:18:53 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * mips-opc.c (bnezl,beqzl): Mark these as also tx39.
+
+Thu Oct 16 11:55:20 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * mips-opc.c: Note that 'jalx' is (probably incorrectly) marked I1.
+
+Tue Oct 14 16:10:31 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850-dis.c (disassemble): Use new symbol_at_address_func() field
+       of disassemble_info structure to determine if an overlay address
+       has a matching symbol in low memory.
+
+       * dis-buf.c (generic_symbol_at_address): New (dummy) function for
+       new symbol_at_address_func field in disassemble_info structure.
+
+Fri Oct 10 16:44:52 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850-opc.c (extract_d22): Use signed arithmatic.
+
+Tue Oct  7 23:40:43 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * mips-opc.c: Three op mult is not an ISA insn.
+
+Tue Oct  7 23:37:21 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * mips-opc.c: Fix formatting.
+
+Fri Oct  3 17:26:54 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * i386-dis.c (OP_E): Explicitly sign extend 8 bit values, rather
+       than assuming that char is signed.  Explicitly sign extend 16 bit
+       values, rather than assuming that short is 16 bits.
+       (OP_sI, OP_J, OP_DIR): Likewise.
+
+start-sanitize-v850e
+Thu Oct  2 13:36:45 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850-dis.c (v850_sreg_names): Use symbolic names for higher
+       system registers.
+
+end-sanitize-v850e
+Wed Oct  1 16:58:54 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850-opc.c: Fix typo in comment.
+
+       * v850-dis.c (disassemble): Add test of processor type when
+       determining opcodes.
+
+Wed Oct  1 14:10:20 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Use a diversion to set enable_shared before the
+       arguments are parsed.
+       * configure: Rebuild.
+
+Thu Sep 25 13:04:59 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * m68k-opc.c (TBL1): Use ! rather than `.
+       * m68k-dis.c (print_insn_arg): Remove ` operand specifier.
+
+Wed Sep 24 11:29:35 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * m68k-opc.c: Correct bchg, bclr, bset, and btst on ColdFire.
+
+       * m68k-opc.c: Accept tst{b,w,l} with immediate operands on cpu32.
+
+       * m68k-opc.c: Correct movew of an immediate operand to %sr or %ccr
+       for mcf5200.
+
+       * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL.
+       * aclocal.m4: Rebuild with new libtool.
+       * configure: Rebuild.
+
+start-sanitize-v850e
+Fri Sep 19 11:45:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * v850-opc.c ("cmov"): Order reg param r1, r2 not r2, r2.
+
+end-sanitize-v850e
+Thu Sep 18 11:21:43 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr.
+
+Tue Sep 16 15:18:20 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850-opc.c (v850_opcodes): Further rearrangements. 
+
+start-sanitize-d30v
+Tue Sep 16 16:12:11 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       * d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change.
+
+end-sanitize-d30v
+Tue Sep 16 09:48:50 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * v850-opc.c (v850_opcodes): Fields reordered to allow assembler
+       parser to work.
+
 Tue Sep 16 10:01:00 1997  Gavin Koch  <gavin@cygnus.com>
 
        * mips-opc.c: Added tx39 insns sdbbp, rfe, and deret.
@@ -66,7 +423,7 @@ Fri Sep 12 11:43:54 1997  Nick Clifton  <nickc@cygnus.com>
 
        * v850-dis.c (disassemble): Improved display of register lists.
 
-start-sanitize-v850e
+end-sanitize-v850e
 Thu Sep 11 17:35:10 1997  Doug Evans  <dje@canuck.cygnus.com>
 
        * sparc-opc.c (sparc_opcodes): Fix assembler args to
@@ -136,27 +493,23 @@ Tue Aug 19 10:59:59 1997  Richard Henderson  <rth@cygnus.com>
 
        * alpha-opc.c (alpha_opcodes): Fix hw_rei_stall mungage.
 
+start-sanitize-v850e
 Mon Aug 18 11:10:03 1997  Nick Clifton  <nickc@cygnus.com>
 
        * v850-opc.c (v850_opcodes[]): Remove use of flag field.
-start-sanitize-v850eq
        * v850-opc.c (v850_opcodes[]): Add support for reversed short load
        opcodes..
-start-sanitize-v850eq
 
-start-sanitize-v850e
 Mon Aug 18 11:08:25 1997  Nick Clifton  <nickc@cygnus.com>
 
        * configure (cgen_files): Add support for v850e target.
        * configure.in (cgen_files):  Add support for v850e target.
-end-sanitize-v850e
 
-start-sanitize-v850eq
 Mon Aug 18 11:08:25 1997  Nick Clifton  <nickc@cygnus.com>
 
-       * configure (cgen_files): Add support for v850eq target.
-       * configure.in (cgen_files):  Add support for v850eq target.
-end-sanitize-v850eq
+       * configure (cgen_files): Add support for v850ea target.
+       * configure.in (cgen_files):  Add support for v850ea target.
+end-sanitize-v850e
 
 Fri Aug 15 05:17:48 1997  Doug Evans  <dje@canuck.cygnus.com>
 
@@ -170,26 +523,19 @@ Fri Aug 15 05:17:48 1997  Doug Evans  <dje@canuck.cygnus.com>
 
 Wed Aug 13 18:52:11 1997  Nick Clifton  <nickc@cygnus.com>
 
-start-sanitize-v850eq
-       * .Sanitize (Do-first): Add support for keep-v850eq command line
-       option.
-       
-       * v850-dis.c (disassemble): Add support for v850EQ instructions.
-       
-       * v850-opc.c (insert_i5div, extract_i5div): New Functions.
-       (v850_opcodes): Add v850EQ instructions.
-end-sanitize-v850eq
 start-sanitize-v850e
-       * .Sanitize (Do-first): Add support for keep-v850e command line
-       option.
+       * v850-dis.c (disassemble): Add support for v850EA instructions.
        
+       * v850-opc.c (insert_i5div, extract_i5div): New Functions.
+       (v850_opcodes): Add v850EA instructions.
+
        * v850-dis.c (disassemble): Add support for v850E instructions.
        
        * v850-opc.c (insert_d5_4, extract_d5_4, insert_d16_16,
        extract_d16_16, insert_i9, extract_i9, insert_u9, extract_u9,
        insert_spe, extract_spe): New Functions.
        (v850_opcodes): Add v850E instructions.
-start-sanitize-v850e
+end-sanitize-v850e
        
        * v850-opc.c: Reorganised and re-layed out to improve readability
        and portability.
@@ -1420,8 +1766,7 @@ Sat Aug 31 01:27:26 1996  Jeffrey A Law  (law@cygnus.com)
        (v850_opcodes): Fix mask for jarl and jr.
 
        * v850-dis.c: New file.  Skeleton for disassembler support.
-       * Makefile.in Remove v850 references, they're not needed here
-       and they weren't being sanitized away.
+       * Makefile.in Remove v850 references, they're not needed here.
        * configure.in: Add v850-dis.o when building v850 toolchains.
        * configure: Rebuilt.
        * disassemble.c (disassembler): Call v850 disassembler.