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