1 2001-11-14 Dave Brolley <brolley@redhat.com>
3 * cgen-dis.c (count_decodable_bits): New function.
4 (add_insn_to_hash_chain): New function.
5 (hash_insn_array): Call add_insn_to_hash_chain.
6 (hash_insn_list): Call add_insn_to_hash_chain.
7 * m32r-dis.c: Regenerated.
8 * fr30-dis.c: Regenerated.
10 2001-11-14 Andreas Jaeger <aj@suse.de>
12 * i386-dis.c (print_insn): Use x86-64 as option.
14 2001-11-14 Alan Modra <amodra@bigpond.net.au>
16 * disassemble.c (disassembler): Call print_insn_i386.
17 * i386-dis.c (SUFFIX_ALWAYS): Define.
18 (struct dis_private): Add orig_sizeflag.
19 (print_insn_i386): Make it a wrapper, calling..
20 (print_insn): ..The old body of print_insn_i386. Avoid longjmp
21 warning without using volatile by moving orig_sizeflag to priv,
22 and removing inbuf. Parse disassembler_options.
23 (print_insn_i386_att, print_insn_i386_intel): Move initialisation
25 (putop): Remove #ifdef SUFFIX_ALWAYS.
27 2001-11-11 Timothy Wall <twall@alum.mit.edu>
29 * tic54x-dis.c: Use revised opcode structure. Export opcode
31 (has_lkaddr): Don't forget about Lmem insns.
32 * tic54x-opc.c: Add emulation trap. Parallel table now uses
33 standard opcode templates.
35 2001-11-13 Zack Weinberg <zack@codesourcery.com>
37 * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
38 to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
39 category instead of Ew.
41 2001-11-12 Niraj Gupta <ngupta@zumanetworks.com>
43 * m68k-opc.c: Fix definitions of wddata[bwl].
45 2001-11-09 Richard Sandiford <rsandifo@redhat.com>
47 * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to
48 fit in the buffer, try to match the empty keyword.
50 2001-11-09 Nick Clifton <nickc@cambridge.redhat.com>
52 * cgen-ibld.in (extract_1): Fix badly placed #if 0.
53 * fr30-ibld.c: Regenerate.
54 * m32r-ibld.c: Regenerate.
55 * openrisc-ibld.c: Regenerate.
57 2001-11-04 Chris Demetriou <cgd@broadcom.com>
59 * mips-dis.c (print_insn_mips): Remove spaces at end of line.
61 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
63 * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr".
64 * configure: Regernate.
69 2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
71 * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
74 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
76 * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate
78 * Makefile.in: Regenerate.
79 * mmix-dis.c, mmix-opc.c: New files.
81 2001-10-29 Kazu Hirata <kazu@hxi.com>
83 * d30v-dis.c: Fix a comment typo.
85 2001-10-23 Chris Demetriou <cgd@broadcom.com>
87 * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
88 "bltzall" as writing GPR 31 (since they do).
90 * mips-dis.c (print_insn_arg): Calculate info->target
92 (print_insn_mips): Fill in instruction info.
93 (print_mips16_insn_arg): Remove unneded variable 'val'.
94 Removed duplicated instruction target calculations,
95 calculate once and print that result. Use same idiom for
96 masking the jump segment bits as is used in print_insn_arg.
98 2001-10-20 Alan Modra <amodra@bigpond.net.au>
100 * ppc-opc.c (CT): Make it an optional operand.
102 2001-10-17 Chris Demetriou <cgd@broadcom.com>
104 * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
105 SB-1 binaries include instructions specific to the SB-1.
106 * mips-opc.c (SB1): New definition.
107 (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
108 "recip.ps", "rsqrt.ps", and "sqrt.ps".
110 2001-10-17 matthew green <mrg@redhat.com>
112 * ppc-opc.c (STRM): New AltiVec operand.
113 (XDSS): New AltiVec instruction form.
114 (mtvscr): Correct operand list.
115 (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
117 2001-10-17 Alan Modra <amodra@bigpond.net.au>
119 * po/POTFILES.in: Regenerate.
121 2001-10-13 matthew green <mrg@redhat.com>
123 * ppc-opc.c (MO): New macro for MO field of mbar instruction.
124 (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr,
125 mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
127 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
129 * cgen-ibld.in: Include safe-ctype.h in preference to
131 * cgen-asm.in: Include safe-ctype.h in preference to
132 ctype.h. Fix formatting. Use ISSPACE instead of isspace and
133 TOLOWER instead of tolower.
134 (@arch@_cgen_build_insn_regex): Remove duplication of syntax
135 string elements in constructed regular expression.
136 * fr30-asm.c: Regenerate.
137 * fr30-desc.c: Regenerate.
138 * fr30-ibld.c: Regenerate.
139 * m32r-asm.c: Regenerate.
140 * m32r-desc.c: Regenerate.
141 * m32r-ibld.c: Regenerate.
142 * openrisc-asm.c: Regenerate.
143 * openrisc-desc.c: Regenerate.
144 * openrisc-ibld.c: Regenerate.
145 * po/opcodes.pot: Regenerate.
147 2001-10-12 matthew green <mrg@redhat.com>
149 * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
150 instruction field instruction/extraction functions for new BookE
151 DE form instructions.
152 (CT): New macro for CT field in an X form instruction.
153 (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
155 (PPC64): Don't include PPC_OPCODE_PPC.
156 (403): New opcode macro for PPC403 processors.
157 (BOOKE): New opcode macro for BookE processors.
158 (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
159 (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
160 (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
161 (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
162 (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
163 (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
164 (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
165 (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
166 (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
167 (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
168 (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
169 (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
170 (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
171 (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.
173 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
174 for a disassembler option of `booke', `booke32' or `booke64' to enable
175 BookE support in the disassembler.
177 2001-10-12 John Healy <jhealy@redhat.com>
179 * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
180 for the length when extracting the base part of the insn.
182 2001-10-09 Bruno Haible <haible@clisp.cons.org>
184 * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive
185 regular expression. Fix some formatting problems.
186 * fr30-asm.c: Regenerate.
187 * openrisc-asm.c: Regenerate.
188 * m32r-asm.c: Regenerate.
190 2001-10-09 Christian Groessler <cpg@aladdin.de>
192 * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly
193 of indirect register memory accesses to be same format the
196 2001-10-09 Nick Clifton <nickc@cambridge.redhat.com>
198 * sh-opc.h: Fix encoding of least significant nibble of the
199 DSP single data transfer instructions.
201 * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP
204 2001-10-08 Nick Clifton <nickc@cambridge.redhat.com>
206 * cgen-asm.in: Fix compile time warning messages in generated
208 * cgen-dis.in: The same.
209 * cgen-ibld.in: The same.
210 * fr30-asm.c: Regenerate.
211 * fr30-desc.c: Regenerate.
212 * fr30-dis.c: Regenerate.
213 * fr30-ibld.c: Regenerate.
214 * fr30-opc.c: Regenerate.
215 * m32r-asm.c: Regenerate.
216 * m32r-desc.c: Regenerate.
217 * m32r-dis.c: Regenerate.
218 * m32r-ibld.c: Regenerate.
219 * m32r-opc.c: Regenerate.
220 * m32r-opinst.c Regenerate.
221 * openrisc-asm.c: Regenerate.
222 * openrisc-desc.c: Regenerate.
223 * openrisc-dis.c: Regenerate.
224 * openrisc-ibld.c: Regenerate.
225 * openrisc-opc.c: Regenerate.
226 * openrisc-opc.h: Regenerate.
227 * Makefile.in: Regenerate.
228 * po/POTFILES.in: Regenerate.
229 * po/opcodes.pot: Regenerate.
231 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
233 * arm-opc.h (arm_opcodes): Add cirrus insns.
235 * arm-dis.c (print_insn_arm): Add 'I' case.
237 2001-10-03 Alan Modra <amodra@bigpond.net.au>
239 * po/POTFILES.in: Regenerate.
240 * configure: Regenerate.
242 2001-10-02 Alan Modra <amodra@bigpond.net.au>
244 * Makefile.am (Makefile): Depend on bfd/configure.in.
246 * Makefile.in: Regenerate.
248 2001-09-30 John Healy <jhealy@redhat.com>
250 * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits
251 calls to cgen_get_insn_value and cgen_put_insn_value calls.
252 (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call.
254 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
256 * Makefile.am: Update dependencies with "make dep-am".
257 * Makefile.in: Regenerate.
259 2001-09-26 Alan Modra <amodra@bigpond.net.au>
261 * arc-dis.c: Formatting fixes.
262 (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
264 2001-09-21 Bruno Haible <haible@clisp.cons.org>
266 * arc-dis.c: Don't include <ctype.h>.
267 * openrisc-desc.c: Likewise.
268 * openrisc-ibld.c: Likewise.
270 2001-09-20 Nick Clifton <nickc@cambridge.redhat.com>
272 * fr30-opc.c: Fix compile time warning messages.
273 * i370-opc.c: Fix compile time warning messages.
274 * i960-dis.c: Fix compile time warning messages.
275 * m32r-asm.c: Fix compile time warning messages.
276 * m32r-desc.c: Fix compile time warning messages.
277 * m32r-dis.c: Fix compile time warning messages.
278 * m32r-ibld.c: Fix compile time warning messages.
279 * m32r-opc.c: Fix compile time warning messages.
280 * m32r-opinst.c: Fix compile time warning messages.
281 * ns32k-dis.c: Fix compile time warning messages.
282 * openrisc-asm.c: Fix compile time warning messages.
283 * openrisc-desc.c: Fix compile time warning messages.
284 * openrisc-dis.c: Fix compile time warning messages.
285 * openrisc-ibld.c: Fix compile time warning messages.
286 * openrisc-opc.c: Fix compile time warning messages.
287 * pdp11-dis.c: Fix compile time warning messages.
288 * tic54x-dis.c: Fix compile time warning messages.
289 * v850-opc.c: Fix compile time warning messages.
290 * vax-dis.c: Fix compile time warning messages.
291 * w65-opc.h: Fix compile time warning messages.
292 * z8k-opc.h: Fix compile time warning messages.
293 * z8kgen.c: Fix compile time warning messages.
295 2001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
297 * arm-dis.c: Fix compile time warning messages.
298 * cgen-asm.c: Fix compile time warning messages.
299 * cgen-dis.c: Fix compile time warning messages.
300 * cris-dis.c: Fix compile time warning messages.
301 * d10v-dis.c: Fix compile time warning messages.
302 * fr30-asm.c: Fix compile time warning messages.
303 * fr30-desc.c: Fix compile time warning messages.
304 * fr30-dis.c: Fix compile time warning messages.
305 * fr30-ibld.c: Fix compile time warning messages.
307 2001-09-18 Bruno Haible <haible@clisp.cons.org>
309 * cgen-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
310 (cgen_parse_keyword): Use ISALNUM instead of isalnum.
311 * cgen-opc.c: Include "safe-ctype.h" instead of <ctype.h>.
312 (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of
314 (cgen_keyword_add): Use ISALNUM instead of isalnum.
315 (hash_keyword_name): Use TOLOWER instead of tolower.
316 * fr30-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
317 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
319 (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace.
320 * fr30-desc.c: Don't include <ctype.h>.
321 * fr30-ibld.c: Likewise.
322 * ia64-gen.c: Include "safe-ctype.h" instead of <ctype.h>.
323 (load_insn_classes, parse_resource_users, load_depfile): Use
324 ISSPACE instead of isspace.
325 * m32r-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
326 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
328 (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace.
329 * m32r-desc.c: Don't include <ctype.h>.
330 * m32r-ibld.c: Likewise.
331 * openrisc-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
332 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
334 (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace.
336 2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
338 * Makefile.am: Add rules and dependencies to create the s/390 opcode
339 table out of s390-opc.txt automatically.
340 * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used.
341 * s390-mkopc.c (dumpTable): Change output to create a complete file.
342 * s390-opc.c: New improved opcode format macros and remove the
343 pregenerated opcode table.
344 * s390-opc.txt: Adapt to new improved opcode format macros.
346 2001-09-14 David Schleef <ds@schleef.org>
348 * ppc-opc.c (VXA, VXA_MASK): Fix mask bits.
350 2001-09-04 Alan Modra <amodra@bigpond.net.au>
352 * i386-dis.c (grps): Don't print the implicit al/ax/eax register
353 for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
355 2001-08-31 Eric Christopher <echristo@redhat.com>
356 Jason Eckhardt <jle@redhat.com>
358 * mips-dis.c: Add support for bfd_mach_mipsisa32 and
359 bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
362 2001-08-31 Andreas Jaeger <aj@suse.de>
364 * tic54x-opc.c: Add default initializers to avoid warnings.
366 * arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
367 * arc-ext.c: Likewise.
369 2001-08-28 matthew gren <mrg@redhat.com>
371 * ppc-opc.c (icbt): Order correctly.
373 2001-08-27 David Edelsohn <dje@watson.ibm.com>
374 Torbjorn Granlund <tege@swox.com>
376 * ppc-opc.c (DS): Add PPC_OPERAND_DS flag.
378 (insert_ds): Complain if not a multiple of 4.
380 (XSYNC_MASK): Define.
381 (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev",
382 "slbmfee". Modify "sync" to use XSYNC_MASK and LS.
384 2001-08-26 Andreas Jaeger <aj@suse.de>
386 * h8500-opc.h: Add default initializers to h8500_table to shut up
389 2001-08-25 Andreas Jaeger <aj@suse.de>
391 * tic54x-dis.c: Add unused attributes where needed.
393 * z8k-dis.c (output_instr): Add unused attribute.
395 * h8300-dis.c: Add missing prototypes.
396 (bfd_h8_disassemble): Make static.
398 * cris-dis.c: Add missing prototype.
399 * h8500-dis.c: Likewise.
400 * m68hc11-dis.c: Likewise.
401 * pj-dis.c: Likewise.
402 * tic54x-dis.c: Likewise.
403 * v850-dis.c: Likewise.
404 * vax-dis.c: Likewise.
405 * w65-dis.c: Likewise.
406 * z8k-dis.c: Likewise.
408 * d10v-dis.c: Add missing prototype.
409 (dis_long): Remove unused variable.
410 (dis_2_short): Likewise.
412 * sh-dis.c: Add missing prototypes.
413 * v850-opc.c: Likewise.
414 Add unused attributes where needed.
416 * ns32k-dis.c: Add missing prototypes.
417 (bit_extract_simple): Remove unused variable.
419 2001-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
421 * opcodes/s390-opc.c: Add "low or high" and "not low or high"
422 branch instructions for gcc 3.0.
423 * opcodes/s390-opc.txt: Likewise.
425 2001-08-21 Andreas Jaeger <aj@suse.de>
427 * i960-dis.c: Add parameters for prototypes
428 (ctrl): Add unused attributes.
432 * mips-dis.c: Add missing prototypes.
433 * a29k-dis.c: Likewise.
434 * arc-dis.c: Likewise.
435 * ia64-opc.c: Likewise.
437 * s390-dis.c: Add missing prototypes.
438 (init_disasm): Remove unused attribute since the parameter is
441 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
443 * mips-opc.c (M1): Define. Reformatted Code.
444 (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps,
447 2001-08-16 Jonathan Larmour <jlarmour@redhat.com>
449 * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
450 the corresponding non-likely insn is in MIPS I.
452 2001-08-13 Kazu Hirata <kazu@hxi.com>
454 * mcore-dis.c: Fix formatting.
455 * mips-dis.c: Likewise.
456 * pj-dis.c: Likewise.
457 * z8k-dis.c: Likewise.
459 2001-08-12 Richard Henderson <rth@redhat.com>
461 * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
462 to *VALUEP. Regenerate all cgen files.
464 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
466 * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
468 * mips-opc.c (G6): Undefine.
469 (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro
470 as the first "move" alternative.
472 2001-08-10 Andreas Jaeger <aj@suse.de>
474 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
476 * configure: Regenerate.
478 2001-08-10 Alan Modra <amodra@bigpond.net.au>
480 * ppc-opc.c: Revert 2001-08-08.
482 2001-08-09 Alan Modra <amodra@bigpond.net.au>
484 * dis-buf.c (generic_strcat_address): Add missing prototype.
485 #if 0 the functions as it is unused.
487 2001-08-08 Alan Modra <amodra@bigpond.net.au>
489 1999-10-25 Torbjorn Granlund <tege@swox.com>
490 * ppc-opc.c: Include "bfd.h".
491 (powerpc_operands): Add new field for reloc type.
493 2001-07-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
495 * mips-dis.c (print_insn_arg): Don't use software integer registers
496 for coprocessor registers.
497 (get_mips_isa): Removed.
498 (is_newabi): New function, checks if NewABI is used.
499 (_print_insn_mips): Get distinction between old ABI and new ABI right.
501 2001-08-01 Christian Groessler <cpg@aladdin.de>
503 * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to
504 get stderr definition.
505 (internal, gas): Removed warnings.
506 (gas): Create a correct final entry for created array.
507 * z8k-opc.h: Recreated with new z8kgen.
509 2001-07-28 Kazu Hirata <kazu@hxi.com>
511 * i386-dis.c: Fix formatting.
513 2001-07-28 Matthias Kramm <kramm@quiss.org>
515 * i386-dis.c: Change formatting conventions for architecture
516 i386:intel to better match the format of various intel i386
517 assemblers, like nasm, tasm or masm.
519 2001-07-24 Alan Modra <amodra@bigpond.net.au>
521 * Makefile.am: Update dependencies with "make dep-am".
522 * Makefile.in: Regenerate
524 2001-07-24 Kazu Hirata <kazu@hxi.com>
526 * alpha-dis.c: Fix formatting.
527 * cris-dis.c: Likewise.
528 * d10v-dis.c: Likewise.
529 * d30v-dis.c: Likewise.
530 * m10300-dis.c: Likewise.
531 * tic54x-dis.c: Likewise.
533 2001-07-23 Kazu Hirata <kazu@hxi.com>
535 * m68k-dis.c: Fix formatting.
536 * pj-dis.c: Likewise.
537 * s390-dis.c: Likewise.
538 * z8k-dis.c: Likewise.
540 2001-07-21 Chris Demetriou <cgd@broadcom.com>
542 * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
543 into the rest of the surrounding definitions.
545 2001-07-18 Alan Modra <amodra@bigpond.net.au>
547 * i386-dis.c (grps): Print l or w suffix, and require mem modrm
548 for lgdt, lidt, sgdt, sidt.
550 2001-07-13 Philip Blundell <philb@gnu.org>
552 * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
554 2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
556 * cgen-asm.in: Include "xregex.h" always to enable the libiberty
558 (@arch@_cgen_build_insn_regex): New routine from Graydon.
559 (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
560 to verify if it is worth parsing the insn as insn "x". Also update
561 error message when insn is not a recognized format of the insn vs
562 when the insn is completely unrecognized.
564 2001-07-11 Frank Ch. Eigler <fche@redhat.com>
566 * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
568 * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
569 non-zero CGEN_CPU_DESC->insn_chunk_bitsize.
571 2001-07-09 Andreas Jaeger <aj@suse.de>, Karsten Keil <kkeil@suse.de>
573 * i386-dis.c (set_op): Handle 64 bit and 32 bit mode.
574 (OP_J): Use bfd_vma for mask to work properly with 64 bits.
575 (op_address,op_riprel): Use bfd_vma to handle 64 bits.
577 2001-07-05 Ben Elliston <bje@redhat.com>
579 * Makefile.am (CPUDIR): Define.
580 (stamp-m32r): Update dependencies.
582 (stamp-openrisc): Ditto.
583 * Makefile.in: Regenerate.
585 2001-07-03 Zoltan Hidvegi <hzoli@hzoli.2y.net>
587 * ppc-opc.c: Fix encoding of 'clf' instruction.
589 2001-06-30 Geoffrey Keating <geoffk@redhat.com>
591 * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
593 2001-06-28 Geoffrey Keating <geoffk@redhat.com>
595 * cgen-asm.c (cgen_parse_keyword): Allow any first character.
596 * cgen-opc.c (cgen_keyword_add): Ignore special first
597 character when building nonalpha_chars field.
599 2001-06-24 Ben Elliston <bje@redhat.com>
601 * m88k-dis.c: Format to conform to GNU coding standards.
603 2001-06-23 Andreas Jaeger <aj@suse.de>
605 * disassemble.c (disassembler_usage): Add unused attribute.
607 2001-06-22 Eric Christopher <echristo@redhat.com>
609 * mips-opc.c: Move prefx to start of the table.
611 2001-06-22 Stacey Sheldon <ssheldon@Catena.com>
613 * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST
616 2001-06-22 Pauli <pauli@moreton.com.au>
618 * m68k-opc.c: Add wdebug instruction.
620 2001-06-15 Aldy Hernandez <aldyh@redhat.com>
622 * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.
624 2001-06-14 Geoffrey Keating <geoffk@redhat.com>
626 * cgen-asm.c (cgen_parse_keyword): When looking for the
627 boundaries of a keyword, allow any special characters
628 that are actually in one of the allowed keyword.
629 * cgen-opc.c (cgen_keyword_add): Add any special characters
630 to the nonalpha_chars field.
632 2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
634 * s390-opc.c: Add lgh instruction.
635 * s390-opc.txt: Likewise.
637 2001-06-11 Alan Modra <amodra@bigpond.net.au>
639 * i386-dis.c: Group function prototypes in one place.
640 (FLOATCODE): Redefine as 1.
641 (USE_GROUPS): Redefine as 2.
642 (USE_PREFIX_USER_TABLE): Redefine as 3.
643 (X86_64_SPECIAL): Define as 4.
644 (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2.
645 (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE.
646 (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete.
647 (dis386): New table combining above four tables.
648 (dis386_twobyte_att, dis386_twobyte_intel): Delete.
649 (dis386_twobyte): New table combining above two tables.
650 (x86_64_table): New table to handle x86_64.
652 (float_mem_att, float_mem_intel): Delet.
653 (float_mem): New table combining above two tables.
654 (print_insn_i386): Modify for above.
656 (putop): Handle '{', '|' and '}' to select alternative mnemonics.
657 Return 0 on success, 1 if no valid alternative.
658 (putop <case 'F'>, <case 'H'>): Print nothing for intel_syntax.
659 (putop <case 'T'>): Move to case 'U', and share case 'Q' code.
660 (putop <case 'I'>): Move to case 'T', and share case 'P' code.
661 (OP_REG <case rAX_reg .. rDI_reg>): Handle as for eAX_reg .. eDI_reg
663 (OP_I <case q_mode>): Handle as for v_mode if not 64-bit mode.
664 (OP_I64): If not 64-bit mode, call OP_I.
665 OP_OFF64): If not 64-bit mode, call OP_OFF.
666 (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename
667 'ignore'/'ignored' to 'bytemode'.
669 2001-06-10 Alan Modra <amodra@bigpond.net.au>
671 * configure.in: Sort 'ta' case statement.
672 * configure: Regenerate.
674 * i386-dis.c (dis386_att): Add 'H' to conditional branch and
676 (disx86_64_att): Likewise.
677 (dis386_twobyte_att): Likewise.
678 (print_insn_i386): Don't print branch hints as a prefix.
679 (putop): 'H' macro prints branch hints.
680 (get64): Kill compile warnings.
682 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
684 * sh-opc.h (sh_table): Don't use empty initializers.
686 2001-06-06 Christian Groessler <cpg@aladdin.de>
688 * z8k-dis.c: Fix formatting.
689 (unpack_instr): Remove unused cases in switch statement. Add
690 safety abort() in default case.
691 (unparse_instr): Add safety abort() in default case.
693 2001-06-06 Peter Jakubek <pjak@snafu.de>
695 * m68k-dis.c (print_insn_m68k): Fix typo.
696 * m68k-opc.c (m68k_opcodes): Correct allowed operands for
697 mcf (ColdFire) div, rem and moveb instructions.
699 2001-06-06 Alan Modra <amodra@bigpond.net.au>
701 * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
702 (cond_jump_mode, loop_jcxz_mode): Define.
703 (dis386_att): Add cond_jump_flag and loop_jcxz_flag as
704 appropriate, and 'F' suffix to loop insns.
705 (disx86_64_att): Likewise.
706 (dis386_twobyte_att): Likewise.
707 (print_insn_i386): Don't output addr prefix for loop, jcxz insns.
708 Output data size prefix for long conditional jumps. Output cs and
710 (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
711 (OP_J): Don't make PREFIX_DATA used.
713 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
715 * sh-opc.h (sh_table): Complete last element entry to avoid
718 2001-05-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
720 * mips-dis.c (mips_isa_type): Add MIPS r12k support.
722 2001-05-23 Alan Modra <amodra@one.net.au>
724 * arc-opc.c: Whitespace changes.
726 2001-05-18 Hans-Peter Nilsson <hp@axis.com>
728 * cris-opc.c (cris_spec_regs): Add missing initializer field for
731 2001-05-15 Frank Ch. Eigler <fche@redhat.com>
733 * cgen-dis.in (extract_normal): Complete support for min<base case.
735 2001-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
737 * mips-dis.c (INSNLEN): Rename MAXLEN.
738 (std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
739 (print_insn_arg): Remove $ prefix of register names.
740 (set_mips_isa_type): Remove.
741 (mips_isa_type): New function.
742 (get_mips_isa): New Function.
743 (print_insn_mips): Rename _print_insn_mips.
744 (_print_insn_mips): New function, contains code which was
745 duplicated in print_insn_big_mips and print_insn_little_mips.
746 (print_insn_big_mips): Moved code to _print_insn_mips.
747 (print_insn_little_mips): Likewise.
748 (print_mips16_insn_arg): Remove $ prefix of register names.
749 Print error message before abort.
751 2001-05-14 J.T. Conklin <jtc@redback.com>
753 * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
754 simplified mnemonics used for setting PPC750-specific special
757 2001-05-12 H.J. Lu <hjl@gnu.org>
759 * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
762 2001-05-12 Peter Targett <peter.targett@arccores.com>
764 * arc-opc.c (arc_reg_names): Correct attribute for lp_count
765 register to r/w. Formatting fixes throughout file.
767 2001-05-12 Alan Modra <amodra@one.net.au>
769 * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
771 (twobyte_has_modrm): Update table.
772 (need_modrm): Give it file scope.
773 (MODRM_CHECK): Define.
774 (dofloat): Use MODRM_CHECK.
779 2001-05-07 Frank Ch. Eigler <fche@redhat.com>
781 * cgen-dis.in (default_print_insn): Tolerate min<base instructions
782 even at end of a section.
783 * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
784 by ignoring precariously-unpacked insn_value in favor of raw buffer.
786 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
788 * disassemble.c (disassembler_usage): Remove unused attribute.
790 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
792 * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
794 2001-05-04 Frank Ch. Eigler <fche@redhat.com>
796 * cgen-dis.in (print_insn): Remove call to read_insn. Instead,
797 assume incoming buffer already has the base insn loaded. Handle
798 smaller-than-base instructions for variable-length case.
800 2001-05-04 Alan Modra <amodra@one.net.au>
802 * i386-dis.c (Ev, Ed): Remove duplicate define.
805 (OP_XS): New function.
806 (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and
808 (dis386_twobyte_intel): Likewise.
809 (prefix_user_table): Use MS for maskmovq operand.
811 2001-04-27 Johan Rydberg <jrydberg@opencores.org>
813 * Makefile.am: Add OpenRISC target.
814 * Makefile.in: Regenerated.
816 * disassemble.c (disassembler): Recognize the OpenRISC disassembly.
818 * configure.in (bfd_openrisc_arch): Add target.
819 * configure: Regenerated.
821 * openrisc-asm.c: New file.
822 * openrisc-desc.c: Likewise.
823 * openrisc-desc.h: Likewise.
824 * openrisc-dis.c: Likewise.
825 * openrisc-ibld.c: Likewise.
826 * openrisc-opc.c: Likewise.
827 * openrisc-opc.h: Likewise.
829 2001-04-24 Christian Groessler <cpg@aladdin.de>
831 * z8k-dis.c: add names of control registers (ctrl_names);
832 (seg_length): provides instruction length fixup for segmented
833 mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12,
834 CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases;
835 (unparse_intr): handle CLASS_PR, print addresses without '#'
836 * z8k-opc.h: re-created with new z8kgen
837 * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new
838 entries for ldctl/ldctlb instruction
840 2001-04-06 Andreas Jaeger <aj@suse.de>
842 * i386-dis.c: Add ffreep instruction.
844 2001-03-30 Alexandre Oliva <aoliva@redhat.com>
846 * ppc-opc.c (insert_mbe): Shift mask initializer as long.
848 2001-03-24 Alan Modra <alan@linuxcare.com.au>
850 * i386-dis.c (PREGRP25): Define.
851 (dis386_twobyte_att): Use here in place of "movntq" entry.
852 (dis386_twobyte_intel): Likewise.
853 (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq".
855 (dis386_twobyte_att): Use here.
856 (dis386_twobyte_intel): Likewise.
857 (prefix_user_table): Add PREGRP26 entry for "punpcklqdq".
858 (prefix_user_table <maskmovdqu>): XM operand, not MX.
859 (prefix_user_table): Cosmetic changes to "bad" entries.
861 2001-03-23 Nick Clifton <nickc@redhat.com>
863 * mips-opc.c: Remove extraneous whitespace.
864 * mips-dis.c: Remove extraneous whitespace.
866 2001-03-22 Ben Elliston <bje@redhat.com>
868 * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
869 declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
870 * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
871 to allay a compiler warning.
873 2001-03-22 Alan Modra <alan@linuxcare.com.au>
875 * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq.
876 (dis386_twobyte_intel): Likewise.
877 (twobyte_has_modrm): Set entry for paddq, psubq.
879 2001-03-20 Patrick Macdonald <patrickm@redhat.com>
881 * cgen-dis.in (print_insn_@arch@): Add support for target machine
882 determination via CGEN_COMPUTE_MACH.
883 * fr30-desc.c: Regenerate.
884 * fr30-dis.c: Regenerate.
885 * fr30-opc.h: Regenerate.
886 * m32r-desc.c: Regenerate.
887 * m32r-dis.c: Regenerate.
888 * m32r-opc.h: Regenerate.
889 * m32r-opinst.c: Regenerate.
891 2001-03-20 H.J. Lu <hjl@gnu.org>
893 * configure.in: Remove the redundent AC_ARG_PROGRAM.
894 * configure: Rebuild.
896 2001-03-19 Jim Wilson <wilson@redhat.com>
898 * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
899 notestr if larger than xsect.
900 (in_class): Handle format M5.
901 * ia64-asmtab.c: Regnerate.
903 2001-03-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
905 * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer
906 has more than one byte left to read.
908 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
910 * s390-opc.c: Add new opcodes. Smooth out formatting.
911 * s390-opc.txt: Add new opcodes.
913 2001-03-06 Nick Clifton <nickc@redhat.com>
915 * arm-dis.c (print_insn_thumb): Compute destination address
916 of BLX(1) instruction by taking bit 1 from PC and not from bit
919 2001-03-06 Igor Shevlyakov <igor@windriver.com>
921 * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs
922 so command line switches will work.
924 2001-03-05 Dave Brolley <brolley@redhat.com>
926 * fr30-asm.c: Regenerate.
927 * fr30-desc.c: Regenerate.
928 * fr30-desc.h: Regenerate.
929 * fr30-dis.c: Regenerate.
930 * fr30-ibld.c: Regenerate.
931 * fr30-opc.c: Regenerate.
932 * fr30-opc.h: Regenerate.
933 * m32r-asm.c: Regenerate.
934 * m32r-desc.c: Regenerate.
935 * m32r-desc.h: Regenerate.
936 * m32r-dis.c: Regenerate.
937 * m32r-ibld.c: Regenerate.
938 * m32r-opc.c: Regenerate.
939 * m32r-opc.h: Regenerate.
940 * m32r-opinst.c: Regenerate.
942 2001-02-28 Igor Shevlyakov <igor@windriver.com>
944 * m68k-opc.c: fix cpushl according to Motorola. Enable
945 bunch of instructions for Coldfire 5407 and add all new.
947 2001-02-27 Alan Modra <alan@linuxcare.com.au>
949 * configure.in (BFD_VERSION): Do without grep.
950 * configure: Regenerate.
951 * Makefile.am: Run "make dep-am".
952 * Makefile.in: Regenerate.
954 2001-02-23 David Mosberger <davidm@hpl.hp.com>
956 * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
957 * ia64-asmtab.c: Regenerate.
959 2001-02-21 David Mosberger <davidm@hpl.hp.com>
961 * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
962 separate variants: one for IMM22 and the other for IMM14.
963 * ia64-asmtab.c: Regenerate.
965 2001-02-21 Greg McGary <greg@mcgary.org>
967 * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
969 2001-02-20 H.J. Lu <hjl@gnu.org>
971 * Makefile.am (ia64-ic.tbl): Remove the target.
972 (ia64-raw.tbl): Likewise.
973 (ia64-waw.tbl): Likewise.
974 (ia64-war.tbl): Likewise.
975 (ia64-asmtab.c): Generate it in the source directory.
976 * Makefile.in: Regenerated.
978 2001-02-18 lars brinkhoff <lars@nocrew.org>
980 * Makefile.am: Add PDP-11 target.
981 * configure.in: Likewise.
982 * disassemble.c: Likewise.
983 * pdp11-dis.c: New file.
984 * pdp11-opc.c: New file.
986 2001-02-14 Jim Wilson <wilson@redhat.com>
988 * ia64-ic.tbl: Update from Intel. Add setf to fr-writers.
989 * ia64-asmtab.c: Regenerate.
991 Mon Feb 12 17:41:26 CET 2001 Jan Hubicka <jh@suse.cz>
993 * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
997 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
999 * mips-dis.c (print_insn_arg): Use top four bits of the address of
1000 the following instruction not of the jump itself for the jump
1002 (print_mips16_insn_arg): Likewise.
1004 2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1006 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
1008 * Makefile.in: Regenerate.
1010 2001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
1012 * Makefile.am: Add linux target for S/390.
1013 * Makefile.in: Likewise.
1014 * configure.in: Likewise.
1015 * disassemble.c: Likewise.
1016 * s390-dis.c: New file.
1017 * s390-mkopc.c: New file.
1018 * s390-opc.c: New file.
1019 * s390-opc.txt: New file.
1021 2001-02-05 Jim Wilson <wilson@redhat.com>
1023 * ia64-asmtab.c: Revert 2000-12-16 change.
1025 2001-02-02 Patrick Macdonald <patrickm@redhat.com>
1027 * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
1028 * m32r-desc.h: Regenerate.
1030 Thu Feb 1 16:29:06 MET 2001 Jan Hubicka <jh@suse.cz>
1032 * i386-dis.c (dis386_att, grps): Use 'T' for push/pop
1033 (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
1035 2001-01-14 Alan Modra <alan@linuxcare.com.au>
1037 * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types.
1039 2001-01-13 Nick Clifton <nickc@redhat.com>
1041 * disassemble.c: Remove spurious white space.
1043 Sat Jan 13 01:48:24 MET 2001 Jan Hubicka <jh@suse.cz>
1045 * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
1048 2001-01-11 Peter Targett <peter.targett@arccores.com>
1050 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
1051 * Makefile.am (C_FILES): Add arc-ext.c.
1052 (ALL_MACHINES) Add arc-ext.lo.
1053 (INCLUDES) Add opcode directory to list.
1054 New dependency entry for arc-ext.lo.
1055 * disassemble.c (disassembler): Correct call to
1056 arc_get_disassembler.
1057 * arc-opc.c: New update for ARC, including full base
1058 instructions for ARC variants.
1059 * arc-dis.h, arc-dis.c: New update for ARC, including
1060 extensibility functionality.
1061 * arc-ext.h, arc-ext.c: New files for handling extensibility.
1063 2001-01-10 Jan Hubicka <jh@suse.cz>
1065 * i386-dis.c (PREGRP15 - PREGRP24): New.
1066 (dis386_twobyt): Add SSE2 instructions.
1067 (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
1068 (twobyte_uses_f3_prefix): ... this one.
1069 (grps): Add SSE instructions.
1070 (prefix_user_table): Add two new slots; add SSE2 instructions.
1071 (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
1072 Handle the REPNZ and Data16 prefixes as well; do proper lookup
1073 to prefix_user_table.
1074 (OP_E): Accept mfence and lfence as well.
1075 (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
1076 (OP_XMM): Support REX extensions.
1080 2001-01-09 Nick Clifton <nickc@redhat.com>
1082 * arm-dis.c (print_insn): Set pc to zero for instructions with
1083 a reloc associated with them.
1085 2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
1087 * cgen-asm.in (parse_insn_normal): Changed syn to be
1088 CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn
1089 as character to use CGEN_SYNTAX_CHAR macro and all comparisons
1090 to '\0' to use 0 instead.
1091 * cgen-dis.in (print_insn_normal): Ditto.
1092 * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
1094 2001-01-05 Jan Hubicka <jh@suse.cz>
1096 * i386-dis.c: Add x86_64 support.
1097 (rex): New static variable.
1098 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
1099 (USED_REX): New macro.
1100 (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
1101 (OP_I64, OP_OFF64, OP_IMREG): New functions.
1102 (OP_REG, OP_OFF): Declare.
1103 (get64, get32, get32s): New functions.
1104 (r??_reg): New constants.
1105 (dis386_att): Change templates of instruction implicitly promoted
1106 to 64bit; change e?? to RMe?? for unwind RM byte instructions.
1108 (dis386_intel): Likewise.
1109 (dixx86_64_att): New table based on dis386_att.
1110 (dixx86_64_intel): New table based on dis386_intel.
1111 (names64, names8rex): New global variable.
1112 (names32, names16): Add extended registers.
1113 (prefix_user_t): Recognize rex prefixes.
1114 (prefix_name): Print REX prefixes nicely.
1115 (op_riprel): New global variable.
1116 (start_pc): Set type to bfd_vma.
1117 (print_insn_i386): Detect the 64bit mode and use proper table;
1118 move ckprefix after initializing the buffer; output unused rex prefixes;
1119 output information about target of RIP relative addresses.
1120 (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
1121 (print_operand_value): New function.
1122 (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
1123 REX prefix and new modes.
1124 (get64, get32s): New.
1125 (get32): Return bfd_signed_vma type.
1126 (set_op): Initialize the op_riprel.
1127 * disassemble.c (disassembler): Recognize the x86-64 disassembly.
1129 2001-01-03 Richard Sandiford <r.sandiford@redhat.com>
1131 cgen-dis.in (read_insn): Use bfd_get_bits()
1133 2001-01-02 Richard Sandiford <rsandifo@redhat.com>
1135 * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
1136 (hash_insn_list): Likewise
1137 * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
1138 (extract_1): Use bfd_get_bits().
1139 (extract_normal): Apply sign extension to both extraction
1141 * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
1142 (cgen_put_insn_value): Use bfd_put_bits()
1144 2000-12-28 Frank Ch. Eigler <fche@redhat.com>
1146 * cgen-asm.in (parse_insn_normal): Print better error message for
1147 instructions with missing operands.
1149 2000-12-21 Santeri Paavolainen <santtu@ssh.com>
1151 * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
1153 2000-12-16 Nick Clifton <nickc@redhat.com>
1155 * Makefile.in: Regenerate.
1156 * aclocal.m4: Regenerate.
1157 * config.in: Regenerate.
1158 * configure.in: Add spacing.
1159 * configure: Regenerate.
1160 * ia64-asmtab.c: Regenerate.
1161 * po/opcodes.pot: Regenerate.
1163 2000-12-12 Frank Ch. Eigler <fche@redhat.com>
1165 * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
1166 error messages over later parse-time ones.
1168 2000-12-12 Jim Wilson <wilson@redhat.com>
1170 * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
1172 * ia64-gen.c (insert_deplist): Cast sizeof result to int.
1173 (print_dependency_table): Print NULL if semantics field not set.
1174 (insert_opcode_dependencies): Mark cmp parameter as unused.
1175 (print_main_table): Use fprintf_vma to print long long fields.
1176 (main): Mark argv paramter as unused. Convert to old style definition.
1177 * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
1178 * ia64-asmtab.c: Regnerate.
1180 2000-12-09 Nick Clifton <nickc@redhat.com>
1182 * m32r-dis.c (print_insn): Prevent re-read of instruction from
1185 * fr30-dis.c: Regenerate.
1187 2000-12-08 Peter Targett <peter.targett@arccores.com>
1189 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
1190 * Makefile.am (C_FILES): Add arc-ext.c.
1191 (ALL_MACHINES) Add arc-ext.lo.
1192 (INCLUDES) Add opcode directory to list.
1193 New dependency entry for arc-ext.lo.
1194 * disassemble.c (disassembler): Correct call to
1195 arc_get_disassembler.
1196 * arc-opc.c: New update for ARC, including full base
1197 instructions for ARC variants.
1198 * arc-dis.h, arc-dis.c: New update for ARC, including
1199 extensibility functionality.
1200 * arc-ext.h, arc-ext.c: New files for handling extensibility.
1202 2000-12-03 Chris Demetriou cgd@sibyte.com
1204 * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO,
1205 MOD_HILO, and MOD_LO macros.
1207 * mips-opc.c (M1, M2): Delete.
1208 (mips_builtin_opcodes): Remove all uses of M1.
1210 * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2
1211 instructions take "G" format second operands and use the
1213 There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to
1215 Delete "sel" code operands from mfc1 and mtc1.
1216 Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
1219 2000-12-03 Ed Satterthwaite ehs@sibyte.com and
1220 Chris Demetriou cgd@sibyte.com
1222 * mips-opc.c (mips_builtin_opcodes): Finish additions
1223 for MIPS32 support, and clean up existing entries for
1224 aesthetics, consistency with the MIPS32 ISA, and
1225 with consistency the rest of the table.
1227 2000-12-01 Nick Clifton <nickc@redhat.com>
1229 * mips16-opc.c (mips16_opcodes): Add initialiser for membership
1232 2000-12-01 Chris Demetriou <cgd@sibyte.com>
1234 mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument
1235 specifiers. Update 'B' for new constant names, and remove
1237 mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop"
1238 near the top of the array, so they are disassembled properly.
1239 Enable "ssnop" for MIPS32. Add "break" variant with 20 bit
1240 code for MIPS32. Update "clo" and "clz" to use 'U' operand
1241 specifier. Add 'H' format specifier variants for "mfc1,"
1242 "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update
1243 MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32
1244 "wait" variant which uses 'J' operand specifier.
1246 * mips-dis.c (set_mips_isa_type): Update to use
1247 CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case.
1248 Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
1249 * mips-opc.c (I32): New constant for instructions added in
1252 (mips_builtin_opcodes) Replace all uses of P4 with I32.
1254 * mips-dis.c (set_mips_isa_type): Add cases for
1255 bfd_mach_mips5 and bfd_mach_mips64.
1256 * mips-opc.c (I64): New definitions.
1258 * mips-dis.c (set_mips_isa_type): Add case for
1261 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
1263 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
1264 (print_insn_ppi): Make nib1, nib2, nib3 unsigned.
1265 Initialize variable dc to NULL.
1266 (print_insn_shx): Remove unused label d_reg_n.
1268 2000-11-24 Nick Clifton <nickc@redhat.com>
1270 * arm-opc.h: Add new opcode formatting parameter 'B'.
1271 (arm_opcodes): Add XScale, v5, and v5te instructions.
1272 (thumb_opcodes): Add v5t instructions.
1274 * arm-dis.c (print_insn_arm): Handle new 'B' format
1276 (print_insn_thumb): Decode BLX(1) instruction.
1278 2000-11-21 Chris Demetriou <cgd@sibyte.com>
1280 * mips-opc.c: Fix file header comment.
1282 2000-11-14 Hans-Peter Nilsson <hp@axis.com>
1284 * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
1285 print_insn_cris_with_register_prefix.
1287 2000-11-11 Alexandre Oliva <aoliva@redhat.com>
1289 * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
1291 2000-11-07 Matthew Green <mrg@redhat.com>
1293 * cgen-dis.in (print_insn): All insns which can fit into insn_value
1294 must be loaded there in their entirety.
1296 2000-10-20 Jakub Jelinek <jakub@redhat.com>
1298 * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
1299 (compute_arch_mask): Add v8plusb and v9b machines.
1300 (print_insn_sparc): siam mode decoding, accept ASRs up to 25.
1301 * sparc-opc.c: Support for Cheetah instruction set.
1302 (prefetch_table): Add #invalidate.
1304 2000-10-16 Nick Clifton <nickc@redhat.com>
1306 * mcore-dis.c (imsk): Change mask for OC to 0xFE00.
1308 2000-10-06 Dave Brolley <brolley@redhat.com>
1310 * fr30-desc.h: Regenerate.
1311 * m32r-desc.h: Regenerate.
1312 * m32r-ibld.c: Regenerate.
1314 2000-10-05 Jim Wilson <wilson@redhat.com>
1316 * ia64-ic.tbl: Update from Intel.
1317 * ia64-asmtab.c: Regenerate.
1319 2000-10-04 Kazu Hirata <kazu@hxi.com>
1321 * ia64-gen.c: Convert C++-style comments to C-style comments.
1322 * tic54x-dis.c: Likewise.
1324 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
1326 Changes to add dollar prefix to registers for files where user symbols
1327 don't have a leading underscore. Fix formatting.
1328 * cris-dis.c (REGISTER_PREFIX_CHAR): New.
1329 (format_reg): Add parameter with_reg_prefix. All callers changed.
1330 (print_with_operands): Ditto.
1331 (print_insn_cris_generic): Renamed from print_insn_cris, add
1332 parameter with_reg_prefix.
1333 (print_insn_cris_with_register_prefix,
1334 print_insn_cris_without_register_prefix, cris_get_disassembler):
1336 * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
1338 2000-09-22 Jim Wilson <wilson@redhat.com>
1340 * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
1341 gt, ge, ngt, and nge.
1342 * ia64-asmtab.c: Regenerate.
1344 * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
1345 * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
1346 (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
1347 * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
1348 * ia64-asmtab.c: Regnerate.
1350 2000-09-13 Anders Norlander <anorland@acc.umu.se>
1352 * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
1353 Add mfc0 and mtc0 with sub-selection values.
1354 Add clo and clz opcodes.
1355 Add msub and msubu instructions for MIPS32.
1356 Add madd/maddu aliases for mad/madu for MIPS32.
1357 Support wait, deret, eret, movn, pref for MIPS32.
1358 Support tlbp, tlbr, tlbwi, tlbwr.
1361 * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
1362 (print_insn_arg): Handle 'H' args.
1363 (set_mips_isa_type): Recognize 4K.
1364 Use CPU_* defines instead of hardcoded numbers.
1366 2000-09-11 Catherine Moore <clm@redhat.com>
1368 * d30v-opc.c (d30v_operand_t): New operand type Rb2.
1369 (d30v_format_tab): Use Rb2 for modinc and moddec.
1371 2000-09-07 Catherine Moore <clm@redhat.com>
1373 * d30v-opc.c (d30v_format_tab): Use format Ra for
1376 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1378 * configure: Rebuilt with new libtool.m4.
1380 2000-09-05 Nick Clifton <nickc@redhat.com>
1382 * configure: Regenerate.
1383 * po/opcodes.pot: Regenerate.
1385 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
1387 * acinclude.m4: Include libtool and gettext macros from the
1389 * aclocal.m4, configure: Rebuilt.
1391 2000-08-30 Kazu Hirata <kazu@hxi.com>
1393 * tic80-dis.c: Fix formatting.
1395 2000-08-29 Kazu Hirata <kazu@hxi.com>
1397 * w65-dis.c: Fix formatting.
1399 2000-08-28 Mark Hatle <mhatle@mvista.com>
1401 * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics.
1402 (powerpc_opcodes): Add table entries for PPC 405 instructions.
1403 Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
1404 instructions. Added extended mnemonic mftbl as defined in the
1405 405GP manual for all PPCs.
1407 2000-08-28 Jim Wilson <wilson@redhat.com>
1409 * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
1410 call. Change last goto to use failed instead of done.
1412 2000-08-28 Dave Brolley <brolley@redhat.com>
1414 * cgen-ibld.in (cgen_put_insn_int_value): New function.
1415 (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
1416 (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
1417 (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
1418 * cgen-dis.in (read_insn): New static function.
1419 (print_insn): Use read_insn to read the insn into the buffer and set
1421 (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
1423 * fr30-asm.c: Regenerated.
1424 * fr30-desc.c: Regenerated.
1425 * fr30-desc.h: Regenerated.
1426 * fr30-dis.c: Regenerated.
1427 * fr30-ibld.c: Regenerated.
1428 * fr30-opc.c: Regenerated.
1429 * fr30-opc.h: Regenerated.
1430 * m32r-asm.c: Regenerated.
1431 * m32r-desc.c: Regenerated.
1432 * m32r-desc.h: Regenerated.
1433 * m32r-dis.c: Regenerated.
1434 * m32r-ibld.c: Regenerated.
1435 * m32r-opc.c: Regenerated.
1437 2000-08-28 Kazu Hirata <kazu@hxi.com>
1439 * tic30-dis.c: Fix formatting.
1441 2000-08-27 Kazu Hirata <kazu@hxi.com>
1443 * sh-dis.c: Fix formatting.
1445 2000-08-24 David Edelsohn <dje@watson.ibm.com>
1447 * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
1449 2000-08-24 Kazu Hirata <kazu@hxi.com>
1451 * z8k-dis.c: Fix formatting.
1453 2000-08-16 Jim Wilson <wilson@redhat.com>
1455 * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
1456 break, mov-immediate, nop.
1457 * ia64-opc-f.c: Delete fpsub instructions.
1458 * ia64-opc-m.c: Add POSTINC to all instructions with postincrement
1459 address operand. Rewrite using macros to avoid long lines.
1460 * ia64-opc.h (POSTINC): Define.
1461 * ia64-asmtab.c: Regenerate.
1463 2000-08-15 Jim Wilson <wilson@redhat.com>
1465 * ia64-ic.tbl: Add missing entries.
1467 2000-08-08 Jason Eckhardt <jle@redhat.com>
1469 * i860-dis.c (print_br_address): Change third argument from int
1472 2000-08-07 Richard Henderson <rth@redhat.com>
1474 * ia64-dis.c (print_insn_ia64): Get byte skip count correct
1475 for MLI templates. Handle IA64_OPND_TGT64.
1477 2000-08-04 Ben Elliston <bje@redhat.com>
1479 * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
1480 * cgen.sh: Likewise.
1482 2000-08-02 Jim Wilson <wilson@redhat.com>
1484 * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
1486 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
1488 * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
1489 Change return type from void to int. Check the combination
1490 of operands, return 1 if valid. Fix to avoid BUF overflow.
1491 Report undefined combinations of operands in COMMENT.
1492 Report internal errors to stderr. Output the adiw/sbiw
1493 constant operand in both decimal and hex.
1494 (print_insn_avr): Disassemble ldd/std with displacement of 0
1495 as ld/st. Check avr_operand () return value, handle invalid
1496 combinations of operands like unknown opcodes.
1498 2000-07-28 Ben Elliston <bje@redhat.com>
1500 * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
1501 (run-cgen, stamp-m32r, stamp-fr30): New targets.
1502 * Makefile.in: Regenerate.
1503 * configure.in: Add --enable-cgen-maint option.
1504 * configure: Regenerate.
1506 2000-07-26 Dave Brolley <brolley@redhat.com>
1508 * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
1509 (cgen_hw_lookup_by_num): Ditto.
1510 (cgen_operand_lookup_by_name): Ditto.
1511 (print_address): Ditto.
1512 (print_keyword): Ditto.
1513 * cgen-dis.c (hash_insn_array): Mark unused parameters with
1515 * cgen-asm.c (hash_insn_array): Mark unused parameters with
1517 (cgen_parse_keyword): Ditto.
1519 2000-07-22 Jason Eckhardt <jle@redhat.com>
1521 * i860-dis.c: New file.
1522 (print_insn_i860): New function.
1523 (print_br_address): New function.
1524 (sign_extend): New function.
1525 (BITWISE_OP): New macro.
1526 (I860_REG_PREFIX): New macro.
1527 (grnames, frnames, crnames): New structures.
1529 * disassemble.c (ARCH_i860): Define.
1530 (disassembler): Add check for bfd_arch_i860 to set disassemble
1531 function to print_insn_i860.
1533 * Makefile.in (CFILES): Added i860-dis.c.
1534 (ALL_MACHINES): Added i860-dis.lo.
1535 (i860-dis.lo): New dependences.
1537 * configure.in: New bits for bfd_i860_arch.
1539 * configure: Regenerated.
1541 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1543 * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
1544 (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
1545 (cris-dis.lo, cris-opc.lo): New rules.
1546 * Makefile.in: Rebuild.
1547 * configure.in (bfd_cris_arch): New target.
1548 * configure: Rebuild.
1549 * disassemble.c (ARCH_cris): Define.
1550 (disassembler): Support ARCH_cris.
1551 * cris-dis.c, cris-opc.c: New files.
1552 * po/POTFILES.in, po/opcodes.pot: Regenerate.
1554 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1556 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
1557 Reported by Bill Clarke <llib@computer.org>.
1559 2000-07-09 Geoffrey Keating <geoffk@redhat.com>
1561 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
1562 Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
1564 2000-07-09 Alan Modra <alan@linuxcare.com.au>
1566 * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg,
1567 fput_const, extract_3, extract_5_load, extract_5_store,
1568 extract_5r_store, extract_5R_store, extract_10U_store,
1569 extract_5Q_store, extract_11, extract_14, extract_16, extract_21,
1570 extract_12, extract_17, extract_22): Prototype.
1571 (print_insn_hppa): Rename inner block opcode -> opc to avoid
1572 shadowing outer block.
1575 2000-07-05 DJ Delorie <dj@redhat.com>
1579 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
1581 * arm-dis.c (print_insn_arm): Output combinations of PSR flags.
1583 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
1585 * avr-dis.c (avr_operand): Change _ () to _() around all strings
1586 marked for translation (exception from the usual coding style).
1587 (print_insn_avr): Initialize insn2 to avoid warnings.
1589 2000-07-03 Kazu Hirata <kazu@hxi.com>
1591 * h8300-dis.c (bfd_h8_disassemble): Improve readability.
1592 * h8500-dis.c: Fix formatting.
1594 2000-07-01 Alan Modra <alan@linuxcare.com.au>
1596 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1597 (CLEANFILES): Add DEPA.
1598 * Makefile.in: Regenerate.
1600 2000-06-26 Scott Bambrough <scottb@netwinder.org>
1602 * arm-dis.c (regnames): Add an additional register set to match
1603 the set used by GCC. Make it the default.
1605 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1607 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1609 * Makefile.in: Regenerate.
1611 2000-06-20 H.J. Lu <hjl@gnu.org>
1613 * Makefile.am: Rebuild dependency.
1614 * Makefile.in: Rebuild.
1616 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1618 * Makefile.in, configure: regenerate
1619 * disassemble.c (disassembler): Recognize ARCH_m68hc12,
1621 * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
1623 * configure.in: Recognize m68hc12 and m68hc11.
1624 * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
1625 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
1626 and opcode generation for m68hc11 and m68hc12.
1628 2000-06-16 Nick Duffek <nsd@redhat.com>
1630 * disassemble.c (disassembler): Refer to the PowerPC 620 using
1631 bfd_mach_ppc_620 instead of 620.
1633 2000-06-12 Kazu Hirata <kazu@hxi.com>
1635 * h8300-dis.c: Fix formatting.
1636 (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
1639 2000-06-09 Denis Chertykov <denisc@overta.ru>
1641 * avr-dis.c (avr_operand): Bugfix for jmp/call address.
1643 2000-06-07 Denis Chertykov <denisc@overta.ru>
1645 * avr-dis.c: completely rewritten.
1647 2000-06-02 Kazu Hirata <kazu@hxi.com>
1649 * h8300-dis.c: Follow the GNU coding style.
1650 (bfd_h8_disassemble) Fix a typo.
1652 2000-06-01 Kazu Hirata <kazu@hxi.com>
1654 * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo.
1655 (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl]
1656 correctly. Fix a typo.
1658 2000-05-31 Nick Clifton <nickc@redhat.com>
1660 * opintl.h (_(String)): Explain why dgettext is used instead of
1663 2000-05-30 Nick Clifton <nickc@redhat.com>
1665 * opintl.h (gettext, dgettext, dcgettext, textdomain,
1666 bindtextdomain): Replace defines with those from intl/libgettext.h
1667 to quieten gcc warnings.
1669 2000-05-26 Alan Modra <alan@linuxcare.com.au>
1671 * Makefile.am: Update dependencies with "make dep-am"
1672 * Makefile.in: Regenerate.
1674 2000-05-25 Alexandre Oliva <aoliva@redhat.com>
1676 * m10300-dis.c (disassemble): Don't assume 32-bit longs when
1677 sign-extending operands.
1679 2000-05-15 Donald Lindsay <dlindsay@redhat.com>
1681 * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches
1684 2000-05-21 Nick Clifton <nickc@redhat.com>
1686 * Makefile.am (LIBIBERTY): Define.
1688 2000-05-19 Diego Novillo <dnovillo@redhat.com>
1690 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
1691 (STD_REGISTER_NAMES): New name for REGISTER_NAMES.
1692 (reg_names): Rename to std_reg_names. Change it to a char **
1694 (std_reg_names): New name for reg_names.
1695 (set_mips_isa_type): Set reg_names to point to std_reg_names by
1698 2000-05-16 Frank Ch. Eigler <fche@redhat.com>
1700 * fr30-desc.h: Partially regenerated to account for changed
1701 CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
1702 * m32r-desc.h: Ditto.
1704 2000-05-15 Nick Clifton <nickc@redhat.com>
1706 * arm-opc.h: Use upper case for flasg in MSR and MRS
1707 instructions. Allow any bit to be set in the field_mask of
1708 the MSR instruction.
1710 * arm-dis.c (print_insn_arm): Decode _x and _s bits of the
1711 field_mask of an MSR instruction.
1713 2000-05-11 Thomas de Lellis <tdel@windriver.com>
1715 * arm-opc.h: Disassembly of thumb ldsb/ldsh
1716 instructions changed to ldrsb/ldrsh.
1718 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
1720 * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit
1721 target addresses for 'jal' and 'j'.
1723 2000-05-10 Geoff Keating <geoffk@redhat.com>
1725 * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
1726 also available in common mode when powerpc syntax is being used.
1728 2000-05-08 Alan Modra <alan@linuxcare.com.au>
1730 * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args.
1731 (dummy_print_address): Ditto.
1733 2000-05-04 Timothy Wall <twall@redhat.com>
1735 * tic54x-opc.c: New.
1736 * tic54x-dis.c: New.
1737 * disassemble.c (disassembler): Add ARCH_tic54x.
1738 * configure.in: Added tic54x target.
1740 * Makefile.am: Add tic54x dependencies.
1741 * Makefile.in: Ditto.
1743 2000-05-03 J.T. Conklin <jtc@redback.com>
1745 * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
1746 vector unit operands.
1747 (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
1748 unit instruction formats.
1749 (PPCVEC): New macro, mask for vector instructions.
1750 (powerpc_operands): Add table entries for above operand types.
1751 (powerpc_opcodes): Add table entries for vector instructions.
1753 * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
1754 (print_insn_little_powerpc): Likewise.
1755 (print_insn_powerpc): Prepend 'v' when printing vector registers.
1757 2000-04-24 Clinton Popetz <cpopetz@redhat.com>
1759 * configure.in: Add bfd_powerpc_64_arch.
1760 * disassemble.c (disassembler): Use print_insn_big_powerpc for
1763 2000-04-24 Nick Clifton <nickc@redhat.com>
1765 * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow
1768 2000-04-23 Denis Chertykov <denisc@overta.ru>
1770 * avr-dis.c (reg_fmul_d): New. Extract destination register from
1772 (reg_fmul_r): New. Extract source register from FMUL instruction.
1773 (reg_muls_d): New. Extract destination register from MULS instruction.
1774 (reg_muls_r): New. Extract source register from MULS instruction.
1775 (reg_movw_d): New. Extract destination register from MOVW instruction.
1776 (reg_movw_r): New. Extract source register from MOVW instruction.
1777 (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
1778 EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
1780 2000-04-22 Timothy Wall <twall@redhat.com>
1782 * ia64-gen.c (general): Add an ordered table of primary
1783 opcode names, as well as priority fields to disassembly data
1784 structures to enforce a preferred disassembly format based on the
1785 ordering of the opcode tables.
1786 (load_insn_classes): Show a useful message if IC tables are missing.
1787 (load_depfile): Ditto.
1788 * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to
1789 distinguish preferred disassembly.
1790 * ia64-opc-f.c: Reorder some insn for preferred disassembly
1791 format. Fix incorrect flag on fma.s/fma.s.s0.
1792 * ia64-opc.c: Scan *all* disassembly matches and use the one with
1793 the highest priority.
1794 * ia64-opc-b.c: Use more abbreviations.
1795 * ia64-asmtab.c: Regenerate.
1797 2000-04-21 Jason Eckhardt <jle@redhat.com>
1799 * hppa-dis.c (extract_16): New function.
1800 (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
1801 new operand types l,y,&,fe,fE,fx.
1803 2000-04-21 Richard Henderson <rth@redhat.com>
1804 David Mosberger <davidm@hpl.hp.com>
1805 Timothy Wall <twall@redhat.com>
1806 Bob Manson <manson@charmed.cygnus.com>
1807 Jim Wilson <wilson@redhat.com>
1809 * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h.
1810 (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c,
1811 ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c,
1813 (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo.
1814 (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen,
1815 ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules.
1816 * Makefile.in: Rebuild.
1817 * configure Rebuild.
1818 * configure.in (bfd_ia64_arch): New target.
1819 * disassemble.c (ARCH_ia64): Define.
1820 (disassembler): Support ARCH_ia64.
1821 * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl,
1822 ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c,
1823 ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl,
1824 ia64-war.tbl, ia64-waw.tbl: New files.
1826 2000-04-20 Alexandre Oliva <aoliva@redhat.com>
1828 * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
1829 (disassemble): Use them.
1831 2000-04-14 Alan Modra <alan@linuxcare.com.au>
1833 * sysdep.h: Include "ansidecl.h" not <ansidecl.h>
1834 * Makefile.am: Update dependencies.
1835 * Makefile.in: Regenerate.
1837 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1839 * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c,
1840 avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c,
1841 disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c,
1842 i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c,
1843 m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c,
1844 mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c,
1845 ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c,
1846 tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c,
1847 w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove
1848 ansidecl.h as sysdep.h includes it.
1850 2000-04-7 Andrew Cagney <cagney@b1.redhat.com>
1852 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
1853 --enable-build-warnings option.
1854 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1855 * Makefile.in, configure: Re-generate.
1857 2000-04-05 J"orn Rennecke <amylaar@redhat.com>
1859 * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
1860 stc GBR,@-<REG_N> is available for arch_sh1_up.
1861 Group parallel processing insn with identical mnemonics together.
1862 Make three-operand psha / pshl come first.
1864 2000-04-05 J"orn Rennecke <amylaar@redhat.co.uk>
1866 * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
1867 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
1868 (sh_arg_type): Add A_PC.
1869 (sh_table): Update entries using immediates. Add repeat.
1870 * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
1871 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
1873 2000-04-04 Alan Modra <alan@linuxcare.com.au>
1875 * po/opcodes.pot: Regenerate.
1877 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1878 (DEP): Quote when passing vars to sub-make. Add warning message
1880 (DEP1): Rewrite for "gcc -MM".
1881 (CLEANFILES): Add DEP2.
1882 Update dependencies.
1883 * Makefile.in: Regenerate.
1885 2000-04-03 Denis Chertykov <denisc@overta.ru>
1887 * avr-dis.c: Syntax cleanup.
1888 (add0fff): Print the pc relative address as a signed number.
1889 (add03f8): Likewise.
1891 2000-04-01 Ian Lance Taylor <ian@zembu.com>
1893 * disassemble.c (disassembler_usage): Don't use a prototype. Mark
1894 the parameter ATTRIBUTE_UNUSED.
1895 * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
1897 2000-04-01 Alexandre Oliva <aoliva@redhat.com>
1899 * m10300-opc.c: SP-based offsets are always unsigned.
1901 2000-03-29 Thomas de Lellis <tdel@windriver.com>
1903 * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal"
1904 [branch always] instead of "undefined".
1906 2000-03-27 Nick Clifton <nickc@redhat.com>
1908 * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of
1909 short instructions, from end of list of long instructions.
1911 2000-03-27 Ian Lance Taylor <ian@zembu.com>
1913 * Makefile.am (CFILES): Add avr-dis.c.
1914 (ALL_MACHINES): Add avr-dis.lo.
1916 2000-03-27 Alan Modra <alan@linuxcare.com>
1918 * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to
1920 (print_insn_avr): Call function via pointer in K&R compatible way.
1921 (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204,
1922 add0fff, add03f8): Convert to old style function declaration and
1924 (avrdis_opcode): Add prototype.
1926 2000-03-27 Denis Chertykov <denisc@overta.ru>
1928 * avr-dis.c: New file. AVR disassembler.
1929 * configure.in (bfd_avr_arch): New architecture support.
1930 * disassemble.c: Likewise.
1931 * configure: Regenerate.
1933 2000-03-06 J"oern Rennecke <amylaar@redhat.com>
1935 * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
1937 2000-03-02 J"orn Rennecke <amylaar@redhat.co.uk>
1939 * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand
1940 flag to determine if operand is pc-relative.
1942 (d30v_format_table):
1943 (REL6S3): Renamed from IMM6S3.
1944 Added flag OPERAND_PCREL.
1945 (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with
1946 added flag OPERAND_PCREL.
1947 (IMM12S3U): Replaced with REL12S3.
1948 (SHORT_D2, LONG_D): Delay target is pc-relative.
1949 (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r):
1950 Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r,
1951 using the REL* operands.
1952 (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D.
1953 (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B,
1954 LONG_Db, using REL* operands.
1955 (SHORT_U, SHORT_A5S): Removed stray alternatives.
1956 (d30v_opcode_table): Use new *r formats.
1958 2000-02-28 Nick Clifton <nickc@redhat.com>
1960 * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with
1961 'signed_overflow_ok_p'.
1963 2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
1965 * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
1966 name of the libtool directory.
1967 * Makefile.in: Rebuild.
1969 2000-02-24 Nick Clifton <nickc@redhat.com>
1971 * cgen-opc.c (cgen_set_signed_overflow_ok): New function.
1972 (cgen_clear_signed_overflow_ok): New function.
1973 (cgen_signed_overflow_ok_p): New function.
1975 2000-02-23 Andrew Haley <aph@redhat.com>
1977 * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1978 m32r-ibld.c, m32r-opc.h: Rebuild.
1980 2000-02-23 Linas Vepstas <linas@linas.org>
1982 * i370-dis.c, i370-opc.c: New.
1984 * disassemble.c (ARCH_i370): Define.
1985 (disassembler): Handle it.
1987 * Makefile.am: Add support for Linux/IBM 370.
1988 * configure.in: Likewise.
1990 * Makefile.in: Regenerate.
1991 * configure: Likewise.
1993 2000-02-22 Chandra Chavva <cchavva@redhat.com>
1995 * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
1996 ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
1999 2000-02-22 Andrew Haley <aph@redhat.com>
2001 * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
2003 * mips-opc.c (G6): New define.
2004 (mips_builtin_op): Add "move" definition for -gp32.
2006 2000-02-22 Ian Lance Taylor <ian@zembu.com>
2008 From Grant Erickson <gerickso@Brocade.COM>:
2009 * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
2011 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
2013 * dis-buf.c (buffer_read_memory): Change `length' param and all int
2016 2000-02-17 J"orn Rennecke <amylaar@redhat.co.uk>
2018 * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
2019 (print_insn_ppi): Likewise.
2020 (print_insn_shx): Use info->mach to select appropriate insn set.
2021 Add support for sh-dsp. Remove FD_REG_N support.
2022 * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
2023 (sh_arg_type): Likewise. Remove FD_REG_N.
2024 (sh_dsp_reg_nums): New enum.
2025 (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
2026 (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
2027 (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
2028 (arch_sh3_dsp_up): Likewise.
2029 (sh_opcode_info): New field: arch.
2030 (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
2031 D_REG_N. Fill in arch field. Add sh-dsp insns.
2033 2000-02-14 Fernando Nasser <fnasser@totem.to.redhat.com>
2035 * arm-dis.c: Change flavor name from atpcs-special to
2036 special-atpcs to prevent name conflict in gdb.
2037 (get_arm_regname_num_options, set_arm_regname_option,
2038 get_arm_regnames): New functions. API to access the several
2039 flavor of register names. Note: Used by gdb.
2040 (print_insn_thumb): Use the register name entry from the currently
2041 selected flavor for LR and PC.
2043 2000-02-10 Nick Clifton <nickc@redhat.com>
2045 * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR
2047 (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and
2048 "mulsh.h" instructions.
2049 * mcore-dis.c (imsk array): Add masks for MULSH and OPSR
2051 (print_insn_mcore): Add support for little endian targets.
2052 Add support for MULSH and OPSR classes.
2054 2000-02-07 Nick Clifton <nickc@redhat.com>
2056 * arm-dis.c (parse_arm_diassembler_option): Rename again.
2057 Previous delat did not take.
2059 2000-02-03 Timothy Wall <twall@redhat.com>
2061 * dis-buf.c (buffer_read_memory): Use octets_per_byte field
2062 to adjust target address bounds checking and calculate the
2063 appropriate octet offset into data.
2065 2000-01-27 Nick Clifton <nickc@redhat.com>
2067 * arm-dis.c: (parse_disassembler_option): Rename to
2068 parse_arm_disassembler_option and allow to be exported.
2070 * disassemble.c (disassembler_usage): New function: Print out any
2071 target specific disassembler options.
2072 Call arm_disassembler_options() if the ARM architecture is being
2075 * arm-dis.c (NUM_ELEM): Define this macro if not already
2077 (arm_regname): New struct type for ARM register names.
2078 (arm_toggle_regnames): Delete.
2079 (parse_disassembler_option): Use register name structure.
2080 (print_insn): New function: Combines duplicate code found in
2081 print_insn_big_arm and print_insn_little_arm.
2082 (print_insn_big_arm): Call print_insn.
2083 (print_insn_little_arm): Call print_insn.
2084 (print_arm_disassembler_options): Display list of supported,
2085 ARM specific disassembler options.
2087 2000-01-27 Thomas de Lellis <tdel@windriver.com>
2089 * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the
2090 ARM_STT_16BIT flag as Thumb code symbols.
2092 * arm-dis.c (printf_insn_little_arm): Ditto.
2094 2000-01-25 Thomas de Lellis <tdel@windriver.com>
2096 * arm-dis.c (printf_insn_thumb): Prevent double dumping
2097 of raw thumb instructions.
2099 2000-01-20 Nick Clifton <nickc@redhat.com>
2101 * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
2103 2000-01-03 Nick Clifton <nickc@cygnus.com>
2105 * arm-dis.c (streq): New macro.
2106 (strneq): New macro.
2107 (force_thumb): ew local variable.
2108 (parse_disassembler_option): New function: Parse a single, ARM
2109 specific disassembler command line switch.
2110 (parse_disassembler_option): Call parse_disassembler_option to
2111 parse individual command line switches.
2112 (print_insn_big_arm): Check force_thumb.
2113 (print_insn_little_arm): Check force_thumb.
2115 For older changes see ChangeLog-9899
2121 version-control: never