Fix MIPS disassembler so that it produces reassemblable code.
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
index 57af53c53ece4d1e17f307b5046b3096779c95bf..b81650356f28bafcfada442a8ad3545e3648d0ca 100644 (file)
@@ -1,3 +1,129 @@
+2001-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * mips-dis.c (INSNLEN): Rename MAXLEN.
+       (std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
+       (print_insn_arg): Remove $ prefix of register names.
+       (set_mips_isa_type): Remove.
+       (imps_isa_type): New function.
+       (get_mips_isa): New Function.
+       (print_insn_mips): Rename _print_insn_mips.
+       (_print_insn_mips): New function, contains code which was
+       duplicated in print_insn_big_mips and print_insn_little_mips.
+       (print_insn_big_mips): Moved code to _print_insn_mips.
+       (print_insn_little_mips): Likewise.
+       (print_mips16_insn_arg): Remove $ prefix of register names.
+       Print error message before abort.
+
+2001-05-14  J.T. Conklin  <jtc@redback.com>
+
+       * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
+       simplified mnemonics used for setting PPC750-specific special
+       purpose registers.
+
+2001-05-12  H.J. Lu  <hjl@gnu.org>
+
+       * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
+       `rm'.
+
+2001-05-12  Peter Targett  <peter.targett@arccores.com>
+
+       * arc-opc.c (arc_reg_names): Correct attribute for lp_count
+       register to r/w.  Formatting fixes throughout file.
+
+2001-05-12  Alan Modra  <amodra@one.net.au>
+
+       * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
+       movq operands.
+       (twobyte_has_modrm): Update table.
+       (need_modrm): Give it file scope.
+       (MODRM_CHECK): Define.
+       (dofloat): Use MODRM_CHECK.
+       (OP_E): Likewise.
+       (OP_EM): Likewise.
+       (OP_EX): Likewise.
+
+2001-05-07  Frank Ch. Eigler  <fche@redhat.com>
+
+       * cgen-dis.in (default_print_insn): Tolerate min<base instructions
+       even at end of a section.
+       * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
+       by ignoring precariously-unpacked insn_value in favor of raw buffer.
+
+2001-05-03  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * disassemble.c (disassembler_usage): Remove unused attribute.
+
+2001-05-04  Frank Ch. Eigler  <fche@redhat.com>
+
+       * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
+
+2001-05-04  Frank Ch. Eigler  <fche@redhat.com>
+
+       * cgen-dis.in (print_insn): Remove call to read_insn.  Instead,
+       assume incoming buffer already has the base insn loaded.  Handle
+       smaller-than-base instructions for variable-length case.
+
+2001-05-04  Alan Modra  <amodra@one.net.au>
+
+       * i386-dis.c (Ev, Ed): Remove duplicate define.
+       (Gd): Define.
+       (XS): Define.
+       (OP_XS): New function.
+       (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and
+       movmskp operands.
+       (dis386_twobyte_intel): Likewise.
+       (prefix_user_table): Use MS for maskmovq operand.
+
+2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
+
+        * Makefile.am: Add OpenRISC target.
+        * Makefile.in: Regenerated.
+
+        * disassemble.c (disassembler): Recognize the OpenRISC disassembly.
+
+        * configure.in (bfd_openrisc_arch): Add target.
+        * configure: Regenerated.
+
+        * openrisc-asm.c: New file.
+        * openrisc-desc.c: Likewise.
+        * openrisc-desc.h: Likewise.
+        * openrisc-dis.c: Likewise.
+        * openrisc-ibld.c: Likewise.
+        * openrisc-opc.c: Likewise.
+        * openrisc-opc.h: Likewise.
+
+2001-04-24  Christian Groessler  <cpg@aladdin.de>
+
+       * z8k-dis.c: add names of control registers (ctrl_names);
+       (seg_length): provides instruction length fixup for segmented
+       mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12,
+       CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases;
+       (unparse_intr): handle CLASS_PR, print addresses without '#'
+       * z8k-opc.h: re-created with new z8kgen
+       * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new
+       entries for ldctl/ldctlb instruction
+
+2001-04-06  Andreas Jaeger  <aj@suse.de>
+
+       * i386-dis.c: Add ffreep instruction.
+
+2001-03-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ppc-opc.c (insert_mbe): Shift mask initializer as long.
+
+2001-03-24  Alan Modra  <alan@linuxcare.com.au>
+
+       * i386-dis.c (PREGRP25): Define.
+       (dis386_twobyte_att): Use here in place of "movntq" entry.
+       (dis386_twobyte_intel): Likewise.
+       (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq".
+       (PREGRP26): Define.
+       (dis386_twobyte_att): Use here.
+       (dis386_twobyte_intel): Likewise.
+       (prefix_user_table): Add PREGRP26 entry for "punpcklqdq".
+       (prefix_user_table <maskmovdqu>): XM operand, not MX.
+       (prefix_user_table): Cosmetic changes to "bad" entries.
+
 2001-03-23  Nick Clifton  <nickc@redhat.com>
 
        * mips-opc.c: Remove extraneous whitespace.
 2001-03-23  Nick Clifton  <nickc@redhat.com>
 
        * mips-opc.c: Remove extraneous whitespace.
 
        * s390-opc.c: Add new opcodes.  Smooth out formatting.
        * s390-opc.txt: Add new opcodes.
 
        * s390-opc.c: Add new opcodes.  Smooth out formatting.
        * s390-opc.txt: Add new opcodes.
-       
+
 2001-03-06  Nick Clifton  <nickc@redhat.com>
 
        * arm-dis.c (print_insn_thumb): Compute destination address
 2001-03-06  Nick Clifton  <nickc@redhat.com>
 
        * arm-dis.c (print_insn_thumb): Compute destination address
        * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
        separate variants: one for IMM22 and the other for IMM14.
        * ia64-asmtab.c: Regenerate.
        * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
        separate variants: one for IMM22 and the other for IMM14.
        * ia64-asmtab.c: Regenerate.
-       
+
 2001-02-21  Greg McGary  <greg@mcgary.org>
 
        * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
 2001-02-21  Greg McGary  <greg@mcgary.org>
 
        * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
@@ -164,7 +290,7 @@ Mon Feb 12 17:41:26 CET 2001  Jan Hubicka  <jh@suse.cz>
 
 2001-02-02  Patrick Macdonald  <patrickm@redhat.com>
 
 
 2001-02-02  Patrick Macdonald  <patrickm@redhat.com>
 
-       * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS. 
+       * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
        * m32r-desc.h: Regenerate.
 
 Thu Feb  1 16:29:06 MET 2001  Jan Hubicka  <jh@suse.cz>
        * m32r-desc.h: Regenerate.
 
 Thu Feb  1 16:29:06 MET 2001  Jan Hubicka  <jh@suse.cz>
@@ -355,7 +481,7 @@ Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
         Delete "sel" code operands from mfc1 and mtc1.
         Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
        for dm[ft]c[023].
         Delete "sel" code operands from mfc1 and mtc1.
         Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
        for dm[ft]c[023].
-       
+
 2000-12-03  Ed Satterthwaite  ehs@sibyte.com  and
             Chris Demetriou   cgd@sibyte.com
 
 2000-12-03  Ed Satterthwaite  ehs@sibyte.com  and
             Chris Demetriou   cgd@sibyte.com
 
@@ -382,7 +508,7 @@ Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
         "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32.  Update
         MIPS32 "sdbbp" to use 'B' operand specifier.  Add MIPS32
         "wait" variant which uses 'J' operand specifier.
         "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32.  Update
         MIPS32 "sdbbp" to use 'B' operand specifier.  Add MIPS32
         "wait" variant which uses 'J' operand specifier.
-        
+
         * mips-dis.c (set_mips_isa_type): Update to use
         CPU_UNKNOWN and ISA_* constants.  Add bfd_mach_mips32 case.
         Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
         * mips-dis.c (set_mips_isa_type): Update to use
         CPU_UNKNOWN and ISA_* constants.  Add bfd_mach_mips32 case.
         Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
@@ -455,7 +581,7 @@ Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
 
        * ia64-ic.tbl: Update from Intel.
        * ia64-asmtab.c: Regenerate.
 
        * ia64-ic.tbl: Update from Intel.
        * ia64-asmtab.c: Regenerate.
-       
+
 2000-10-04  Kazu Hirata  <kazu@hxi.com>
 
        * ia64-gen.c: Convert C++-style comments to C-style comments.
 2000-10-04  Kazu Hirata  <kazu@hxi.com>
 
        * ia64-gen.c: Convert C++-style comments to C-style comments.
@@ -488,28 +614,28 @@ Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
        * ia64-asmtab.c: Regnerate.
 
 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
        * ia64-asmtab.c: Regnerate.
 
 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
-       
-       * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
-       Add mfc0 and mtc0 with sub-selection values.
+
+       * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
+       Add mfc0 and mtc0 with sub-selection values.
        Add clo and clz opcodes.
        Add clo and clz opcodes.
-       Add msub and msubu instructions for MIPS32.
-       Add madd/maddu aliases for mad/madu for MIPS32.
-       Support wait, deret, eret, movn, pref for MIPS32.
+       Add msub and msubu instructions for MIPS32.
+       Add madd/maddu aliases for mad/madu for MIPS32.
+       Support wait, deret, eret, movn, pref for MIPS32.
        Support tlbp, tlbr, tlbwi, tlbwr.
        Support tlbp, tlbr, tlbwi, tlbwr.
-       (P4): New define.
-       * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
-       (print_insn_arg): Handle 'H' args.
-       (set_mips_isa_type): Recognize 4K.
+       (P4): New define.
+
+       * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
+       (print_insn_arg): Handle 'H' args.
+       (set_mips_isa_type): Recognize 4K.
        Use CPU_* defines instead of hardcoded numbers.
 
 2000-09-11  Catherine Moore <clm@redhat.com>
 
        * d30v-opc.c (d30v_operand_t): New operand type Rb2.
        (d30v_format_tab): Use Rb2 for modinc and moddec.
        Use CPU_* defines instead of hardcoded numbers.
 
 2000-09-11  Catherine Moore <clm@redhat.com>
 
        * d30v-opc.c (d30v_operand_t): New operand type Rb2.
        (d30v_format_tab): Use Rb2 for modinc and moddec.
+
 2000-09-07  Catherine Moore  <clm@redhat.com>
 2000-09-07  Catherine Moore  <clm@redhat.com>
+
         * d30v-opc.c (d30v_format_tab): Use format Ra for
         modinc and moddec.
 
         * d30v-opc.c (d30v_format_tab): Use format Ra for
         modinc and moddec.
 
@@ -521,7 +647,7 @@ Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
 
        * configure: Regenerate.
        * po/opcodes.pot: Regenerate.
 
        * configure: Regenerate.
        * po/opcodes.pot: Regenerate.
-       
+
 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
 
        * acinclude.m4: Include libtool and gettext macros from the
 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
 
        * acinclude.m4: Include libtool and gettext macros from the
@@ -620,7 +746,7 @@ Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
        * cgen.sh: Likewise.
 
 2000-08-02  Jim Wilson  <wilson@redhat.com>
        * cgen.sh: Likewise.
 
 2000-08-02  Jim Wilson  <wilson@redhat.com>
-       
+
        * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
 
 2000-07-29  Marek Michalkiewicz  <marekm@linux.org.pl>
        * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
 
 2000-07-29  Marek Michalkiewicz  <marekm@linux.org.pl>
@@ -756,13 +882,13 @@ Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
 2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
 
        * Makefile.in, configure: regenerate
 2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
 
        * Makefile.in, configure: regenerate
-       * disassemble.c (disassembler): Recognize ARCH_m68hc12, 
+       * disassemble.c (disassembler): Recognize ARCH_m68hc12,
        ARCH_m68hc11.
        ARCH_m68hc11.
-       * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12): 
+       * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
        New functions.
        * configure.in: Recognize m68hc12 and m68hc11.
        * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
        New functions.
        * configure.in: Recognize m68hc12 and m68hc11.
        * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
-       * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly 
+       * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
        and opcode generation for m68hc11 and m68hc12.
 
 2000-06-16  Nick Duffek  <nsd@redhat.com>
        and opcode generation for m68hc11 and m68hc12.
 
 2000-06-16  Nick Duffek  <nsd@redhat.com>
This page took 0.029286 seconds and 4 git commands to generate.