1 2002-09-02 Nick Clifton <nickc@redhat.com>
3 * v850-opc.c: Remove redundant references to V850EA architecture.
5 2002-09-02 Alan Modra <amodra@bigpond.net.au>
7 * arc-opc.c: Include bfd.h.
8 (arc_get_opcode_mach): Subtract off base bfd_mach value.
10 2002-08-30 Alan Modra <amodra@bigpond.net.au>
12 * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
14 * mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.
16 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
18 * configure.in: Added bfd_tic4x_arch.
19 * configure: Regenerate.
20 * Makefile.am: Added tic4x-dis.o target.
21 * Makefile.in: Regenerate.
23 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
25 * disassemble.c: Added tic4x target and c4x
27 * tic4x-dis.c: New file.
29 2002-08-16 Christian Groessler <chris@groessler.org>
31 * z8k-dis.c (unparse_instr): case CLASS_BA: Designate hex
33 * z8kgen.c (opt): Fix definition of "in rd,imm16" opcode.
34 * z8k-opc.h: Regenerated with new z8kgen.c.
36 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
38 From matthew green <mrg@redhat.com>
40 * ppc-dis.c (powerpc_dialect): Support `-m500', `-m500x2' and
41 `-mefs'. Turn off AltiVec for E500 and efs.
42 (print_insn_powerpc): Don't print an AltiVec instruction if the
45 * ppc-opc.c (insert_pmrn, extract_pmrn, insert_ev2, extract_ev2,
46 insert_ev4, extract_ev4, insert_ev8, extract_ev8): New functions
47 for extracting pmrn/evld/evstd/etc operands.
48 (CRB, CRFD, CRFS, DC, RD): New instruction fields.
49 (CT): Make this equal to RD + 1.
52 (EVUIMM, EVUIMM_2, EVUIMM_4, EVUIMM_8): New operands.
54 (EVSEL, EVSEL_MASK): New instruction form and mask for EVSEL.
55 (ISEL, ISEL_MASK): New instruction form and mask for ISEL.
56 (XISEL, XISEL_MASK): New instruction form and mask for ISEL.
57 (CTX, CTX_MASK): New instruction form and mask for context cache
59 (UCTX, UCTX_MASK): New instruction form and mask for user context
61 (XC, XC_MASK, XUC, XUC_MASK): New instruction forms.
62 (CLASSIC): New define.
63 (PPCESPE): New define.
64 (PPCISEL, , PPCBRLK, PPCPMR, PPCCHLK, PPCRFMI): New
65 defines for integer select, cache control, branch
66 locking, power management, cache locking and machine check
67 APU instructions, respectively.
68 (efsabs, efsnabs, efsneg, efsadd, efssub, efsmul,
69 efsdiv, efscmpgt, efscmplt, efscmpeq, efststgt, efststlt,
70 efststeq, efscfui, efsctuiz, efscfsi, efscfuf, efscfsf,
71 efsctui, efsctsi, efsctsiz, efsctuf, efsctsf,
72 evaddw, evaddiw, evsubfw, evsubifw, evabs, evneg, evextsb,
73 evextsh, evrndw, evcntlzw, evcntlsw, brinc, evand, evandc, evor,
74 evorc, evxor, eveqv, evnand, evnor, evrlw, evrlwi, evslw, evslwi,
75 evsrws, evsrwu, evsrwis, evsrwiu, evsplati, evsplatfi, evmergehi,
76 evmergelo, evmergehilo, evmergelohi, evcmpgts, evcmpgtu, evcmplts,
77 evcmpltu, evcmpeq, evsel, evldd, evlddx, evldw, evldwx, evldh,
78 evldhx, evlwhe, evlwhex, evlwhou, evlwhoux, evlwhos, evlwhosx,
79 evlwwsplat, evlwwsplatx, evlwhsplat, evlwhsplatx, evlhhesplat,
80 evlhhesplatx, evlhousplat, evlhousplatx, evlhossplat, evlhossplatx,
81 evstdd, evstddx, evstdw, evstdwx, evstdh, evstdhx, evstwwe,
82 evstwwex, evstwwo, evstwwox, evstwhe, evstwhex, evstwho, evstwhox,
83 evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, evfsdiv,
84 evfscmpgt, evfscmplt, evfscmpeq, evfststgt, evfststlt, evfststeq,
85 evfscfui, evfsctuiz, evfscfsi, evfscfuf, evfscfsf, evfsctui,
86 evfsctsi, evfsctsiz, evfsctuf, evfsctsf, evsabs, evsnabs, evsneg,
87 evsadd, evssub, evsmul, evsdiv, evscmpgt, evsgmplt, evsgmpeq,
88 evststgt, evststlt, evststeq, evscfui, evscfsi, evscfuf, evscfsf,
89 evsctui, evsctuiz, evsctsi, evsctsiz, evsctuf, evsctsf, evmhossf,
90 evmhossfa, evmhosmf, evmhosmfa, evmhosmi, evmhosmia, evmhoumi,
91 evmhoumia, evmhessf, evmhessfa, evmhesmf, evmhesmfa, evmhesmi,
92 evmhesmia, evmheumi, evmheumia, evmhossfaaw, evmhossiaaw,
93 evmhosmfaaw, evmhosmiaaw, evmhousiaaw, evmhoumiaaw, evmhessfaaw,
94 evmhessiaaw, evmhesmfaaw, evmhesmiaaw, evmheusiaaw, evmheumiaaw,
95 evmhossfanw, evmhossianw, evmhosmfanw, evmhosmianw, evmhousianw,
96 evmhoumianw, evmhessfanw, evmhessianw, evmhesmfanw, evmhesmianw,
97 evmheusianw, evmheumianw, evmhogsmfaa, evmhogsmiaa, evmhogumiaa,
98 evmhegsmfaa, evmhegsmiaa, evmhegumiaa, evmhogsmfan, evmhogsmian,
99 evmhogumian, evmhegsmfan, evmhegsmian, evmhegumian, evmwhssf,
100 evmwhssfa, evmwhssfaa, evmwhssmaa, evmwhsmfaa, evmwhsmiaa,
101 evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, evmwhsmfan,
102 evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, evmwhgsmfaa,
103 evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, evmwhgsmian,
104 evmwhgumian, evmwhsmf, evmwhsmfa, evmshsmi, evmshsmia, evmshumi,
105 evmshumia, evmmlssf, evmmlssfa, evmwlsmf, evmwlsmfa, evmwlumi,
106 evmwlumia, evmwlssfaaw, evmwlssiaaw, evmwlsmfaaw, evmwlsmiaaw,
107 evmwlusiaaw, evmwlumiaaw, evmwissfanw, evmwissianw, evmwlsmfanw,
108 evmwlsmianw, evmwlusianw, evmwlumianw, evmwssf, evmwssfa,
109 evmwsmf, evmwsmfa, evmwsmi, evmwsmia, evmwumi, evmwumia,
110 evmwssfaa, evmwsmfaa, evmwsmiaa, evmwumiaa, evmwssfan, evmwsmfan,
111 evmwsmian, evmwumian, evaddssiaaw, evaddsmiaaw, evaddusiaaw,
112 evaddumiaaw, evsubfssiaaw, evsubfsmiaaw, evsubfusiaaw,
113 evsubfumiaaw, evmra, evdivws, evdivws): New e500x2 Core Complex
115 (rfmci): New machine check APU instruction.
116 (isel): New integer select APU instructino.
117 (icbtls, icbtlse, icblc, icblce, dcbtls, dcbtlse, dcbtstls,
118 dcbtstlse, dcblc, dcblce): New cache control APU instructions.
119 (mtspefscr, mfspefscr): New instructions.
120 (mfpmr, mtpmr): New performance monitor APU instructions.
121 (savecontext): New context cache APU instructions.
122 (bblels, bbelr): New branch locking APU instructions.
123 (bblels, bbelr): New instructions.
124 (mftbl, mftbu, mftb): Set as CLASSIC instructions. Add BOOKE alias.
126 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
128 * m68hc11-opc.c: Update call operand to accept the page definition.
129 Identify instructions that are branches and calls to generate a
132 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
134 * m68hc11-dis.c (print_insn): Take into account 68HC12 memory
135 banks and fix disassembling of call instruction.
136 (print_indexed_operand): New param to tell whether
137 it was an indirect addressing operand (for disassembling call).
139 2002-08-09 Nick Clifton <nickc@redhat.com>
141 * po/sv.po: Updated Swedish translation.
143 2002-08-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
145 * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as
146 aliases to "daddiu" and "addiu".
148 2002-07-30 Nick Clifton <nickc@redhat.com>
150 * po/sv.po: Updated Swedish translation.
152 2002-07-25 Nick Clifton <nickc@redhat.com>
154 * po/sv.po: Updated Swedish translation.
155 * po/es.po: Updated Spanish translation.
156 * po/pr_BR.po: Updated Brazilian Portuguese translation.
157 * po/tr.po: Updated Turkish translation.
158 * po/fr.po: Updated French translation.
160 2002-07-24 Nick Clifton <nickc@redhat.com>
162 * po/sv.po: Updated Swedish translation.
163 * po/es.po: Updated Spanish translation.
164 * po/pr_BR.po: Updated Brazilian Portuguese translation.
166 2002-07-23 Alan Modra <amodra@bigpond.net.au>
168 * Makefile.am: Run "make dep-am".
169 * Makefile.in: Regenerate.
170 * po/POTFILES.in: Regenerate.
172 2002-07-23 Nick Clifton <nickc@redhat.com>
174 * po/fr.po: Updated French translation.
175 * po/pr_BR.po: New Brazilian Portuguese translation.
176 * po/id.po: Updated Indonesian translation.
177 * configure.in (LINGUAS): Add pr_BR.
178 * configure: Regenerate.
180 2002-07-18 Denis Chertykov <denisc@overta.ru>
181 Frank Ch. Eigler <fche@redhat.com>
182 Alan Lehotsky <alehotsky@cygnus.com>
183 matthew green <mrg@redhat.com>
185 * configure.in: Add support for ip2k.
186 * configure: Regenerate.
187 * Makefile.am: Add support for ip2k.
188 * Makefile.in: Regenerate.
189 * disassemble.c: Add support for ip2k.
190 * ip2k-asm.c: New generated file.
191 * ip2k-desc.c: New generated file.
192 * ip2k-desc.h: New generated file.
193 * ip2k-dis.c: New generated file.
194 * ip2k-ibld.c: New generated file.
195 * ip2k-opc.c: New generated file.
196 * ip2k-opc.h: New generated file.
198 2002-07-17 David Mosberger <davidm@hpl.hp.com>
200 * ia64-opc-b.c (bWhc): New macro.
203 (ia64_opcodes_b): Correct patterns for indirect call
204 instructions to use 3-bit "wh" field.
205 * ia64-asmtab.c: Regnerate.
207 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
209 * mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
210 * mips-opc.c (I16): New define.
211 (mips_builtin_opcodes): Make jalx an I16 insn.
213 2002-06-18 Dave Brolley <brolley@redhat.com>
215 * po/POTFILES.in: Add frv-*.[ch].
216 * disassemble.c (ARCH_frv): New macro.
217 (disassembler): Handle bfd_arch_frv.
218 * configure.in: Support frv_bfd_arch.
219 * Makefile.am (HFILES): Add frv-*.h.
220 (CFILES): Add frv-*.c
221 (ALL_MACHINES): Add frv-*.lo.
222 (CLEANFILES): Add stamp-frv.
223 (FRV_DEPS): New variable.
224 (stamp-frv): New target.
225 (frv-asm.lo): New target.
226 (frv-desc.lo): New target.
227 (frv-dis.lo): New target.
228 (frv-ibld.lo): New target.
229 (frv-opc.lo): New target.
230 (frv-*.[ch]): New files.
232 2002-06-18 Ben Elliston <bje@redhat.com>
234 * Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen.
235 * Makefile.in: Regenerate.
237 2002-06-08 Alan Modra <amodra@bigpond.net.au>
239 * a29k-dis.c: Replace CONST with const.
240 * h8300-dis.c: Likewise.
241 * m68k-dis.c: Likewise.
242 * or32-dis.c: Likewise.
243 * sparc-dis.c: Likewise.
245 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
247 * configure.in: Add "sh5*-*" to list of targets which include
249 * configure: Regenerate.
251 2002-05-31 Chris G. Demetriou <cgd@broadcom.com>
253 * mips-opc.c: Clean up a few whitespace issues, and sort a
254 few entries understanding that 'x' follows 'w' in the alphabet.
256 2002-05-31 Chris G. Demetriou <cgd@broadcom.com>
257 Ed Satterthwaite <ehs@broadcom.com>
259 * mips-opc.c: Add support for SB-1 MDMX subset and extensions.
261 2002-05-31 Alan Modra <amodra@bigpond.net.au>
263 * Makefile.am: Run "make dep-am".
264 * Makefile.in: Regenerate.
265 * po/POTFILES.in: Regenerate.
267 2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
268 Ed Satterthwaite <ehs@broadcom.com>
270 * mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y',
271 and 'Z' formats, for MDMX.
272 (mips_isa_type): Add MDMX instructions to the ISA
273 bit mask for bfd_mach_mipsisa64.
274 * mips-opc.c: Add support for MDMX instructions.
275 (MX): New definition.
277 * mips-dis.c: Update copyright years to include 2002.
279 2002-05-30 Diego Novillo <dnovillo@redhat.com>
281 * d10v-opc.c (d10v_opcodes): `btsti' does not modify its
284 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
286 * configure.in: Add DLX configuraton support.
287 * configure: Regenerate.
288 * Makefile.am: Add DLX configuraton support.
289 * Makefile.in: Regenerate.
290 * disassemble.c: Add DLX support.
291 * dlx-dis.c: New file.
293 2002-05-25 Alan Modra <amodra@bigpond.net.au>
295 * Makefile.am (sh-dis.lo): Don't put make commands in deps.
296 * Makefile.in: Regenerate.
297 * arc-dis.c: Use #include "" instead of <> for local header files.
298 * m68k-dis.c: Likewise.
300 2002-05-22 J"orn Rennecke <joern.rennecke@superh.com>
302 * Makefile.am (sh-dis.lo): Compile with @archdefs@.
303 * Makefile.in: regenerate.
305 * sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4
308 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
310 * mips-opc.c (mips_builtin_opcodes): Add drol, dror macros.
312 2002-05-17 J"orn Rennecke <joern.rennecke@superh.com>
314 * disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh.
315 * sh-dis.c (LITTLE_BIT): Delete.
316 (print_insn_sh, print_insn_shl): Deleted.
317 (print_insn_shx): Renamed to
318 (print_insn_sh). No longer static. Handle SHmedia instructions.
319 Use info->endian to determine endianness.
320 * sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete.
321 (print_insn_sh64x): No longer static. Renamed to
322 (print_insn_sh64). Removed pfun_compact and endian arguments.
323 If we got an uneven address to indicate SHmedia, adjust it.
324 Return -2 for SHcompact instructions.
326 2002-05-17 Alan Modra <amodra@bigpond.net.au>
328 * acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools.
329 * configure.in: Invoke AM_INSTALL_LIBBFD.
330 * Makefile.am (install-data-local): Move to..
331 (install_libopcodes): .. New target.
332 (uninstall_libopcodes): Likewise.
333 (install-bfdlibLTLIBRARIES): Likewise.
334 (uninstall-bfdlibLTLIBRARIES): Likewise.
336 (bfdincludedir): New.
337 (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES.
338 * aclocal.m4: Regenerate.
339 * configure: Regenerate.
340 * Makefile.in: Regenerate.
342 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
344 * fr30-asm.c: Regenerate.
345 * fr30-desc.c: Regenerate.
346 * fr30-dis.c: Regenerate.
347 * m32r-asm.c: Regenerate.
348 * m32r-desc.c: Regenerate.
349 * m32r-dis.c: Regenerate.
350 * openrisc-asm.c: Regenerate.
351 * openrisc-desc.c: Regenerate.
352 * openrisc-dis.c: Regenerate.
353 * xstormy16-asm.c: Regenerate.
354 * xstormy16-desc.c: Regenerate.
355 * xstormy16-dis.c: Regenerate.
357 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
359 * mips-dis.c (is_newabi): EABI is not a NewABI.
361 2002-05-13 Jason Thorpe <thorpej@wasabisystems.com>
363 * configure.in (shle-*-*elf*): Include sh64 support.
364 * configure: Regenerate.
366 2002-04-28 Jason Thorpe <thorpej@wasabisystems.com>
368 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
369 (print_insn_mode): Print some basic info about floating point values.
371 2002-05-09 Anton Blanchard <anton@samba.org>
373 * ppc-opc.c: Add "tlbiel" for POWER4.
375 2002-05-07 Graydon Hoare <graydon@redhat.com>
377 * cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather
378 than just most-recently-opened.
380 2002-05-01 Alan Modra <amodra@bigpond.net.au>
382 * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.
384 2002-04-24 Christian Groessler <chris@groessler.org>
386 * z8k-dis.c (print_insn_z8k): Set disassemble_info to 2
387 bytes_per_chunk, 6 bytes_per_line for nicer display of the hex
389 (z8k_lookup_instr): CLASS_IGNORE case added.
390 (output_instr): Don't print hex codes, they are already
392 (unpack_instr): ARG_NIM4 case added. ARG_NIM8 case
393 fixed. Support CLASS_BIT_1OR2 and CLASS_IGNORE cases.
394 (unparse_instr): Fix base and indexed addressing disassembly:
395 The index is inside the brackets.
396 * z8kgen.c (gas): Add ARG_NIM4 and CLASS_IGNORE defines.
397 (opt): Fix shift left/right arithmetic/logical byte defines:
398 The high byte of the immediate word is ignored by the
400 Fix n parameter of ldm opcodes: The opcode contains (n-1).
401 (args): Fix "n" entry.
402 (toks): Add "nim4" and "iiii" entries.
403 * z8k-opc.h: Regenerated with new z8kgen.c.
405 2002-04-24 Nick Clifton <nickc@cambridge.redhat.com>
407 * po/id.po: New Indonesian translation.
408 * configure.in (ALL_LIGUAS): Add id.po
409 * configure: Regenerate.
411 2002-04-17 matthew green <mrg@redhat.com>
413 * ppc-opc.c (powerpc_opcode): Fix dssall operand list.
415 2002-04-04 Alan Modra <amodra@bigpond.net.au>
417 * dep-in.sed: Cope with absolute paths.
418 * Makefile.am (dep.sed): Subst TOPDIR.
420 * Makefile.in: Regenerate.
421 * ppc-opc.c: Whitespace.
422 * s390-dis.c: Fix copyright date.
424 2002-03-23 matthew green <mrg@redhat.com>
426 * ppc-opc.c (vmaddfp): Fix operand order.
428 2002-03-21 Alan Modra <amodra@bigpond.net.au>
430 * Makefile.am: Run "make dep-am".
431 * Makefile.in: Regenerate.
433 2002-03-21 Anton Blanchard <anton@samba.org>
435 * ppc-opc.c: Add optional field to mtmsrd.
436 (MTMSRD_L, XRLARB_MASK): Define.
438 2002-03-18 Jan Hubicka <jh@suse.cz>
440 * i386-dis.c (prefix_name): Fix handling of 32bit address prefix
442 (print_insn) Likewise.
443 (putop): Fix handling of 'E'
444 (OP_E, OP_OFF): handle 32bit addressing mode in 64bit.
447 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
449 * po/fr.po: Updated version.
451 2002-03-16 Chris Demetriou <cgd@broadcom.com>
453 * mips-opc.c (M3D): Tweak comment.
454 (mips_builtin_op): Add comment indicating that opcodes of the
455 same name must be placed together in the table, and sort
456 the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt",
457 "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name.
459 2002-03-16 Nick Clifton <nickc@cambridge.redhat.com>
461 * Makefile.am: Tidy up sh64 rules.
462 * Makefile.in: Regenerate.
464 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
466 * mips-dis.c: Update copyright years.
468 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
470 * mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA
471 bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add
472 comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that
473 indicate that they should dissassemble all applicable
475 * mips-opc.c: Add support for MIPS-3D instructions.
476 (M3D): New definition.
478 * mips-opc.c: Update copyright years.
480 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
482 * mips-opc.c (mips_builtin_opcodes): Sort bc<N> opcodes by name.
484 2002-03-15 Chris Demetriou <cgd@broadcom.com>
486 * mips-dis.c (is_newabi): Fix ABI decoding.
488 2002-03-14 Chris G. Demetriou <cgd@broadcom.com>
490 * mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32
491 and bfd_mach_mipsisa64 cases to match the rest.
493 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
495 * po/fr.po: Updated version.
497 2002-03-13 Alan Modra <amodra@bigpond.net.au>
499 * ppc-opc.c: Add optional `L' field to tlbie.
500 (XRTLRA_MASK): Define.
502 2002-03-06 Chris Demetriou <cgd@broadcom.com>
504 * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being
507 * mips-opc.c (mips_builtin_opcodes): Add "movn.ps" and "movz.ps".
509 2002-03-05 Paul Koning <pkoning@equallogic.com>
511 * pdp11-opc.c: Fix "mark" operand type. Fix operand types
512 for float opcodes that take float operands. Add alternate
513 names (xxxD vs. xxxF) for float opcodes.
514 * pdp11-dis.c (print_operand): Clean up formatting for mode 67.
515 (print_foperand): New function to handle float opcode operands.
516 (print_insn_pdp11): Use print_foperand to disassemble float ops.
518 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
522 2002-02-26 Brian Gaeke <brg@dgate.org>
524 * Makefile.am (install-data-local): Install dis-asm.h.
526 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
528 * configure.in (LINGUAS): Add de.po.
529 * configure: Regenerate.
530 * po/de.po: New file.
532 2002-02-25 Alan Modra <amodra@bigpond.net.au>
534 * ppc-dis.c (powerpc_dialect): Handle power4 option.
535 * ppc-opc.c (insert_bdm): Correct description of "at" branch
536 hints. Test PPC_OPCODE_POWER4 to determine branch hint flavour.
537 (extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise.
538 (BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc.
539 (BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise.
540 (PPCCOM32, PPCCOM64): Delete.
541 (NOPOWER4, POWER4): Define.
542 (powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4,
543 and PPCCOM4 with POWER4 so that "at" style branch hint opcodes
544 are enabled for power4 rather than ppc64.
546 2002-02-20 Tom Rix <trix@redhat.com>
548 * ppc-opc.c (powerpc_operands): Add WS field. Use for tlbre, tlbwe.
550 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
552 * s390-dis.c (init_disasm): Use renamed architecture defines.
554 2002-02-19 matthew green <mrg@redhat.com>
556 * ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
559 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
561 * po/tr.po: Updated translation.
563 2002-02-15 Richard Henderson <rth@redhat.com>
565 * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
568 2002-02-15 Richard Henderson <rth@redhat.com>
570 * alpha-opc.c (alpha_opcodes): Add simple pseudos for
573 2002-02-14 Nick Clifton <nickc@cambridge.redhat.com>
575 * po/da.po: Updated translation.
577 2002-02-12 Graydon Hoare <graydon@redhat.com>
579 * cgen-asm.in (parse_insn_normal): Change call from
580 @arch@_cgen_parse_operand to cd->parse_operand, to
581 facilitate CGEN_ASM_INIT_HOOK doing useful work.
583 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
585 * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
588 2002-02-11 Alan Modra <amodra@bigpond.net.au>
590 * Makefile.am: "make dep-am".
591 * Makefile.in: Regenerate.
592 * aclocal.m4: Regenerate.
593 * config.in: Regenerate.
594 * configure: Regenerate.
596 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
598 * configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64
599 support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and
601 * configure: Regenerate.
603 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
605 * cgen-dis.c: Add prototypes for count_decodable_bits
606 and add_insn_to_hash_chain.
608 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
610 * configure.in <bfd_sh_arc>: Enable sh64 support on sh-*.
611 * configure: Rebuilt.
613 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
615 * or32-opc.c: Fix compile time warning messages.
616 * or32-dis.c: Fix compile time warning messages.
618 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
621 2001-10-08 Nick Clifton <nickc@cambridge.redhat.com>
622 * sh64-opc.c: Regenerate.
623 2001-03-13 DJ Delorie <dj@redhat.com>
624 * sh64-opc.h: Rename A_RESV_Fx to A_REUSE_PREV so that its
625 purpose is more obvious.
626 * sh64-opc.c (shmedia_table): Ditto.
627 * sh64-dis.c (initialize_shmedia_opcode_mask_table): Ditto.
628 (print_insn_shmedia): Ditto.
629 2001-03-12 DJ Delorie <dj@redhat.com>
630 * sh64-opc.c: Adjust comments to reflect reality: replace bits
631 3:0 with zeros (not "reserved"), replace "rrrrrr" with
632 "gggggg" for two-operand floating point opcodes. Remove
634 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com>
635 * sh64-dis.c (print_insn_shmedia) <failing read_memory_func>:
636 Correct printing of .byte:s. Return number of printed bytes or
638 (print_insn_sh64x) <not CRT_SH5_ISA16>: Ditto. Print as .byte:s
639 to next four-byte-alignment if insn or data is not aligned.
640 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
641 * sh64-dis.c: Update comments and fix comment formatting.
642 (initialize_shmedia_opcode_mask_table) <case A_IMMM>:
643 Abort instead of setting length to 0.
644 (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
645 crange_bsearch_cmpl, sh64_get_contents_type,
646 sh64_address_in_cranges): Move to bfd/elf32-sh64.c.
647 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
648 * sh64-opc.c: Remove #if 0:d entries for instructions not found in
649 SH-5/ST50-023-04: fcosa.s, fsrra.s and prefo.
650 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
651 * sh64-dis.c (print_insn_shmedia): Display MOVI/SHORI-formed
652 address with same prefix as SHcompact.
653 In the disassembler, use a .cranges section for linked executables.
654 * sh64-dis.c (SAVED_MOVI_R, SAVED_MOVI_IMM): Move to head of file
655 and update for using structure in info->private_data.
656 (struct sh64_disassemble_info): New.
657 (is_shmedia_p): Delete.
658 (crange_qsort_cmpb): New function.
659 (crange_qsort_cmpl, crange_bsearch_cmpb): New functions.
660 (crange_bsearch_cmpl, sh64_address_in_cranges): New functions.
661 (init_sh64_disasm_info, sh64_get_contents_type_disasm): New functions.
662 (sh64_get_contents_type, sh64_address_is_shmedia): New functions.
663 (print_insn_shmedia): Correct displaying of address after MOVI/SHORI
664 pair. Display addresses for linked executables only.
665 (print_insn_sh64x_media): Initialize info->private_data by calling
666 init_sh64_disasm_info.
667 (print_insn_sh64x): Ditto. Find out type of contents by calling
668 sh64_contents_type_disasm. Display data regions using ".long" and
669 ".byte" similar to unrecognized opcodes.
670 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
671 * sh64-dis.c (is_shmedia_p): Check info->section and look for ISA
672 information in section flags before considering symbols. Don't
673 assume an info->mach setting of bfd_mach_sh5 means SHmedia code.
674 * configure.in (bfd_sh_arch): Check presence of sh64 insns by
675 matching $target $canon_targets instead of looking at the
676 now-removed -DINCLUDE_SHMEDIA in $targ_cflags.
677 * configure: Regenerate.
678 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
679 * sh64-opc.c (shmedia_creg_table): New.
680 * sh64-opc.h (shmedia_creg_info): New type.
681 (shmedia_creg_table): Declare.
682 * sh64-dis.c (creg_name): New function.
683 (print_insn_shmedia): Use it.
684 * disassemble.c (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map
685 bfd_mach_sh5 to print_insn_sh64 if big-endian and to
686 print_insn_sh64l if little-endian.
687 * sh64-dis.c (print_insn_shmedia): Make r unsigned.
688 (print_insn_sh64l): New.
689 (print_insn_sh64x): New.
690 (print_insn_sh64x_media): New.
691 (print_insn_sh64): Break out code to print_insn_sh64x and
692 print_insn_sh64x_media.
693 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
694 * sh64-opc.h: New file
695 * sh64-opc.c: New file
696 * sh64-dis.c: New file
697 * Makefile.am: Add sh64 targets.
698 (HFILES): Add sh64-opc.h.
699 (CFILES): Add sh64-opc.c and sh64-dis.c.
700 (ALL_MACHINES): Add sh64 files.
701 * Makefile.in: Regenerate.
702 * configure.in: Add support for sh64 to bfd_sh_arch.
703 * configure: Regenerate.
704 * disassemble.c [ARCH_all] (INCLUDE_SHMEDIA): Define.
705 (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map bfd_mach_sh5 to
707 * sh-dis.c (print_insn_shx): Handle bfd_mach_sh5 as arch_sh4.
708 * po/POTFILES.in: Regenerate.
709 * po/opcodes.pot: Regenerate.
711 2002-02-04 Frank Ch. Eigler <fche@redhat.com>
713 * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
715 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
717 * sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS.
719 2002-02-01 Alan Modra <amodra@bigpond.net.au>
721 * Makefile.am: Run "make dep-am"
722 * Makefile.in: Regenerate.
724 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
726 * or32-dis.c: New file.
727 * or32-opc.c: New file.
728 * configure.in: Add support for or32.
729 * configure: Regenerate.
730 * Makefile.am: Add support for or32.
731 * Makefile.in: Regenerate.
732 * disassemble.c: Add support for or32.
733 * po/POTFILES.in: Regenerate.
734 * po/opcodes.pot: Regenerate.
736 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
738 * configure: Regenerated.
740 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
742 * po/fr.po: Updated version.
744 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
746 * po/es.po: Updated version.
748 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
750 * po/da.po: New version.
752 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
754 * po/da.po: New file: Spanish translation.
755 * configure.in (ALL_LINGUAS): Add da.
756 * configure: Regenerate.
758 2002-01-22 Graydon Hoare <graydon@redhat.com>
760 * fr30-asm.c: Regenerate.
761 * fr30-desc.c: Likewise.
762 * fr30-desc.h: Likewise.
763 * fr30-dis.c: Likewise.
764 * fr30-ibld.c: Likewise.
765 * fr30-opc.c: Likewise.
766 * fr30-opc.h: Likewise.
767 * m32r-asm.c: Likewise.
768 * m32r-desc.c: Likewise.
769 * m32r-desc.h: Likewise.
770 * m32r-dis.c: Likewise.
771 * m32r-ibld.c: Likewise.
772 * m32r-opc.c: Likewise.
773 * m32r-opc.h: Likewise.
774 * m32r-opinst.c: Likewise.
775 * openrisc-asm.c: Likewise.
776 * openrisc-desc.c: Likewise.
777 * openrisc-desc.h: Likewise.
778 * openrisc-dis.c: Likewise.
779 * openrisc-ibld.c: Likewise.
780 * openrisc-opc.c: Likewise.
781 * openrisc-opc.h: Likewise.
782 * xstormy16-desc.c: Likewise.
784 2002-01-22 Richard Henderson <rth@redhat.com>
786 * alpha-dis.c (print_insn_alpha): Also mask the base opcode for
789 2002-01-22 Alan Modra <amodra@bigpond.net.au>
791 * Makefile.am: Run "make dep-am".
792 * Makefile.in: Regenerate.
793 * opcodes/po/POTFILES.in: Regenerate.
795 2002-01-19 Richard Earnshaw <rearnsha@arm.com>
797 * arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
798 * arm-dis.c (print_insn_arm): Don't handle 'h' case.
800 2002-01-18 Keith Walker <keith.walker@arm.com>
802 * arm-opc.h (arm_opcodes): Add bxj instruction.
804 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
806 * po/opcodes.pot: Regenerate.
807 * po/fr.po: Regenerate.
808 * po/sv.po: Regenerate.
809 * po/tr.po: Regenerate.
811 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
813 * po/tr.po: Import new version.
815 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
817 * arm-opc.h (arm_opcodes): Add patterns for VFP instructions.
818 * arm-dis.c (print_insn_arm): Support new disassembly qualifiers for
821 2002-01-10 matthew green <mrg@redhat.com>
823 * xstormy16-asm.c: Regenerate.
824 * xstormy16-desc.c: Likewise.
825 * xstormy16-desc.h: Likewise.
826 * xstormy16-dis.c: Likewise.
827 * xstormy16-opc.c: Likewise.
828 * xstormy16-opc.h: Likewise.
830 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
832 * po/es.po: New file: Spanish translation.
833 * configure.in (ALL_LINGUAS): Add es.
834 * configure: Regenerate.
836 2001-12-31 Jeffrey A Law (law@redhat.com)
838 * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
839 'X', 'M', and 'A'. No longer emit a space after 'x' or 's'.
840 Always emit a space after 'H'.
842 2001-12-18 matthew green <mrg@redhat.com>
844 * ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.
846 2001-12-17 Richard Henderson <rth@redhat.com>
848 * alpha-opc.c (unop): Encode with RB as $sp.
850 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
852 * Makefile.am: Add support for xstormy16.
853 * Makefile.in: Regenerate.
854 * configure.in: Add support for xstormy16.
855 * configure: Regenerate.
856 * disassemble.c: Add support for xstormy16.
857 * xstormy16-asm.c: New generated file.
858 * xstormy16-desc.c: New generated file.
859 * xstormy16-desc.h: New generated file.
860 * xstormy16-dis.c: New generated file.
861 * xstormy16-ibld.c: New generated file.
862 * xstormy16-opc.c: New generated file.
863 * xstormy16-opc.h: New generated file.
865 2001-12-06 Richard Henderson <rth@redhat.com>
867 * alpha-opc.c (alpha_opcodes): Add wh64en.
869 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
871 * d10v-opc.c (d10v_predefined_registers): Remove warnings
872 introduced in Nov 29's patch.
874 * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
877 * d10v-dis.c (print_operand): Disregard OPERAND_SP in register
880 * d10v-opc.c (RSRC_NOSP): New macro.
881 (d10v_operands): Add it.
882 (d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w".
884 2001-11-29 Alexandre Oliva <aoliva@redhat.com>
886 * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
887 (RSRC_SP): New macro.
888 (d10v_operands): Add it.
889 (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.
891 2001-11-23 Lars Brinkhoff <lars@nocrew.org>
893 * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
894 Also, break out of the loop as soon as an instruction has been
897 2001-11-17 matthew green <mrg@redhat.com>
899 * ppc-opc.c (mfvrsave, mtvrsave): New instructions.
901 2001-11-15 Alan Modra <amodra@bigpond.net.au>
903 * po/POTFILES.in: Regenerate.
905 * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC.
906 (insert_bat, extract_bat, insert_bba, extract_bba,
907 insert_bd, extract_bd, insert_bdm, extract_bdm,
908 insert_bdp, extract_bdp, valid_bo,
909 insert_bo, extract_bo, insert_boe, extract_boe,
910 insert_ds, extract_ds, insert_de, extract_de,
911 insert_des, extract_des, insert_li, extract_li,
912 insert_mbe, extract_mbe, insert_mb6, extract_mb6,
913 insert_nb, extract_nb, insert_nsi, extract_nsi,
914 insert_ral, insert_ram, insert_ras,
915 insert_rbs, extract_rbs, insert_sh6, extract_sh6,
916 insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param.
917 (extract_bd, extract_bdm, extract_bdp,
918 extract_ds, extract_des,
919 extract_li, extract_nsi): Implement sign extension without conditional.
920 (insert_bdm, extract_bdm,
921 insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints.
922 (extract_bdm, extract_bdp): Correct 32 bit validation.
923 (AT1_MASK, AT2_MASK): Define.
924 (BBOAT_MASK): Define.
925 (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define.
926 (BOFM64, BOFP64, BOTM64, BOTP64): Define.
927 (BODNZM64, BODNZP64, BODZM64, BODZP64): Define.
928 (PPCCOM32, PPCCOM64): Define.
929 (powerpc_opcodes): Modify existing 32 bit insns with branch hints
930 and add new patterns to implement 64 bit branches with hints. Move
931 booke instructions so they match before ppc64.
933 * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for
934 64 bit default targets, and parse "32" and "64" in options.
936 (print_insn_powerpc): Pass dialect to operand->extract.
938 2001-11-14 Dave Brolley <brolley@redhat.com>
940 * cgen-dis.c (count_decodable_bits): New function.
941 (add_insn_to_hash_chain): New function.
942 (hash_insn_array): Call add_insn_to_hash_chain.
943 (hash_insn_list): Call add_insn_to_hash_chain.
944 * m32r-dis.c: Regenerated.
945 * fr30-dis.c: Regenerated.
947 2001-11-14 Andreas Jaeger <aj@suse.de>
949 * i386-dis.c (print_insn): Use x86-64 as option.
951 2001-11-14 Alan Modra <amodra@bigpond.net.au>
953 * disassemble.c (disassembler): Call print_insn_i386.
954 * i386-dis.c (SUFFIX_ALWAYS): Define.
955 (struct dis_private): Add orig_sizeflag.
956 (print_insn_i386): Make it a wrapper, calling..
957 (print_insn): ..The old body of print_insn_i386. Avoid longjmp
958 warning without using volatile by moving orig_sizeflag to priv,
959 and removing inbuf. Parse disassembler_options.
960 (print_insn_i386_att, print_insn_i386_intel): Move initialisation
962 (putop): Remove #ifdef SUFFIX_ALWAYS.
964 2001-11-11 Timothy Wall <twall@alum.mit.edu>
966 * tic54x-dis.c: Use revised opcode structure. Export opcode
968 (has_lkaddr): Don't forget about Lmem insns.
969 * tic54x-opc.c: Add emulation trap. Parallel table now uses
970 standard opcode templates.
972 2001-11-13 Zack Weinberg <zack@codesourcery.com>
974 * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
975 to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
976 category instead of Ew.
978 2001-11-12 Niraj Gupta <ngupta@zumanetworks.com>
980 * m68k-opc.c: Fix definitions of wddata[bwl].
982 2001-11-09 Richard Sandiford <rsandifo@redhat.com>
984 * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to
985 fit in the buffer, try to match the empty keyword.
987 2001-11-09 Nick Clifton <nickc@cambridge.redhat.com>
989 * cgen-ibld.in (extract_1): Fix badly placed #if 0.
990 * fr30-ibld.c: Regenerate.
991 * m32r-ibld.c: Regenerate.
992 * openrisc-ibld.c: Regenerate.
994 2001-11-04 Chris Demetriou <cgd@broadcom.com>
996 * mips-dis.c (print_insn_mips): Remove spaces at end of line.
998 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1000 * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr".
1001 * configure: Regernate.
1002 * po/fr.po: New file.
1003 * po/sv.po: New file.
1004 * po/tr.po: New file.
1006 2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1008 * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
1011 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1013 * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate
1015 * Makefile.in: Regenerate.
1016 * mmix-dis.c, mmix-opc.c: New files.
1018 2001-10-29 Kazu Hirata <kazu@hxi.com>
1020 * d30v-dis.c: Fix a comment typo.
1022 2001-10-23 Chris Demetriou <cgd@broadcom.com>
1024 * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
1025 "bltzall" as writing GPR 31 (since they do).
1027 * mips-dis.c (print_insn_arg): Calculate info->target
1029 (print_insn_mips): Fill in instruction info.
1030 (print_mips16_insn_arg): Remove unneded variable 'val'.
1031 Removed duplicated instruction target calculations,
1032 calculate once and print that result. Use same idiom for
1033 masking the jump segment bits as is used in print_insn_arg.
1035 2001-10-20 Alan Modra <amodra@bigpond.net.au>
1037 * ppc-opc.c (CT): Make it an optional operand.
1039 2001-10-17 Chris Demetriou <cgd@broadcom.com>
1041 * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
1042 SB-1 binaries include instructions specific to the SB-1.
1043 * mips-opc.c (SB1): New definition.
1044 (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
1045 "recip.ps", "rsqrt.ps", and "sqrt.ps".
1047 2001-10-17 matthew green <mrg@redhat.com>
1049 * ppc-opc.c (STRM): New AltiVec operand.
1050 (XDSS): New AltiVec instruction form.
1051 (mtvscr): Correct operand list.
1052 (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
1054 2001-10-17 Alan Modra <amodra@bigpond.net.au>
1056 * po/POTFILES.in: Regenerate.
1058 2001-10-13 matthew green <mrg@redhat.com>
1060 * ppc-opc.c (MO): New macro for MO field of mbar instruction.
1061 (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr,
1062 mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
1064 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
1066 * cgen-ibld.in: Include safe-ctype.h in preference to
1068 * cgen-asm.in: Include safe-ctype.h in preference to
1069 ctype.h. Fix formatting. Use ISSPACE instead of isspace and
1070 TOLOWER instead of tolower.
1071 (@arch@_cgen_build_insn_regex): Remove duplication of syntax
1072 string elements in constructed regular expression.
1073 * fr30-asm.c: Regenerate.
1074 * fr30-desc.c: Regenerate.
1075 * fr30-ibld.c: Regenerate.
1076 * m32r-asm.c: Regenerate.
1077 * m32r-desc.c: Regenerate.
1078 * m32r-ibld.c: Regenerate.
1079 * openrisc-asm.c: Regenerate.
1080 * openrisc-desc.c: Regenerate.
1081 * openrisc-ibld.c: Regenerate.
1082 * po/opcodes.pot: Regenerate.
1084 2001-10-12 matthew green <mrg@redhat.com>
1086 * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
1087 instruction field instruction/extraction functions for new BookE
1088 DE form instructions.
1089 (CT): New macro for CT field in an X form instruction.
1090 (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
1092 (PPC64): Don't include PPC_OPCODE_PPC.
1093 (403): New opcode macro for PPC403 processors.
1094 (BOOKE): New opcode macro for BookE processors.
1095 (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
1096 (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
1097 (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
1098 (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
1099 (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
1100 (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
1101 (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
1102 (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
1103 (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
1104 (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
1105 (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
1106 (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
1107 (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
1108 (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.
1110 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
1111 for a disassembler option of `booke', `booke32' or `booke64' to enable
1112 BookE support in the disassembler.
1114 2001-10-12 John Healy <jhealy@redhat.com>
1116 * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
1117 for the length when extracting the base part of the insn.
1119 2001-10-09 Bruno Haible <haible@clisp.cons.org>
1121 * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive
1122 regular expression. Fix some formatting problems.
1123 * fr30-asm.c: Regenerate.
1124 * openrisc-asm.c: Regenerate.
1125 * m32r-asm.c: Regenerate.
1127 2001-10-09 Christian Groessler <cpg@aladdin.de>
1129 * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly
1130 of indirect register memory accesses to be same format the
1133 2001-10-09 Nick Clifton <nickc@cambridge.redhat.com>
1135 * sh-opc.h: Fix encoding of least significant nibble of the
1136 DSP single data transfer instructions.
1138 * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP
1141 2001-10-08 Nick Clifton <nickc@cambridge.redhat.com>
1143 * cgen-asm.in: Fix compile time warning messages in generated
1145 * cgen-dis.in: The same.
1146 * cgen-ibld.in: The same.
1147 * fr30-asm.c: Regenerate.
1148 * fr30-desc.c: Regenerate.
1149 * fr30-dis.c: Regenerate.
1150 * fr30-ibld.c: Regenerate.
1151 * fr30-opc.c: Regenerate.
1152 * m32r-asm.c: Regenerate.
1153 * m32r-desc.c: Regenerate.
1154 * m32r-dis.c: Regenerate.
1155 * m32r-ibld.c: Regenerate.
1156 * m32r-opc.c: Regenerate.
1157 * m32r-opinst.c Regenerate.
1158 * openrisc-asm.c: Regenerate.
1159 * openrisc-desc.c: Regenerate.
1160 * openrisc-dis.c: Regenerate.
1161 * openrisc-ibld.c: Regenerate.
1162 * openrisc-opc.c: Regenerate.
1163 * openrisc-opc.h: Regenerate.
1164 * Makefile.in: Regenerate.
1165 * po/POTFILES.in: Regenerate.
1166 * po/opcodes.pot: Regenerate.
1168 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
1170 * arm-opc.h (arm_opcodes): Add cirrus insns.
1172 * arm-dis.c (print_insn_arm): Add 'I' case.
1174 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1176 * po/POTFILES.in: Regenerate.
1177 * configure: Regenerate.
1179 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1181 * Makefile.am (Makefile): Depend on bfd/configure.in.
1183 * Makefile.in: Regenerate.
1185 2001-09-30 John Healy <jhealy@redhat.com>
1187 * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits
1188 calls to cgen_get_insn_value and cgen_put_insn_value calls.
1189 (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call.
1191 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1193 * Makefile.am: Update dependencies with "make dep-am".
1194 * Makefile.in: Regenerate.
1196 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1198 * arc-dis.c: Formatting fixes.
1199 (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1201 2001-09-21 Bruno Haible <haible@clisp.cons.org>
1203 * arc-dis.c: Don't include <ctype.h>.
1204 * openrisc-desc.c: Likewise.
1205 * openrisc-ibld.c: Likewise.
1207 2001-09-20 Nick Clifton <nickc@cambridge.redhat.com>
1209 * fr30-opc.c: Fix compile time warning messages.
1210 * i370-opc.c: Fix compile time warning messages.
1211 * i960-dis.c: Fix compile time warning messages.
1212 * m32r-asm.c: Fix compile time warning messages.
1213 * m32r-desc.c: Fix compile time warning messages.
1214 * m32r-dis.c: Fix compile time warning messages.
1215 * m32r-ibld.c: Fix compile time warning messages.
1216 * m32r-opc.c: Fix compile time warning messages.
1217 * m32r-opinst.c: Fix compile time warning messages.
1218 * ns32k-dis.c: Fix compile time warning messages.
1219 * openrisc-asm.c: Fix compile time warning messages.
1220 * openrisc-desc.c: Fix compile time warning messages.
1221 * openrisc-dis.c: Fix compile time warning messages.
1222 * openrisc-ibld.c: Fix compile time warning messages.
1223 * openrisc-opc.c: Fix compile time warning messages.
1224 * pdp11-dis.c: Fix compile time warning messages.
1225 * tic54x-dis.c: Fix compile time warning messages.
1226 * v850-opc.c: Fix compile time warning messages.
1227 * vax-dis.c: Fix compile time warning messages.
1228 * w65-opc.h: Fix compile time warning messages.
1229 * z8k-opc.h: Fix compile time warning messages.
1230 * z8kgen.c: Fix compile time warning messages.
1232 2001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
1234 * arm-dis.c: Fix compile time warning messages.
1235 * cgen-asm.c: Fix compile time warning messages.
1236 * cgen-dis.c: Fix compile time warning messages.
1237 * cris-dis.c: Fix compile time warning messages.
1238 * d10v-dis.c: Fix compile time warning messages.
1239 * fr30-asm.c: Fix compile time warning messages.
1240 * fr30-desc.c: Fix compile time warning messages.
1241 * fr30-dis.c: Fix compile time warning messages.
1242 * fr30-ibld.c: Fix compile time warning messages.
1244 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1246 * cgen-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1247 (cgen_parse_keyword): Use ISALNUM instead of isalnum.
1248 * cgen-opc.c: Include "safe-ctype.h" instead of <ctype.h>.
1249 (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of
1251 (cgen_keyword_add): Use ISALNUM instead of isalnum.
1252 (hash_keyword_name): Use TOLOWER instead of tolower.
1253 * fr30-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1254 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
1256 (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace.
1257 * fr30-desc.c: Don't include <ctype.h>.
1258 * fr30-ibld.c: Likewise.
1259 * ia64-gen.c: Include "safe-ctype.h" instead of <ctype.h>.
1260 (load_insn_classes, parse_resource_users, load_depfile): Use
1261 ISSPACE instead of isspace.
1262 * m32r-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1263 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
1265 (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace.
1266 * m32r-desc.c: Don't include <ctype.h>.
1267 * m32r-ibld.c: Likewise.
1268 * openrisc-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1269 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
1271 (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace.
1273 2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
1275 * Makefile.am: Add rules and dependencies to create the s/390 opcode
1276 table out of s390-opc.txt automatically.
1277 * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used.
1278 * s390-mkopc.c (dumpTable): Change output to create a complete file.
1279 * s390-opc.c: New improved opcode format macros and remove the
1280 pregenerated opcode table.
1281 * s390-opc.txt: Adapt to new improved opcode format macros.
1283 2001-09-14 David Schleef <ds@schleef.org>
1285 * ppc-opc.c (VXA, VXA_MASK): Fix mask bits.
1287 2001-09-04 Alan Modra <amodra@bigpond.net.au>
1289 * i386-dis.c (grps): Don't print the implicit al/ax/eax register
1290 for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
1292 2001-08-31 Eric Christopher <echristo@redhat.com>
1293 Jason Eckhardt <jle@redhat.com>
1295 * mips-dis.c: Add support for bfd_mach_mipsisa32 and
1296 bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
1299 2001-08-31 Andreas Jaeger <aj@suse.de>
1301 * tic54x-opc.c: Add default initializers to avoid warnings.
1303 * arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
1304 * arc-ext.c: Likewise.
1306 2001-08-28 matthew green <mrg@redhat.com>
1308 * ppc-opc.c (icbt): Order correctly.
1310 2001-08-27 David Edelsohn <dje@watson.ibm.com>
1311 Torbjorn Granlund <tege@swox.com>
1313 * ppc-opc.c (DS): Add PPC_OPERAND_DS flag.
1315 (insert_ds): Complain if not a multiple of 4.
1317 (XSYNC_MASK): Define.
1318 (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev",
1319 "slbmfee". Modify "sync" to use XSYNC_MASK and LS.
1321 2001-08-26 Andreas Jaeger <aj@suse.de>
1323 * h8500-opc.h: Add default initializers to h8500_table to shut up
1326 2001-08-25 Andreas Jaeger <aj@suse.de>
1328 * tic54x-dis.c: Add unused attributes where needed.
1330 * z8k-dis.c (output_instr): Add unused attribute.
1332 * h8300-dis.c: Add missing prototypes.
1333 (bfd_h8_disassemble): Make static.
1335 * cris-dis.c: Add missing prototype.
1336 * h8500-dis.c: Likewise.
1337 * m68hc11-dis.c: Likewise.
1338 * pj-dis.c: Likewise.
1339 * tic54x-dis.c: Likewise.
1340 * v850-dis.c: Likewise.
1341 * vax-dis.c: Likewise.
1342 * w65-dis.c: Likewise.
1343 * z8k-dis.c: Likewise.
1345 * d10v-dis.c: Add missing prototype.
1346 (dis_long): Remove unused variable.
1347 (dis_2_short): Likewise.
1349 * sh-dis.c: Add missing prototypes.
1350 * v850-opc.c: Likewise.
1351 Add unused attributes where needed.
1353 * ns32k-dis.c: Add missing prototypes.
1354 (bit_extract_simple): Remove unused variable.
1356 2001-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1358 * opcodes/s390-opc.c: Add "low or high" and "not low or high"
1359 branch instructions for gcc 3.0.
1360 * opcodes/s390-opc.txt: Likewise.
1362 2001-08-21 Andreas Jaeger <aj@suse.de>
1364 * i960-dis.c: Add parameters for prototypes
1365 (ctrl): Add unused attributes.
1367 (put_abs): Likewise.
1369 * mips-dis.c: Add missing prototypes.
1370 * a29k-dis.c: Likewise.
1371 * arc-dis.c: Likewise.
1372 * ia64-opc.c: Likewise.
1374 * s390-dis.c: Add missing prototypes.
1375 (init_disasm): Remove unused attribute since the parameter is
1378 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1380 * mips-opc.c (M1): Define. Reformatted Code.
1381 (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps,
1384 2001-08-16 Jonathan Larmour <jlarmour@redhat.com>
1386 * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
1387 the corresponding non-likely insn is in MIPS I.
1389 2001-08-13 Kazu Hirata <kazu@hxi.com>
1391 * mcore-dis.c: Fix formatting.
1392 * mips-dis.c: Likewise.
1393 * pj-dis.c: Likewise.
1394 * z8k-dis.c: Likewise.
1396 2001-08-12 Richard Henderson <rth@redhat.com>
1398 * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
1399 to *VALUEP. Regenerate all cgen files.
1401 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
1403 * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
1405 * mips-opc.c (G6): Undefine.
1406 (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro
1407 as the first "move" alternative.
1409 2001-08-10 Andreas Jaeger <aj@suse.de>
1411 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1413 * configure: Regenerate.
1415 2001-08-10 Alan Modra <amodra@bigpond.net.au>
1417 * ppc-opc.c: Revert 2001-08-08.
1419 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1421 * dis-buf.c (generic_strcat_address): Add missing prototype.
1422 #if 0 the functions as it is unused.
1424 2001-08-08 Alan Modra <amodra@bigpond.net.au>
1426 1999-10-25 Torbjorn Granlund <tege@swox.com>
1427 * ppc-opc.c: Include "bfd.h".
1428 (powerpc_operands): Add new field for reloc type.
1430 2001-07-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1432 * mips-dis.c (print_insn_arg): Don't use software integer registers
1433 for coprocessor registers.
1434 (get_mips_isa): Removed.
1435 (is_newabi): New function, checks if NewABI is used.
1436 (_print_insn_mips): Get distinction between old ABI and new ABI right.
1438 2001-08-01 Christian Groessler <cpg@aladdin.de>
1440 * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to
1441 get stderr definition.
1442 (internal, gas): Removed warnings.
1443 (gas): Create a correct final entry for created array.
1444 * z8k-opc.h: Recreated with new z8kgen.
1446 2001-07-28 Kazu Hirata <kazu@hxi.com>
1448 * i386-dis.c: Fix formatting.
1450 2001-07-28 Matthias Kramm <kramm@quiss.org>
1452 * i386-dis.c: Change formatting conventions for architecture
1453 i386:intel to better match the format of various intel i386
1454 assemblers, like nasm, tasm or masm.
1456 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1458 * Makefile.am: Update dependencies with "make dep-am".
1459 * Makefile.in: Regenerate
1461 2001-07-24 Kazu Hirata <kazu@hxi.com>
1463 * alpha-dis.c: Fix formatting.
1464 * cris-dis.c: Likewise.
1465 * d10v-dis.c: Likewise.
1466 * d30v-dis.c: Likewise.
1467 * m10300-dis.c: Likewise.
1468 * tic54x-dis.c: Likewise.
1470 2001-07-23 Kazu Hirata <kazu@hxi.com>
1472 * m68k-dis.c: Fix formatting.
1473 * pj-dis.c: Likewise.
1474 * s390-dis.c: Likewise.
1475 * z8k-dis.c: Likewise.
1477 2001-07-21 Chris Demetriou <cgd@broadcom.com>
1479 * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
1480 into the rest of the surrounding definitions.
1482 2001-07-18 Alan Modra <amodra@bigpond.net.au>
1484 * i386-dis.c (grps): Print l or w suffix, and require mem modrm
1485 for lgdt, lidt, sgdt, sidt.
1487 2001-07-13 Philip Blundell <philb@gnu.org>
1489 * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
1491 2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
1493 * cgen-asm.in: Include "xregex.h" always to enable the libiberty
1495 (@arch@_cgen_build_insn_regex): New routine from Graydon.
1496 (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
1497 to verify if it is worth parsing the insn as insn "x". Also update
1498 error message when insn is not a recognized format of the insn vs
1499 when the insn is completely unrecognized.
1501 2001-07-11 Frank Ch. Eigler <fche@redhat.com>
1503 * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
1505 * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
1506 non-zero CGEN_CPU_DESC->insn_chunk_bitsize.
1508 2001-07-09 Andreas Jaeger <aj@suse.de>, Karsten Keil <kkeil@suse.de>
1510 * i386-dis.c (set_op): Handle 64 bit and 32 bit mode.
1511 (OP_J): Use bfd_vma for mask to work properly with 64 bits.
1512 (op_address,op_riprel): Use bfd_vma to handle 64 bits.
1514 2001-07-05 Ben Elliston <bje@redhat.com>
1516 * Makefile.am (CPUDIR): Define.
1517 (stamp-m32r): Update dependencies.
1518 (stamp-fr30): Ditto.
1519 (stamp-openrisc): Ditto.
1520 * Makefile.in: Regenerate.
1522 2001-07-03 Zoltan Hidvegi <hzoli@hzoli.2y.net>
1524 * ppc-opc.c: Fix encoding of 'clf' instruction.
1526 2001-06-30 Geoffrey Keating <geoffk@redhat.com>
1528 * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
1530 2001-06-28 Geoffrey Keating <geoffk@redhat.com>
1532 * cgen-asm.c (cgen_parse_keyword): Allow any first character.
1533 * cgen-opc.c (cgen_keyword_add): Ignore special first
1534 character when building nonalpha_chars field.
1536 2001-06-24 Ben Elliston <bje@redhat.com>
1538 * m88k-dis.c: Format to conform to GNU coding standards.
1540 2001-06-23 Andreas Jaeger <aj@suse.de>
1542 * disassemble.c (disassembler_usage): Add unused attribute.
1544 2001-06-22 Eric Christopher <echristo@redhat.com>
1546 * mips-opc.c: Move prefx to start of the table.
1548 2001-06-22 Stacey Sheldon <ssheldon@Catena.com>
1550 * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST
1553 2001-06-22 Pauli <pauli@moreton.com.au>
1555 * m68k-opc.c: Add wdebug instruction.
1557 2001-06-15 Aldy Hernandez <aldyh@redhat.com>
1559 * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.
1561 2001-06-14 Geoffrey Keating <geoffk@redhat.com>
1563 * cgen-asm.c (cgen_parse_keyword): When looking for the
1564 boundaries of a keyword, allow any special characters
1565 that are actually in one of the allowed keyword.
1566 * cgen-opc.c (cgen_keyword_add): Add any special characters
1567 to the nonalpha_chars field.
1569 2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
1571 * s390-opc.c: Add lgh instruction.
1572 * s390-opc.txt: Likewise.
1574 2001-06-11 Alan Modra <amodra@bigpond.net.au>
1576 * i386-dis.c: Group function prototypes in one place.
1577 (FLOATCODE): Redefine as 1.
1578 (USE_GROUPS): Redefine as 2.
1579 (USE_PREFIX_USER_TABLE): Redefine as 3.
1580 (X86_64_SPECIAL): Define as 4.
1581 (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2.
1582 (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE.
1583 (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete.
1584 (dis386): New table combining above four tables.
1585 (dis386_twobyte_att, dis386_twobyte_intel): Delete.
1586 (dis386_twobyte): New table combining above two tables.
1587 (x86_64_table): New table to handle x86_64.
1589 (float_mem_att, float_mem_intel): Delet.
1590 (float_mem): New table combining above two tables.
1591 (print_insn_i386): Modify for above.
1592 (dofloat): Likewise.
1593 (putop): Handle '{', '|' and '}' to select alternative mnemonics.
1594 Return 0 on success, 1 if no valid alternative.
1595 (putop <case 'F'>, <case 'H'>): Print nothing for intel_syntax.
1596 (putop <case 'T'>): Move to case 'U', and share case 'Q' code.
1597 (putop <case 'I'>): Move to case 'T', and share case 'P' code.
1598 (OP_REG <case rAX_reg .. rDI_reg>): Handle as for eAX_reg .. eDI_reg
1600 (OP_I <case q_mode>): Handle as for v_mode if not 64-bit mode.
1601 (OP_I64): If not 64-bit mode, call OP_I.
1602 OP_OFF64): If not 64-bit mode, call OP_OFF.
1603 (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename
1604 'ignore'/'ignored' to 'bytemode'.
1606 2001-06-10 Alan Modra <amodra@bigpond.net.au>
1608 * configure.in: Sort 'ta' case statement.
1609 * configure: Regenerate.
1611 * i386-dis.c (dis386_att): Add 'H' to conditional branch and
1613 (disx86_64_att): Likewise.
1614 (dis386_twobyte_att): Likewise.
1615 (print_insn_i386): Don't print branch hints as a prefix.
1616 (putop): 'H' macro prints branch hints.
1617 (get64): Kill compile warnings.
1619 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1621 * sh-opc.h (sh_table): Don't use empty initializers.
1623 2001-06-06 Christian Groessler <cpg@aladdin.de>
1625 * z8k-dis.c: Fix formatting.
1626 (unpack_instr): Remove unused cases in switch statement. Add
1627 safety abort() in default case.
1628 (unparse_instr): Add safety abort() in default case.
1630 2001-06-06 Peter Jakubek <pjak@snafu.de>
1632 * m68k-dis.c (print_insn_m68k): Fix typo.
1633 * m68k-opc.c (m68k_opcodes): Correct allowed operands for
1634 mcf (ColdFire) div, rem and moveb instructions.
1636 2001-06-06 Alan Modra <amodra@bigpond.net.au>
1638 * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
1639 (cond_jump_mode, loop_jcxz_mode): Define.
1640 (dis386_att): Add cond_jump_flag and loop_jcxz_flag as
1641 appropriate, and 'F' suffix to loop insns.
1642 (disx86_64_att): Likewise.
1643 (dis386_twobyte_att): Likewise.
1644 (print_insn_i386): Don't output addr prefix for loop, jcxz insns.
1645 Output data size prefix for long conditional jumps. Output cs and
1647 (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
1648 (OP_J): Don't make PREFIX_DATA used.
1650 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
1652 * sh-opc.h (sh_table): Complete last element entry to avoid
1655 2001-05-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1657 * mips-dis.c (mips_isa_type): Add MIPS r12k support.
1659 2001-05-23 Alan Modra <amodra@one.net.au>
1661 * arc-opc.c: Whitespace changes.
1663 2001-05-18 Hans-Peter Nilsson <hp@axis.com>
1665 * cris-opc.c (cris_spec_regs): Add missing initializer field for
1668 2001-05-15 Frank Ch. Eigler <fche@redhat.com>
1670 * cgen-dis.in (extract_normal): Complete support for min<base case.
1672 2001-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1674 * mips-dis.c (INSNLEN): Rename MAXLEN.
1675 (std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
1676 (print_insn_arg): Remove $ prefix of register names.
1677 (set_mips_isa_type): Remove.
1678 (mips_isa_type): New function.
1679 (get_mips_isa): New Function.
1680 (print_insn_mips): Rename _print_insn_mips.
1681 (_print_insn_mips): New function, contains code which was
1682 duplicated in print_insn_big_mips and print_insn_little_mips.
1683 (print_insn_big_mips): Moved code to _print_insn_mips.
1684 (print_insn_little_mips): Likewise.
1685 (print_mips16_insn_arg): Remove $ prefix of register names.
1686 Print error message before abort.
1688 2001-05-14 J.T. Conklin <jtc@redback.com>
1690 * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
1691 simplified mnemonics used for setting PPC750-specific special
1694 2001-05-12 H.J. Lu <hjl@gnu.org>
1696 * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
1699 2001-05-12 Peter Targett <peter.targett@arccores.com>
1701 * arc-opc.c (arc_reg_names): Correct attribute for lp_count
1702 register to r/w. Formatting fixes throughout file.
1704 2001-05-12 Alan Modra <amodra@one.net.au>
1706 * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
1708 (twobyte_has_modrm): Update table.
1709 (need_modrm): Give it file scope.
1710 (MODRM_CHECK): Define.
1711 (dofloat): Use MODRM_CHECK.
1716 2001-05-07 Frank Ch. Eigler <fche@redhat.com>
1718 * cgen-dis.in (default_print_insn): Tolerate min<base instructions
1719 even at end of a section.
1720 * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
1721 by ignoring precariously-unpacked insn_value in favor of raw buffer.
1723 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1725 * disassemble.c (disassembler_usage): Remove unused attribute.
1727 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
1729 * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
1731 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
1733 * cgen-dis.in (print_insn): Remove call to read_insn. Instead,
1734 assume incoming buffer already has the base insn loaded. Handle
1735 smaller-than-base instructions for variable-length case.
1737 2001-05-04 Alan Modra <amodra@one.net.au>
1739 * i386-dis.c (Ev, Ed): Remove duplicate define.
1742 (OP_XS): New function.
1743 (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and
1745 (dis386_twobyte_intel): Likewise.
1746 (prefix_user_table): Use MS for maskmovq operand.
1748 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
1750 * Makefile.am: Add OpenRISC target.
1751 * Makefile.in: Regenerated.
1753 * disassemble.c (disassembler): Recognize the OpenRISC disassembly.
1755 * configure.in (bfd_openrisc_arch): Add target.
1756 * configure: Regenerated.
1758 * openrisc-asm.c: New file.
1759 * openrisc-desc.c: Likewise.
1760 * openrisc-desc.h: Likewise.
1761 * openrisc-dis.c: Likewise.
1762 * openrisc-ibld.c: Likewise.
1763 * openrisc-opc.c: Likewise.
1764 * openrisc-opc.h: Likewise.
1766 2001-04-24 Christian Groessler <cpg@aladdin.de>
1768 * z8k-dis.c: add names of control registers (ctrl_names);
1769 (seg_length): provides instruction length fixup for segmented
1770 mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12,
1771 CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases;
1772 (unparse_intr): handle CLASS_PR, print addresses without '#'
1773 * z8k-opc.h: re-created with new z8kgen
1774 * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new
1775 entries for ldctl/ldctlb instruction
1777 2001-04-06 Andreas Jaeger <aj@suse.de>
1779 * i386-dis.c: Add ffreep instruction.
1781 2001-03-30 Alexandre Oliva <aoliva@redhat.com>
1783 * ppc-opc.c (insert_mbe): Shift mask initializer as long.
1785 2001-03-24 Alan Modra <alan@linuxcare.com.au>
1787 * i386-dis.c (PREGRP25): Define.
1788 (dis386_twobyte_att): Use here in place of "movntq" entry.
1789 (dis386_twobyte_intel): Likewise.
1790 (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq".
1792 (dis386_twobyte_att): Use here.
1793 (dis386_twobyte_intel): Likewise.
1794 (prefix_user_table): Add PREGRP26 entry for "punpcklqdq".
1795 (prefix_user_table <maskmovdqu>): XM operand, not MX.
1796 (prefix_user_table): Cosmetic changes to "bad" entries.
1798 2001-03-23 Nick Clifton <nickc@redhat.com>
1800 * mips-opc.c: Remove extraneous whitespace.
1801 * mips-dis.c: Remove extraneous whitespace.
1803 2001-03-22 Ben Elliston <bje@redhat.com>
1805 * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
1806 declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
1807 * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
1808 to allay a compiler warning.
1810 2001-03-22 Alan Modra <alan@linuxcare.com.au>
1812 * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq.
1813 (dis386_twobyte_intel): Likewise.
1814 (twobyte_has_modrm): Set entry for paddq, psubq.
1816 2001-03-20 Patrick Macdonald <patrickm@redhat.com>
1818 * cgen-dis.in (print_insn_@arch@): Add support for target machine
1819 determination via CGEN_COMPUTE_MACH.
1820 * fr30-desc.c: Regenerate.
1821 * fr30-dis.c: Regenerate.
1822 * fr30-opc.h: Regenerate.
1823 * m32r-desc.c: Regenerate.
1824 * m32r-dis.c: Regenerate.
1825 * m32r-opc.h: Regenerate.
1826 * m32r-opinst.c: Regenerate.
1828 2001-03-20 H.J. Lu <hjl@gnu.org>
1830 * configure.in: Remove the redundent AC_ARG_PROGRAM.
1831 * configure: Rebuild.
1833 2001-03-19 Jim Wilson <wilson@redhat.com>
1835 * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
1836 notestr if larger than xsect.
1837 (in_class): Handle format M5.
1838 * ia64-asmtab.c: Regnerate.
1840 2001-03-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
1842 * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer
1843 has more than one byte left to read.
1845 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1847 * s390-opc.c: Add new opcodes. Smooth out formatting.
1848 * s390-opc.txt: Add new opcodes.
1850 2001-03-06 Nick Clifton <nickc@redhat.com>
1852 * arm-dis.c (print_insn_thumb): Compute destination address
1853 of BLX(1) instruction by taking bit 1 from PC and not from bit
1856 2001-03-06 Igor Shevlyakov <igor@windriver.com>
1858 * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs
1859 so command line switches will work.
1861 2001-03-05 Dave Brolley <brolley@redhat.com>
1863 * fr30-asm.c: Regenerate.
1864 * fr30-desc.c: Regenerate.
1865 * fr30-desc.h: Regenerate.
1866 * fr30-dis.c: Regenerate.
1867 * fr30-ibld.c: Regenerate.
1868 * fr30-opc.c: Regenerate.
1869 * fr30-opc.h: Regenerate.
1870 * m32r-asm.c: Regenerate.
1871 * m32r-desc.c: Regenerate.
1872 * m32r-desc.h: Regenerate.
1873 * m32r-dis.c: Regenerate.
1874 * m32r-ibld.c: Regenerate.
1875 * m32r-opc.c: Regenerate.
1876 * m32r-opc.h: Regenerate.
1877 * m32r-opinst.c: Regenerate.
1879 2001-02-28 Igor Shevlyakov <igor@windriver.com>
1881 * m68k-opc.c: fix cpushl according to Motorola. Enable
1882 bunch of instructions for Coldfire 5407 and add all new.
1884 2001-02-27 Alan Modra <alan@linuxcare.com.au>
1886 * configure.in (BFD_VERSION): Do without grep.
1887 * configure: Regenerate.
1888 * Makefile.am: Run "make dep-am".
1889 * Makefile.in: Regenerate.
1891 2001-02-23 David Mosberger <davidm@hpl.hp.com>
1893 * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
1894 * ia64-asmtab.c: Regenerate.
1896 2001-02-21 David Mosberger <davidm@hpl.hp.com>
1898 * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
1899 separate variants: one for IMM22 and the other for IMM14.
1900 * ia64-asmtab.c: Regenerate.
1902 2001-02-21 Greg McGary <greg@mcgary.org>
1904 * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
1906 2001-02-20 H.J. Lu <hjl@gnu.org>
1908 * Makefile.am (ia64-ic.tbl): Remove the target.
1909 (ia64-raw.tbl): Likewise.
1910 (ia64-waw.tbl): Likewise.
1911 (ia64-war.tbl): Likewise.
1912 (ia64-asmtab.c): Generate it in the source directory.
1913 * Makefile.in: Regenerated.
1915 2001-02-18 lars brinkhoff <lars@nocrew.org>
1917 * Makefile.am: Add PDP-11 target.
1918 * configure.in: Likewise.
1919 * disassemble.c: Likewise.
1920 * pdp11-dis.c: New file.
1921 * pdp11-opc.c: New file.
1923 2001-02-14 Jim Wilson <wilson@redhat.com>
1925 * ia64-ic.tbl: Update from Intel. Add setf to fr-writers.
1926 * ia64-asmtab.c: Regenerate.
1928 2001-02-12 Jan Hubicka <jh@suse.cz>
1930 * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
1934 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1936 * mips-dis.c (print_insn_arg): Use top four bits of the address of
1937 the following instruction not of the jump itself for the jump
1939 (print_mips16_insn_arg): Likewise.
1941 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1943 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
1945 * Makefile.in: Regenerate.
1947 2001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
1949 * Makefile.am: Add linux target for S/390.
1950 * Makefile.in: Likewise.
1951 * configure.in: Likewise.
1952 * disassemble.c: Likewise.
1953 * s390-dis.c: New file.
1954 * s390-mkopc.c: New file.
1955 * s390-opc.c: New file.
1956 * s390-opc.txt: New file.
1958 2001-02-05 Jim Wilson <wilson@redhat.com>
1960 * ia64-asmtab.c: Revert 2000-12-16 change.
1962 2001-02-02 Patrick Macdonald <patrickm@redhat.com>
1964 * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
1965 * m32r-desc.h: Regenerate.
1967 2001-02-01 Jan Hubicka <jh@suse.cz>
1969 * i386-dis.c (dis386_att, grps): Use 'T' for push/pop
1970 (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
1972 2001-01-14 Alan Modra <alan@linuxcare.com.au>
1974 * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types.
1976 2001-01-13 Nick Clifton <nickc@redhat.com>
1978 * disassemble.c: Remove spurious white space.
1980 2001-01-13 Jan Hubicka <jh@suse.cz>
1982 * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
1985 2001-01-11 Peter Targett <peter.targett@arccores.com>
1987 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
1988 * Makefile.am (C_FILES): Add arc-ext.c.
1989 (ALL_MACHINES) Add arc-ext.lo.
1990 (INCLUDES) Add opcode directory to list.
1991 New dependency entry for arc-ext.lo.
1992 * disassemble.c (disassembler): Correct call to
1993 arc_get_disassembler.
1994 * arc-opc.c: New update for ARC, including full base
1995 instructions for ARC variants.
1996 * arc-dis.h, arc-dis.c: New update for ARC, including
1997 extensibility functionality.
1998 * arc-ext.h, arc-ext.c: New files for handling extensibility.
2000 2001-01-10 Jan Hubicka <jh@suse.cz>
2002 * i386-dis.c (PREGRP15 - PREGRP24): New.
2003 (dis386_twobyt): Add SSE2 instructions.
2004 (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
2005 (twobyte_uses_f3_prefix): ... this one.
2006 (grps): Add SSE instructions.
2007 (prefix_user_table): Add two new slots; add SSE2 instructions.
2008 (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
2009 Handle the REPNZ and Data16 prefixes as well; do proper lookup
2010 to prefix_user_table.
2011 (OP_E): Accept mfence and lfence as well.
2012 (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
2013 (OP_XMM): Support REX extensions.
2017 2001-01-09 Nick Clifton <nickc@redhat.com>
2019 * arm-dis.c (print_insn): Set pc to zero for instructions with
2020 a reloc associated with them.
2022 2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
2024 * cgen-asm.in (parse_insn_normal): Changed syn to be
2025 CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn
2026 as character to use CGEN_SYNTAX_CHAR macro and all comparisons
2027 to '\0' to use 0 instead.
2028 * cgen-dis.in (print_insn_normal): Ditto.
2029 * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
2031 2001-01-05 Jan Hubicka <jh@suse.cz>
2033 * i386-dis.c: Add x86_64 support.
2034 (rex): New static variable.
2035 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
2036 (USED_REX): New macro.
2037 (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
2038 (OP_I64, OP_OFF64, OP_IMREG): New functions.
2039 (OP_REG, OP_OFF): Declare.
2040 (get64, get32, get32s): New functions.
2041 (r??_reg): New constants.
2042 (dis386_att): Change templates of instruction implicitly promoted
2043 to 64bit; change e?? to RMe?? for unwind RM byte instructions.
2045 (dis386_intel): Likewise.
2046 (dixx86_64_att): New table based on dis386_att.
2047 (dixx86_64_intel): New table based on dis386_intel.
2048 (names64, names8rex): New global variable.
2049 (names32, names16): Add extended registers.
2050 (prefix_user_t): Recognize rex prefixes.
2051 (prefix_name): Print REX prefixes nicely.
2052 (op_riprel): New global variable.
2053 (start_pc): Set type to bfd_vma.
2054 (print_insn_i386): Detect the 64bit mode and use proper table;
2055 move ckprefix after initializing the buffer; output unused rex prefixes;
2056 output information about target of RIP relative addresses.
2057 (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
2058 (print_operand_value): New function.
2059 (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
2060 REX prefix and new modes.
2061 (get64, get32s): New.
2062 (get32): Return bfd_signed_vma type.
2063 (set_op): Initialize the op_riprel.
2064 * disassemble.c (disassembler): Recognize the x86-64 disassembly.
2066 2001-01-03 Richard Sandiford <r.sandiford@redhat.com>
2068 cgen-dis.in (read_insn): Use bfd_get_bits()
2070 2001-01-02 Richard Sandiford <rsandifo@redhat.com>
2072 * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
2073 (hash_insn_list): Likewise
2074 * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
2075 (extract_1): Use bfd_get_bits().
2076 (extract_normal): Apply sign extension to both extraction
2078 * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
2079 (cgen_put_insn_value): Use bfd_put_bits()
2081 2000-12-28 Frank Ch. Eigler <fche@redhat.com>
2083 * cgen-asm.in (parse_insn_normal): Print better error message for
2084 instructions with missing operands.
2086 2000-12-21 Santeri Paavolainen <santtu@ssh.com>
2088 * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
2090 2000-12-16 Nick Clifton <nickc@redhat.com>
2092 * Makefile.in: Regenerate.
2093 * aclocal.m4: Regenerate.
2094 * config.in: Regenerate.
2095 * configure.in: Add spacing.
2096 * configure: Regenerate.
2097 * ia64-asmtab.c: Regenerate.
2098 * po/opcodes.pot: Regenerate.
2100 2000-12-12 Frank Ch. Eigler <fche@redhat.com>
2102 * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
2103 error messages over later parse-time ones.
2105 2000-12-12 Jim Wilson <wilson@redhat.com>
2107 * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
2109 * ia64-gen.c (insert_deplist): Cast sizeof result to int.
2110 (print_dependency_table): Print NULL if semantics field not set.
2111 (insert_opcode_dependencies): Mark cmp parameter as unused.
2112 (print_main_table): Use fprintf_vma to print long long fields.
2113 (main): Mark argv paramter as unused. Convert to old style definition.
2114 * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
2115 * ia64-asmtab.c: Regnerate.
2117 2000-12-09 Nick Clifton <nickc@redhat.com>
2119 * m32r-dis.c (print_insn): Prevent re-read of instruction from
2122 * fr30-dis.c: Regenerate.
2124 2000-12-08 Peter Targett <peter.targett@arccores.com>
2126 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
2127 * Makefile.am (C_FILES): Add arc-ext.c.
2128 (ALL_MACHINES) Add arc-ext.lo.
2129 (INCLUDES) Add opcode directory to list.
2130 New dependency entry for arc-ext.lo.
2131 * disassemble.c (disassembler): Correct call to
2132 arc_get_disassembler.
2133 * arc-opc.c: New update for ARC, including full base
2134 instructions for ARC variants.
2135 * arc-dis.h, arc-dis.c: New update for ARC, including
2136 extensibility functionality.
2137 * arc-ext.h, arc-ext.c: New files for handling extensibility.
2139 2000-12-03 Chris Demetriou cgd@sibyte.com
2141 * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO,
2142 MOD_HILO, and MOD_LO macros.
2144 * mips-opc.c (M1, M2): Delete.
2145 (mips_builtin_opcodes): Remove all uses of M1.
2147 * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2
2148 instructions take "G" format second operands and use the
2150 There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to
2152 Delete "sel" code operands from mfc1 and mtc1.
2153 Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
2156 2000-12-03 Ed Satterthwaite ehs@sibyte.com and
2157 Chris Demetriou cgd@sibyte.com
2159 * mips-opc.c (mips_builtin_opcodes): Finish additions
2160 for MIPS32 support, and clean up existing entries for
2161 aesthetics, consistency with the MIPS32 ISA, and
2162 with consistency the rest of the table.
2164 2000-12-01 Nick Clifton <nickc@redhat.com>
2166 * mips16-opc.c (mips16_opcodes): Add initialiser for membership
2169 2000-12-01 Chris Demetriou <cgd@sibyte.com>
2171 mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument
2172 specifiers. Update 'B' for new constant names, and remove
2174 mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop"
2175 near the top of the array, so they are disassembled properly.
2176 Enable "ssnop" for MIPS32. Add "break" variant with 20 bit
2177 code for MIPS32. Update "clo" and "clz" to use 'U' operand
2178 specifier. Add 'H' format specifier variants for "mfc1,"
2179 "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update
2180 MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32
2181 "wait" variant which uses 'J' operand specifier.
2183 * mips-dis.c (set_mips_isa_type): Update to use
2184 CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case.
2185 Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
2186 * mips-opc.c (I32): New constant for instructions added in
2189 (mips_builtin_opcodes) Replace all uses of P4 with I32.
2191 * mips-dis.c (set_mips_isa_type): Add cases for
2192 bfd_mach_mips5 and bfd_mach_mips64.
2193 * mips-opc.c (I64): New definitions.
2195 * mips-dis.c (set_mips_isa_type): Add case for
2198 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
2200 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
2201 (print_insn_ppi): Make nib1, nib2, nib3 unsigned.
2202 Initialize variable dc to NULL.
2203 (print_insn_shx): Remove unused label d_reg_n.
2205 2000-11-24 Nick Clifton <nickc@redhat.com>
2207 * arm-opc.h: Add new opcode formatting parameter 'B'.
2208 (arm_opcodes): Add XScale, v5, and v5te instructions.
2209 (thumb_opcodes): Add v5t instructions.
2211 * arm-dis.c (print_insn_arm): Handle new 'B' format
2213 (print_insn_thumb): Decode BLX(1) instruction.
2215 2000-11-21 Chris Demetriou <cgd@sibyte.com>
2217 * mips-opc.c: Fix file header comment.
2219 2000-11-14 Hans-Peter Nilsson <hp@axis.com>
2221 * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
2222 print_insn_cris_with_register_prefix.
2224 2000-11-11 Alexandre Oliva <aoliva@redhat.com>
2226 * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
2228 2000-11-07 Matthew Green <mrg@redhat.com>
2230 * cgen-dis.in (print_insn): All insns which can fit into insn_value
2231 must be loaded there in their entirety.
2233 2000-10-20 Jakub Jelinek <jakub@redhat.com>
2235 * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
2236 (compute_arch_mask): Add v8plusb and v9b machines.
2237 (print_insn_sparc): siam mode decoding, accept ASRs up to 25.
2238 * sparc-opc.c: Support for Cheetah instruction set.
2239 (prefetch_table): Add #invalidate.
2241 2000-10-16 Nick Clifton <nickc@redhat.com>
2243 * mcore-dis.c (imsk): Change mask for OC to 0xFE00.
2245 2000-10-06 Dave Brolley <brolley@redhat.com>
2247 * fr30-desc.h: Regenerate.
2248 * m32r-desc.h: Regenerate.
2249 * m32r-ibld.c: Regenerate.
2251 2000-10-05 Jim Wilson <wilson@redhat.com>
2253 * ia64-ic.tbl: Update from Intel.
2254 * ia64-asmtab.c: Regenerate.
2256 2000-10-04 Kazu Hirata <kazu@hxi.com>
2258 * ia64-gen.c: Convert C++-style comments to C-style comments.
2259 * tic54x-dis.c: Likewise.
2261 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
2263 Changes to add dollar prefix to registers for files where user symbols
2264 don't have a leading underscore. Fix formatting.
2265 * cris-dis.c (REGISTER_PREFIX_CHAR): New.
2266 (format_reg): Add parameter with_reg_prefix. All callers changed.
2267 (print_with_operands): Ditto.
2268 (print_insn_cris_generic): Renamed from print_insn_cris, add
2269 parameter with_reg_prefix.
2270 (print_insn_cris_with_register_prefix,
2271 print_insn_cris_without_register_prefix, cris_get_disassembler):
2273 * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
2275 2000-09-22 Jim Wilson <wilson@redhat.com>
2277 * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
2278 gt, ge, ngt, and nge.
2279 * ia64-asmtab.c: Regenerate.
2281 * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
2282 * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
2283 (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
2284 * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
2285 * ia64-asmtab.c: Regnerate.
2287 2000-09-13 Anders Norlander <anorland@acc.umu.se>
2289 * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
2290 Add mfc0 and mtc0 with sub-selection values.
2291 Add clo and clz opcodes.
2292 Add msub and msubu instructions for MIPS32.
2293 Add madd/maddu aliases for mad/madu for MIPS32.
2294 Support wait, deret, eret, movn, pref for MIPS32.
2295 Support tlbp, tlbr, tlbwi, tlbwr.
2298 * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
2299 (print_insn_arg): Handle 'H' args.
2300 (set_mips_isa_type): Recognize 4K.
2301 Use CPU_* defines instead of hardcoded numbers.
2303 2000-09-11 Catherine Moore <clm@redhat.com>
2305 * d30v-opc.c (d30v_operand_t): New operand type Rb2.
2306 (d30v_format_tab): Use Rb2 for modinc and moddec.
2308 2000-09-07 Catherine Moore <clm@redhat.com>
2310 * d30v-opc.c (d30v_format_tab): Use format Ra for
2313 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2315 * configure: Rebuilt with new libtool.m4.
2317 2000-09-05 Nick Clifton <nickc@redhat.com>
2319 * configure: Regenerate.
2320 * po/opcodes.pot: Regenerate.
2322 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
2324 * acinclude.m4: Include libtool and gettext macros from the
2326 * aclocal.m4, configure: Rebuilt.
2328 2000-08-30 Kazu Hirata <kazu@hxi.com>
2330 * tic80-dis.c: Fix formatting.
2332 2000-08-29 Kazu Hirata <kazu@hxi.com>
2334 * w65-dis.c: Fix formatting.
2336 2000-08-28 Mark Hatle <mhatle@mvista.com>
2338 * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics.
2339 (powerpc_opcodes): Add table entries for PPC 405 instructions.
2340 Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
2341 instructions. Added extended mnemonic mftbl as defined in the
2342 405GP manual for all PPCs.
2344 2000-08-28 Jim Wilson <wilson@redhat.com>
2346 * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
2347 call. Change last goto to use failed instead of done.
2349 2000-08-28 Dave Brolley <brolley@redhat.com>
2351 * cgen-ibld.in (cgen_put_insn_int_value): New function.
2352 (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
2353 (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
2354 (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
2355 * cgen-dis.in (read_insn): New static function.
2356 (print_insn): Use read_insn to read the insn into the buffer and set
2358 (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
2360 * fr30-asm.c: Regenerated.
2361 * fr30-desc.c: Regenerated.
2362 * fr30-desc.h: Regenerated.
2363 * fr30-dis.c: Regenerated.
2364 * fr30-ibld.c: Regenerated.
2365 * fr30-opc.c: Regenerated.
2366 * fr30-opc.h: Regenerated.
2367 * m32r-asm.c: Regenerated.
2368 * m32r-desc.c: Regenerated.
2369 * m32r-desc.h: Regenerated.
2370 * m32r-dis.c: Regenerated.
2371 * m32r-ibld.c: Regenerated.
2372 * m32r-opc.c: Regenerated.
2374 2000-08-28 Kazu Hirata <kazu@hxi.com>
2376 * tic30-dis.c: Fix formatting.
2378 2000-08-27 Kazu Hirata <kazu@hxi.com>
2380 * sh-dis.c: Fix formatting.
2382 2000-08-24 David Edelsohn <dje@watson.ibm.com>
2384 * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
2386 2000-08-24 Kazu Hirata <kazu@hxi.com>
2388 * z8k-dis.c: Fix formatting.
2390 2000-08-16 Jim Wilson <wilson@redhat.com>
2392 * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
2393 break, mov-immediate, nop.
2394 * ia64-opc-f.c: Delete fpsub instructions.
2395 * ia64-opc-m.c: Add POSTINC to all instructions with postincrement
2396 address operand. Rewrite using macros to avoid long lines.
2397 * ia64-opc.h (POSTINC): Define.
2398 * ia64-asmtab.c: Regenerate.
2400 2000-08-15 Jim Wilson <wilson@redhat.com>
2402 * ia64-ic.tbl: Add missing entries.
2404 2000-08-08 Jason Eckhardt <jle@redhat.com>
2406 * i860-dis.c (print_br_address): Change third argument from int
2409 2000-08-07 Richard Henderson <rth@redhat.com>
2411 * ia64-dis.c (print_insn_ia64): Get byte skip count correct
2412 for MLI templates. Handle IA64_OPND_TGT64.
2414 2000-08-04 Ben Elliston <bje@redhat.com>
2416 * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
2417 * cgen.sh: Likewise.
2419 2000-08-02 Jim Wilson <wilson@redhat.com>
2421 * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
2423 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
2425 * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
2426 Change return type from void to int. Check the combination
2427 of operands, return 1 if valid. Fix to avoid BUF overflow.
2428 Report undefined combinations of operands in COMMENT.
2429 Report internal errors to stderr. Output the adiw/sbiw
2430 constant operand in both decimal and hex.
2431 (print_insn_avr): Disassemble ldd/std with displacement of 0
2432 as ld/st. Check avr_operand () return value, handle invalid
2433 combinations of operands like unknown opcodes.
2435 2000-07-28 Ben Elliston <bje@redhat.com>
2437 * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
2438 (run-cgen, stamp-m32r, stamp-fr30): New targets.
2439 * Makefile.in: Regenerate.
2440 * configure.in: Add --enable-cgen-maint option.
2441 * configure: Regenerate.
2443 2000-07-26 Dave Brolley <brolley@redhat.com>
2445 * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
2446 (cgen_hw_lookup_by_num): Ditto.
2447 (cgen_operand_lookup_by_name): Ditto.
2448 (print_address): Ditto.
2449 (print_keyword): Ditto.
2450 * cgen-dis.c (hash_insn_array): Mark unused parameters with
2452 * cgen-asm.c (hash_insn_array): Mark unused parameters with
2454 (cgen_parse_keyword): Ditto.
2456 2000-07-22 Jason Eckhardt <jle@redhat.com>
2458 * i860-dis.c: New file.
2459 (print_insn_i860): New function.
2460 (print_br_address): New function.
2461 (sign_extend): New function.
2462 (BITWISE_OP): New macro.
2463 (I860_REG_PREFIX): New macro.
2464 (grnames, frnames, crnames): New structures.
2466 * disassemble.c (ARCH_i860): Define.
2467 (disassembler): Add check for bfd_arch_i860 to set disassemble
2468 function to print_insn_i860.
2470 * Makefile.in (CFILES): Added i860-dis.c.
2471 (ALL_MACHINES): Added i860-dis.lo.
2472 (i860-dis.lo): New dependences.
2474 * configure.in: New bits for bfd_i860_arch.
2476 * configure: Regenerated.
2478 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
2480 * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
2481 (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
2482 (cris-dis.lo, cris-opc.lo): New rules.
2483 * Makefile.in: Rebuild.
2484 * configure.in (bfd_cris_arch): New target.
2485 * configure: Rebuild.
2486 * disassemble.c (ARCH_cris): Define.
2487 (disassembler): Support ARCH_cris.
2488 * cris-dis.c, cris-opc.c: New files.
2489 * po/POTFILES.in, po/opcodes.pot: Regenerate.
2491 2000-07-11 Jakub Jelinek <jakub@redhat.com>
2493 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
2494 Reported by Bill Clarke <llib@computer.org>.
2496 2000-07-09 Geoffrey Keating <geoffk@redhat.com>
2498 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
2499 Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
2501 2000-07-09 Alan Modra <alan@linuxcare.com.au>
2503 * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg,
2504 fput_const, extract_3, extract_5_load, extract_5_store,
2505 extract_5r_store, extract_5R_store, extract_10U_store,
2506 extract_5Q_store, extract_11, extract_14, extract_16, extract_21,
2507 extract_12, extract_17, extract_22): Prototype.
2508 (print_insn_hppa): Rename inner block opcode -> opc to avoid
2509 shadowing outer block.
2512 2000-07-05 DJ Delorie <dj@redhat.com>
2516 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
2518 * arm-dis.c (print_insn_arm): Output combinations of PSR flags.
2520 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
2522 * avr-dis.c (avr_operand): Change _ () to _() around all strings
2523 marked for translation (exception from the usual coding style).
2524 (print_insn_avr): Initialize insn2 to avoid warnings.
2526 2000-07-03 Kazu Hirata <kazu@hxi.com>
2528 * h8300-dis.c (bfd_h8_disassemble): Improve readability.
2529 * h8500-dis.c: Fix formatting.
2531 2000-07-01 Alan Modra <alan@linuxcare.com.au>
2533 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2534 (CLEANFILES): Add DEPA.
2535 * Makefile.in: Regenerate.
2537 2000-06-26 Scott Bambrough <scottb@netwinder.org>
2539 * arm-dis.c (regnames): Add an additional register set to match
2540 the set used by GCC. Make it the default.
2542 2000-06-22 Alan Modra <alan@linuxcare.com.au>
2544 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2546 * Makefile.in: Regenerate.
2548 2000-06-20 H.J. Lu <hjl@gnu.org>
2550 * Makefile.am: Rebuild dependency.
2551 * Makefile.in: Rebuild.
2553 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2555 * Makefile.in, configure: regenerate
2556 * disassemble.c (disassembler): Recognize ARCH_m68hc12,
2558 * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
2560 * configure.in: Recognize m68hc12 and m68hc11.
2561 * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
2562 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
2563 and opcode generation for m68hc11 and m68hc12.
2565 2000-06-16 Nick Duffek <nsd@redhat.com>
2567 * disassemble.c (disassembler): Refer to the PowerPC 620 using
2568 bfd_mach_ppc_620 instead of 620.
2570 2000-06-12 Kazu Hirata <kazu@hxi.com>
2572 * h8300-dis.c: Fix formatting.
2573 (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
2576 2000-06-09 Denis Chertykov <denisc@overta.ru>
2578 * avr-dis.c (avr_operand): Bugfix for jmp/call address.
2580 2000-06-07 Denis Chertykov <denisc@overta.ru>
2582 * avr-dis.c: completely rewritten.
2584 2000-06-02 Kazu Hirata <kazu@hxi.com>
2586 * h8300-dis.c: Follow the GNU coding style.
2587 (bfd_h8_disassemble) Fix a typo.
2589 2000-06-01 Kazu Hirata <kazu@hxi.com>
2591 * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo.
2592 (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl]
2593 correctly. Fix a typo.
2595 2000-05-31 Nick Clifton <nickc@redhat.com>
2597 * opintl.h (_(String)): Explain why dgettext is used instead of
2600 2000-05-30 Nick Clifton <nickc@redhat.com>
2602 * opintl.h (gettext, dgettext, dcgettext, textdomain,
2603 bindtextdomain): Replace defines with those from intl/libgettext.h
2604 to quieten gcc warnings.
2606 2000-05-26 Alan Modra <alan@linuxcare.com.au>
2608 * Makefile.am: Update dependencies with "make dep-am"
2609 * Makefile.in: Regenerate.
2611 2000-05-25 Alexandre Oliva <aoliva@redhat.com>
2613 * m10300-dis.c (disassemble): Don't assume 32-bit longs when
2614 sign-extending operands.
2616 2000-05-15 Donald Lindsay <dlindsay@redhat.com>
2618 * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches
2621 2000-05-21 Nick Clifton <nickc@redhat.com>
2623 * Makefile.am (LIBIBERTY): Define.
2625 2000-05-19 Diego Novillo <dnovillo@redhat.com>
2627 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
2628 (STD_REGISTER_NAMES): New name for REGISTER_NAMES.
2629 (reg_names): Rename to std_reg_names. Change it to a char **
2631 (std_reg_names): New name for reg_names.
2632 (set_mips_isa_type): Set reg_names to point to std_reg_names by
2635 2000-05-16 Frank Ch. Eigler <fche@redhat.com>
2637 * fr30-desc.h: Partially regenerated to account for changed
2638 CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
2639 * m32r-desc.h: Ditto.
2641 2000-05-15 Nick Clifton <nickc@redhat.com>
2643 * arm-opc.h: Use upper case for flasg in MSR and MRS
2644 instructions. Allow any bit to be set in the field_mask of
2645 the MSR instruction.
2647 * arm-dis.c (print_insn_arm): Decode _x and _s bits of the
2648 field_mask of an MSR instruction.
2650 2000-05-11 Thomas de Lellis <tdel@windriver.com>
2652 * arm-opc.h: Disassembly of thumb ldsb/ldsh
2653 instructions changed to ldrsb/ldrsh.
2655 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
2657 * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit
2658 target addresses for 'jal' and 'j'.
2660 2000-05-10 Geoff Keating <geoffk@redhat.com>
2662 * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
2663 also available in common mode when powerpc syntax is being used.
2665 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2667 * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args.
2668 (dummy_print_address): Ditto.
2670 2000-05-04 Timothy Wall <twall@redhat.com>
2672 * tic54x-opc.c: New.
2673 * tic54x-dis.c: New.
2674 * disassemble.c (disassembler): Add ARCH_tic54x.
2675 * configure.in: Added tic54x target.
2677 * Makefile.am: Add tic54x dependencies.
2678 * Makefile.in: Ditto.
2680 2000-05-03 J.T. Conklin <jtc@redback.com>
2682 * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
2683 vector unit operands.
2684 (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
2685 unit instruction formats.
2686 (PPCVEC): New macro, mask for vector instructions.
2687 (powerpc_operands): Add table entries for above operand types.
2688 (powerpc_opcodes): Add table entries for vector instructions.
2690 * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
2691 (print_insn_little_powerpc): Likewise.
2692 (print_insn_powerpc): Prepend 'v' when printing vector registers.
2694 2000-04-24 Clinton Popetz <cpopetz@redhat.com>
2696 * configure.in: Add bfd_powerpc_64_arch.
2697 * disassemble.c (disassembler): Use print_insn_big_powerpc for
2700 2000-04-24 Nick Clifton <nickc@redhat.com>
2702 * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow
2705 2000-04-23 Denis Chertykov <denisc@overta.ru>
2707 * avr-dis.c (reg_fmul_d): New. Extract destination register from
2709 (reg_fmul_r): New. Extract source register from FMUL instruction.
2710 (reg_muls_d): New. Extract destination register from MULS instruction.
2711 (reg_muls_r): New. Extract source register from MULS instruction.
2712 (reg_movw_d): New. Extract destination register from MOVW instruction.
2713 (reg_movw_r): New. Extract source register from MOVW instruction.
2714 (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
2715 EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
2717 2000-04-22 Timothy Wall <twall@redhat.com>
2719 * ia64-gen.c (general): Add an ordered table of primary
2720 opcode names, as well as priority fields to disassembly data
2721 structures to enforce a preferred disassembly format based on the
2722 ordering of the opcode tables.
2723 (load_insn_classes): Show a useful message if IC tables are missing.
2724 (load_depfile): Ditto.
2725 * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to
2726 distinguish preferred disassembly.
2727 * ia64-opc-f.c: Reorder some insn for preferred disassembly
2728 format. Fix incorrect flag on fma.s/fma.s.s0.
2729 * ia64-opc.c: Scan *all* disassembly matches and use the one with
2730 the highest priority.
2731 * ia64-opc-b.c: Use more abbreviations.
2732 * ia64-asmtab.c: Regenerate.
2734 2000-04-21 Jason Eckhardt <jle@redhat.com>
2736 * hppa-dis.c (extract_16): New function.
2737 (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
2738 new operand types l,y,&,fe,fE,fx.
2740 2000-04-21 Richard Henderson <rth@redhat.com>
2741 David Mosberger <davidm@hpl.hp.com>
2742 Timothy Wall <twall@redhat.com>
2743 Bob Manson <manson@charmed.cygnus.com>
2744 Jim Wilson <wilson@redhat.com>
2746 * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h.
2747 (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c,
2748 ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c,
2750 (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo.
2751 (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen,
2752 ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules.
2753 * Makefile.in: Rebuild.
2754 * configure Rebuild.
2755 * configure.in (bfd_ia64_arch): New target.
2756 * disassemble.c (ARCH_ia64): Define.
2757 (disassembler): Support ARCH_ia64.
2758 * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl,
2759 ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c,
2760 ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl,
2761 ia64-war.tbl, ia64-waw.tbl: New files.
2763 2000-04-20 Alexandre Oliva <aoliva@redhat.com>
2765 * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
2766 (disassemble): Use them.
2768 2000-04-14 Alan Modra <alan@linuxcare.com.au>
2770 * sysdep.h: Include "ansidecl.h" not <ansidecl.h>
2771 * Makefile.am: Update dependencies.
2772 * Makefile.in: Regenerate.
2774 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2776 * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c,
2777 avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c,
2778 disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c,
2779 i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c,
2780 m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c,
2781 mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c,
2782 ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c,
2783 tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c,
2784 w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove
2785 ansidecl.h as sysdep.h includes it.
2787 2000-04-7 Andrew Cagney <cagney@b1.redhat.com>
2789 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2790 --enable-build-warnings option.
2791 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2792 * Makefile.in, configure: Re-generate.
2794 2000-04-05 J"orn Rennecke <amylaar@redhat.com>
2796 * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
2797 stc GBR,@-<REG_N> is available for arch_sh1_up.
2798 Group parallel processing insn with identical mnemonics together.
2799 Make three-operand psha / pshl come first.
2801 2000-04-05 J"orn Rennecke <amylaar@redhat.co.uk>
2803 * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
2804 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
2805 (sh_arg_type): Add A_PC.
2806 (sh_table): Update entries using immediates. Add repeat.
2807 * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
2808 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
2810 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2812 * po/opcodes.pot: Regenerate.
2814 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
2815 (DEP): Quote when passing vars to sub-make. Add warning message
2817 (DEP1): Rewrite for "gcc -MM".
2818 (CLEANFILES): Add DEP2.
2819 Update dependencies.
2820 * Makefile.in: Regenerate.
2822 2000-04-03 Denis Chertykov <denisc@overta.ru>
2824 * avr-dis.c: Syntax cleanup.
2825 (add0fff): Print the pc relative address as a signed number.
2826 (add03f8): Likewise.
2828 2000-04-01 Ian Lance Taylor <ian@zembu.com>
2830 * disassemble.c (disassembler_usage): Don't use a prototype. Mark
2831 the parameter ATTRIBUTE_UNUSED.
2832 * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
2834 2000-04-01 Alexandre Oliva <aoliva@redhat.com>
2836 * m10300-opc.c: SP-based offsets are always unsigned.
2838 2000-03-29 Thomas de Lellis <tdel@windriver.com>
2840 * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal"
2841 [branch always] instead of "undefined".
2843 2000-03-27 Nick Clifton <nickc@redhat.com>
2845 * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of
2846 short instructions, from end of list of long instructions.
2848 2000-03-27 Ian Lance Taylor <ian@zembu.com>
2850 * Makefile.am (CFILES): Add avr-dis.c.
2851 (ALL_MACHINES): Add avr-dis.lo.
2853 2000-03-27 Alan Modra <alan@linuxcare.com>
2855 * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to
2857 (print_insn_avr): Call function via pointer in K&R compatible way.
2858 (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204,
2859 add0fff, add03f8): Convert to old style function declaration and
2861 (avrdis_opcode): Add prototype.
2863 2000-03-27 Denis Chertykov <denisc@overta.ru>
2865 * avr-dis.c: New file. AVR disassembler.
2866 * configure.in (bfd_avr_arch): New architecture support.
2867 * disassemble.c: Likewise.
2868 * configure: Regenerate.
2870 2000-03-06 J"oern Rennecke <amylaar@redhat.com>
2872 * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
2874 2000-03-02 J"orn Rennecke <amylaar@redhat.co.uk>
2876 * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand
2877 flag to determine if operand is pc-relative.
2879 (d30v_format_table):
2880 (REL6S3): Renamed from IMM6S3.
2881 Added flag OPERAND_PCREL.
2882 (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with
2883 added flag OPERAND_PCREL.
2884 (IMM12S3U): Replaced with REL12S3.
2885 (SHORT_D2, LONG_D): Delay target is pc-relative.
2886 (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r):
2887 Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r,
2888 using the REL* operands.
2889 (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D.
2890 (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B,
2891 LONG_Db, using REL* operands.
2892 (SHORT_U, SHORT_A5S): Removed stray alternatives.
2893 (d30v_opcode_table): Use new *r formats.
2895 2000-02-28 Nick Clifton <nickc@redhat.com>
2897 * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with
2898 'signed_overflow_ok_p'.
2900 2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
2902 * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
2903 name of the libtool directory.
2904 * Makefile.in: Rebuild.
2906 2000-02-24 Nick Clifton <nickc@redhat.com>
2908 * cgen-opc.c (cgen_set_signed_overflow_ok): New function.
2909 (cgen_clear_signed_overflow_ok): New function.
2910 (cgen_signed_overflow_ok_p): New function.
2912 2000-02-23 Andrew Haley <aph@redhat.com>
2914 * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
2915 m32r-ibld.c, m32r-opc.h: Rebuild.
2917 2000-02-23 Linas Vepstas <linas@linas.org>
2919 * i370-dis.c, i370-opc.c: New.
2921 * disassemble.c (ARCH_i370): Define.
2922 (disassembler): Handle it.
2924 * Makefile.am: Add support for Linux/IBM 370.
2925 * configure.in: Likewise.
2927 * Makefile.in: Regenerate.
2928 * configure: Likewise.
2930 2000-02-22 Chandra Chavva <cchavva@redhat.com>
2932 * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
2933 ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
2936 2000-02-22 Andrew Haley <aph@redhat.com>
2938 * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
2940 * mips-opc.c (G6): New define.
2941 (mips_builtin_op): Add "move" definition for -gp32.
2943 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2945 From Grant Erickson <gerickso@Brocade.COM>:
2946 * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
2948 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2950 * dis-buf.c (buffer_read_memory): Change `length' param and all int
2953 2000-02-17 J"orn Rennecke <amylaar@redhat.co.uk>
2955 * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
2956 (print_insn_ppi): Likewise.
2957 (print_insn_shx): Use info->mach to select appropriate insn set.
2958 Add support for sh-dsp. Remove FD_REG_N support.
2959 * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
2960 (sh_arg_type): Likewise. Remove FD_REG_N.
2961 (sh_dsp_reg_nums): New enum.
2962 (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
2963 (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
2964 (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
2965 (arch_sh3_dsp_up): Likewise.
2966 (sh_opcode_info): New field: arch.
2967 (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
2968 D_REG_N. Fill in arch field. Add sh-dsp insns.
2970 2000-02-14 Fernando Nasser <fnasser@totem.to.redhat.com>
2972 * arm-dis.c: Change flavor name from atpcs-special to
2973 special-atpcs to prevent name conflict in gdb.
2974 (get_arm_regname_num_options, set_arm_regname_option,
2975 get_arm_regnames): New functions. API to access the several
2976 flavor of register names. Note: Used by gdb.
2977 (print_insn_thumb): Use the register name entry from the currently
2978 selected flavor for LR and PC.
2980 2000-02-10 Nick Clifton <nickc@redhat.com>
2982 * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR
2984 (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and
2985 "mulsh.h" instructions.
2986 * mcore-dis.c (imsk array): Add masks for MULSH and OPSR
2988 (print_insn_mcore): Add support for little endian targets.
2989 Add support for MULSH and OPSR classes.
2991 2000-02-07 Nick Clifton <nickc@redhat.com>
2993 * arm-dis.c (parse_arm_diassembler_option): Rename again.
2994 Previous delat did not take.
2996 2000-02-03 Timothy Wall <twall@redhat.com>
2998 * dis-buf.c (buffer_read_memory): Use octets_per_byte field
2999 to adjust target address bounds checking and calculate the
3000 appropriate octet offset into data.
3002 2000-01-27 Nick Clifton <nickc@redhat.com>
3004 * arm-dis.c: (parse_disassembler_option): Rename to
3005 parse_arm_disassembler_option and allow to be exported.
3007 * disassemble.c (disassembler_usage): New function: Print out any
3008 target specific disassembler options.
3009 Call arm_disassembler_options() if the ARM architecture is being
3012 * arm-dis.c (NUM_ELEM): Define this macro if not already
3014 (arm_regname): New struct type for ARM register names.
3015 (arm_toggle_regnames): Delete.
3016 (parse_disassembler_option): Use register name structure.
3017 (print_insn): New function: Combines duplicate code found in
3018 print_insn_big_arm and print_insn_little_arm.
3019 (print_insn_big_arm): Call print_insn.
3020 (print_insn_little_arm): Call print_insn.
3021 (print_arm_disassembler_options): Display list of supported,
3022 ARM specific disassembler options.
3024 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3026 * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the
3027 ARM_STT_16BIT flag as Thumb code symbols.
3029 * arm-dis.c (printf_insn_little_arm): Ditto.
3031 2000-01-25 Thomas de Lellis <tdel@windriver.com>
3033 * arm-dis.c (printf_insn_thumb): Prevent double dumping
3034 of raw thumb instructions.
3036 2000-01-20 Nick Clifton <nickc@redhat.com>
3038 * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
3040 2000-01-03 Nick Clifton <nickc@cygnus.com>
3042 * arm-dis.c (streq): New macro.
3043 (strneq): New macro.
3044 (force_thumb): ew local variable.
3045 (parse_disassembler_option): New function: Parse a single, ARM
3046 specific disassembler command line switch.
3047 (parse_disassembler_option): Call parse_disassembler_option to
3048 parse individual command line switches.
3049 (print_insn_big_arm): Check force_thumb.
3050 (print_insn_little_arm): Check force_thumb.
3052 For older changes see ChangeLog-9899
3058 version-control: never