* ppc-opc.c: Remove NULL pointer checks. Formatting. Remove
[binutils-gdb.git] / opcodes / ChangeLog
index 820027807a377d71667aef6045bf08c3ae5b63e2..a3ffab9cf5df92e83264f27420702d9f65379f96 100644 (file)
@@ -1,3 +1,112 @@
+2003-07-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc-opc.c: Remove NULL pointer checks.  Formatting.  Remove
+       extraneous ATTRIBUTE_UNUSED.
+       * ppc-dis.c (print_insn_powerpc): Always pass a valid address to
+       operand->extract.
+
+2003-07-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc-opc.c: Convert to C90, removing unnecessary prototypes and
+       casts.  Formatting.
+
+       * ppc-opc.c: Remove PARAMS from prototypes.
+       (FXM4): Define.
+       (insert_fxm): New function, used by both FXM and FXM4.
+       (extract_fxm): Likewise.
+       (XFXFXM_MASK): Remove 1 << 20 term.
+       (powerpc_opcodes): Add Power4 version of "mfcr".  Simplify "mtcr" mask.
+
+2003-07-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * s390-dis.c (s390_extract_operand): Add support for long displacements.
+       * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z990.
+       * s390-opc.c (D20_20): Add define for 20 bit displacements.
+       (INSTR_RRF_R0RR, INSTR_RSL_R0RD, INSTR_RSY_RRRD, INSTR_RSY_RURD,
+       INSTR_RSY_AARD, INSTR_RXY_RRRD, INSTR_RXY_FRRD, INSTR_SIY_URD): Add
+       new instruction formats.
+       (MASK_RRF_R0RR, MASK_RSL_R0RD, MASK_RSY_RRRD, MASK_RSY_RURD,
+       MASK_RSY_AARD, MASK_RXY_RRRD, MASK_RXY_FRRD, MASK_SIY_URD): Likewise.
+       (s390_opformats): Likewise.
+       * s390-opc.txt: Add new instructions for cpu type z990. Add missing
+       hfp instructions. Add missing instructions pgin, pgout and xsch.
+
+2003-06-23  H.J. Lu <hongjiu.lu@intel.com>
+
+       * i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in
+       Intel Precott New Instructions.
+       (PREGRP27): New. Added for "addsubpd" and "addsubps".
+       (PREGRP28): New. Added for "haddpd" and "haddps".
+       (PREGRP29): New. Added for "hsubpd" and "hsubps".
+       (PREGRP30): New. Added for "movsldup" and "movddup".
+       (PREGRP31): New. Added for "movshdup" and "movhpd".
+       (PREGRP32): New. Added for "lddqu".
+       (dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry.
+       Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for
+       entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for
+       entry 0xd0. Use PREGRP32 for entry 0xf0.
+       (twobyte_has_modrm): Updated.
+       (twobyte_uses_SSE_prefix): Likewise.
+       (grps): Use PNI_Fixup in the "sidtQ" entry.
+       (prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30,
+       PREGRP31 and PREGRP32.
+       (float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb.
+       Use "fisttpll" in entry 1 in opcode 0xdd.
+       Use "fisttp" in entry 1 in opcode 0xdf.
+
+2003-06-19  Christian Groessler  <chris@groessler.org>
+
+       * z8k-dis.c (instr_data_s): Change tabl_index from long to int.
+       (print_insn_z8k): Correctly check return value from
+       z8k_lookup_instr call.
+       (unparse_instr): Handle CLASS_IRO case.
+       * z8kgen.c: Fix function definitions.  Fix formatting.
+       (opt): Add brk opcode alias for non-simulator breakpoint.  Add
+       missing and fix existing in/out and sin/sout opcode definitions.
+       (args): "@ri", "@ro" - add CLASS_IRO register usage for in/out
+       opcodes.
+       (internal): Check p->flags for non-zero before dereferencing it.
+       (gas): Add CLASS_IRO line.  Insert new OPC_xxx lines for the added
+       opcodes and renumber the remaining lines repectively.
+       (main): Remove "-d" command line switch.
+       * z8k-opc.h: Regenerate with new z8kgen.c.
+
+2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
+
+       * po/Make-in (DESTDIR): New.
+       (install-data-yes): Support $(DESTDIR).
+       (uninstall): Likewise.
+
+2003-06-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2003-06-10  Doug Evans  <dje@sebabeach.org>
+
+       * cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to
+       CGEN_INSN_RELAXED.
+       * fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate.
+       * frv-asm.c,frv-desc.c,frv-desc.h: Regenerate.
+       * ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate.
+       * iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate.
+       * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate.
+       * openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate.
+       * xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate.
+
+2003-06-10  Gary Hade <garyhade@us.ibm.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * ppc-opc.c (DQ, RAQ, RSQ, RTQ): Define.
+       (insert_dq, extract_dq, insert_raq, insert_rtq, insert_rsq): New.
+       (powerpc_opcodes): Add "attn", "lq" and "stq".
+
+2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * h8300-dis.c (bfd_h8_disassemble): Don't print brackets round
+       rts/l and rte/l register lists.
+
 2003-06-03  Nick Clifton  <nickc@redhat.com>
 
        * frv-desc.c: Regenerate.
 
 2003-05-17  Andreas Jaeger  <aj@suse.de>
 
-        * Makefile.am (libopcodes_la_LIBADD): Add libbfd.la.
-        (libopcodes_la_DEPENDENCIES): Add libbfd.la.
-        * Makefile.in: Regenerated.
+       * Makefile.am (libopcodes_la_LIBADD): Add libbfd.la.
+       (libopcodes_la_DEPENDENCIES): Add libbfd.la.
+       * Makefile.in: Regenerated.
 
 2003-05-16  Nick Clifton  <nickc@redhat.com>
 
 
 2003-03-25  Stan Cox   <scox@redhat.com>
            Nick Clifton  <nickc@redhat.com>
-           
+
        Contribute support for Intel's iWMMXt chip - an ARM variant:
 
        * arm-dis.c (regnames): Add iWMMXt register names.
 2002-01-02  Ben Elliston  <bje@redhat.com>
            Jeff Johnston  <jjohnstn@redhat.com>
 
-        * iq2000-asm.c: New file.
-        * iq2000-desc.c: Likewise.
-        * iq2000-desc.h: Likewise.
-        * iq2000-dis.c: Likewise.
-        * iq2000-ibld.c: Likewise.
-        * iq2000-opc.c: Likewise.
-        * iq2000-opc.h: Likewise.
-        * Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h.
-        (CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c,
-        iq2000-ibld.c, iq2000-opc.c.
-        (ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo,
-        iq2000-ibld.lo, iq2000-opc.lo.
-        (CLEANFILES): Add stamp-iq2000.
-        (IQ2000_DEPS): New macro.
-        (stamp-iq2000): New target.
-        * Makefile.in: Regenerate.
-        * configure.in: Handle bfd_iq2000_arch.
-        * configure: Regenerate.
+       * iq2000-asm.c: New file.
+       * iq2000-desc.c: Likewise.
+       * iq2000-desc.h: Likewise.
+       * iq2000-dis.c: Likewise.
+       * iq2000-ibld.c: Likewise.
+       * iq2000-opc.c: Likewise.
+       * iq2000-opc.h: Likewise.
+       * Makefile.am (HFILES): Add iq2000-desc.h, iq2000-opc.h.
+       (CFILES): Add iq2000-asm.c, iq2000-desc.c, iq2000-dis.c,
+       iq2000-ibld.c, iq2000-opc.c.
+       (ALL_MACHINES): Add iq2000-asm.lo, iq2000-desc.lo, iq2000-dis.lo,
+       iq2000-ibld.lo, iq2000-opc.lo.
+       (CLEANFILES): Add stamp-iq2000.
+       (IQ2000_DEPS): New macro.
+       (stamp-iq2000): New target.
+       * Makefile.in: Regenerate.
+       * configure.in: Handle bfd_iq2000_arch.
+       * configure: Regenerate.
 
 2003-01-02  Chris Demetriou  <cgd@broadcom.com>
 
        (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
        AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
        * ia64-asmtab.c: Regenerate.
-       
+
 2002-11-25  Aldy Hernandez  <aldyh@redhat.com>
 
        * ppc-opc.c: Remove evmwlssf, evmwlssfa, evmwlsmf, evmwlsmfa,
        * xstormy16-desc.c: Regenerate.
        * xstormy16-opc.c: Regenerate.
        * xstormy16-opc.h: Regenerate.
-       
+
 2002-11-18  Klee Dienes  <kdienes@apple.com>
 
        * avr-dis.c: Include libiberty.h (for xmalloc).
 
 2002-11-07  Klee Dienes  <kdienes@apple.com>
 
-         * Makefile.am (ia64-asmtab.c): Update to use the new '--srcdir'
-         argument to ia64-gen.
+        * Makefile.am (ia64-asmtab.c): Update to use the new '--srcdir'
+        argument to ia64-gen.
         Regenerate dependencies for ia64-len.lo.
         * Makefile.in: Regenerate.
-         * ia64-gen.c: Convert to use getopt().  Add the standard GNU
-         options, as well as '--srcdir', which controls the directory in
-         which ia64-gen looks for the sources it uses to generate the
-         output table.  Add a 'const' to the declaration of the final
-         output table.  Call xmalloc_set_program_name to set the program
-         name.
+        * ia64-gen.c: Convert to use getopt().  Add the standard GNU
+        options, as well as '--srcdir', which controls the directory in
+        which ia64-gen looks for the sources it uses to generate the
+        output table.  Add a 'const' to the declaration of the final
+        output table.  Call xmalloc_set_program_name to set the program
+        name.
         * ia64-asmtab.c: Regenerate.
-        
+
 2002-11-07  Nick Clifton  <nickc@redhat.com>
 
        * ia64-gen.c: Fix comment formatting and compile time warnings.
 
 2002-11-06  Aldy Hernandez  <aldyh@redhat.com>
 
-        * opcodes/ppc-opc.c: Change RD to RS for evmerge*.
+       ppc-opc.c: Change RD to RS for evmerge*.
 
 2002-10-07  Nathan Tallent  <eraxxon@alumni.rice.edu>
 
        at the end.
 
 2002-09-30  Gavin Romig-Koch  <gavin@redhat.com>
-            Ken Raeburn  <raeburn@cygnus.com>
-            Aldy Hernandez  <aldyh@redhat.com>
-            Eric Christopher  <echristo@redhat.com>
-            Richard Sandiford  <rsandifo@redhat.com>
+           Ken Raeburn  <raeburn@cygnus.com>
+           Aldy Hernandez  <aldyh@redhat.com>
+           Eric Christopher  <echristo@redhat.com>
+           Richard Sandiford  <rsandifo@redhat.com>
 
        * mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
        (mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
 
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
-       * opcodes/po/POTFILES.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
 
 2002-01-19  Richard Earnshaw  <rearnsha@arm.com>
 
 
 2001-08-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
 
-       * opcodes/s390-opc.c: Add "low or high" and "not low or high"
+       * s390-opc.c: Add "low or high" and "not low or high"
        branch instructions for gcc 3.0.
-       * opcodes/s390-opc.txt: Likewise.
+       * s390-opc.txt: Likewise.
 
 2001-08-21  Andreas Jaeger  <aj@suse.de>