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