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