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