3 * disassemble.c (disassembler_usage): Add invocation of
4 print_mips_disassembler_options.
5 * mips-dis.c: Include libiberty.h.
6 (print_mips_disassembler_options, set_default_mips_dis_options)
7 (parse_mips_dis_option, parse_mips_dis_options, choose_abi_by_name)
8 (choose_arch_by_name, choose_arch_by_number): New functions.
9 (mips_abi_choice, mips_arch_choice): New structures.
10 (mips32_reg_names, mips64_reg_names, reg_names): Remove.
11 (mips_gpr_names_numeric, mips_gpr_names_oldabi)
12 (mips_gpr_names_newabi, mips_fpr_names_numeric)
13 (mips_fpr_names_32, mips_fpr_names_n32, mips_fpr_names_64)
14 (mips_cp0_names_numeric, mips_cp0_names_mips3264)
15 (mips_cp0_names_sb1, mips_abi_choices, mips_arch_choices)
16 (mips_processor, mips_isa, mips_gpr_names, mips_fpr_names)
17 (mips_cp0_names): New variables.
18 (print_insn_args): Use new variables to print GPR, FPR, and CP0
20 (mips_isa_type): Remove.
21 (print_insn_mips): Remove ISA and CPU setup since it is now done...
22 (_print_insn_mips): Here. Remove register setup code, and
23 call set_default_mips_dis_options and parse_mips_dis_options
25 (print_mips16_insn_arg): Use mips_gpr_names instead of mips32_names.
29 * Makefile.in: Regenerate.
33 * cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character
34 check to fix false keyword trigger with names such as <keyword>_foo.
38 * Makefile.am (CGEN_CPUS): New variable.
39 (run-cgen-all): New rule.
40 * Makefile.in: Regenerate.
44 * mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two
45 "dror" entries, and reorder the remaining "dror" and "ror" entries.
49 * xstormy16-asm.c (parse_immediate16): Add prototype.
53 * xstormy16-asm.c: Regenerate.
57 * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
62 * h8500-opc.h (h8500_table): Add missing initializers to quiet
64 * pj-dis.c (print_insn_pj): Adjust for pj_opc_info_t change.
65 * pj-opc.c (pj_opc_info): Add braces around union initializer.
66 * z8kgen.c: Include "libiberty.h".
67 (opt, args, toks): Fix initializer warnings.
68 (chewname): Make "name" a char **. Return mnemonic trimmed of
70 (gas): Improve emitted "DO NOT EDIT" warning. Format emitted
71 opcode_entry_type, and make "nicename" and "name" const. Make
72 z8k_table const too. Formatting. Generate idx as gas needs it.
73 * z8k-opc.h: Regenerate.
77 * m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
78 for 9 and 16-bit PC-relative addressing mode.
82 * ppc-opc.c: Delete evsabs, evsnabs, evsneg, evsadd, evssub,
83 evsmul, evsdiv, evscmpgt, evsgmplt, evststgt, evtstlt, evststeq,
84 evscfui, evscfsi, evscfuf, evscfsf, evsctui, evsctuiz, evsctsi,
85 evsctsiz, evsctuf, evsctsf, evmwhssfaa, evmwhssmaa, evmwhsmfaa,
86 evmwhsmiaa, evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian,
87 evmwhsmfan, evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa,
88 evmwhgsmfaa, evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan,
89 evmwhgsmian, evmwhgumian.
90 (mftb): Add to opcode table.
91 (mtspefscr): Change RT to RS in opcode table.
95 * ppc-opc.c: Move mbar and msync up. Change mask for mbar and
100 * ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction.
101 * ia64-opc-b.c: Add "hint.b" instruction.
102 * ia64-opc-f.c: Add "hint.f" instruction.
103 * ia64-opc-i.c: Add "hint.i" instruction.
104 * ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and
105 "cmp8xchg16" instructions.
106 * ia64-opc-x.c: Add "hint.x" instruction.
108 * ia64-opc.h (AR_CSD): New macro.
110 * ia64-ic.tbl: Update according to SDM2.1.
111 * ia64-raw.tbl: Ditto.
112 * ia64-waw.tbl: Ditto.
114 * ia64-gen.c (in_iclass): Handle "hint" like "nop".
115 (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
116 AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
117 * ia64-asmtab.c: Regenerate.
121 * ppc-opc.c: Remove evmwlssf, evmwlssfa, evmwlsmf, evmwlsmfa,
122 evmwlssfaaw, evmwlsmfaaw, evmwlssfanw, evmwlsfanw.
126 * ppc-opc.c (PMRN): Remove.
128 (powerpc_opcodes): Change PMRN to SPR.
130 Change mftb to look like mftbl.
131 Move mftb before mftbl.
134 Change mfpmr to use PMR.
135 Change mtpmr to use PMR.
137 (insert_ev2): Fix mask and shift.
142 (extract_pmrn): Remove.
143 (insert_pmrn): Remove.
147 * ia64-opc-m.c: Add ld8.mov.
148 * ia64-asmtab.c: Regenerate.
152 * arm-dis.c (print_insn_arm): Constify "insn". Formatting.
153 (print_insn_thumb): Likewise.
154 * h8500-dis.c (print_insn_h8500): Constify "opcode".
155 * mcore-dis.c (print_insn_mcore): Constify "op". Formatting.
156 * ns32k-dis.c (print_insn_arg <case 'F'>): Use a union to avoid
157 type-punned pointer warnings.
158 <case 'L'>: Likewise. Fix error message too.
159 * pdp11-dis.c (print_reg): Warning fix.
160 * sh-dis.c (print_movxy): Constify "op" param.
161 (print_insn_ddt): Constify sh_opcode_info vars.
162 (print_insn_ppi): Likewise.
163 (print_insn_sh): Likewise.
164 * tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid
165 type-punned pointer warnings.
166 * w65-dis.c (print_insn_w65): Constify "op".
170 * m68hc11-dis.c (PC_REGNUM): Define.
171 (print_indexed_operand): Need an adjustment for some PC-relative
172 operand modes; print the final address of PC-relative modes.
173 (print_insn): Take into account movw/movb to adjust the PC-relative
178 *arm-dis.c, cris-dis.c, h8300-dis.c, mips-dis.c, mmix-dis.c, sh-dis.c,
179 sh64-dis.c, v850-dis.c: Replace boolean with bfd_boolean, true with
180 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars
181 with TRUE/FALSE. Formatting.
185 * xstormy16-opc.c: Regenerate.
189 * ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64.
193 * xstormy16-desc.c: Regenerate.
194 * xstormy16-opc.c: Regenerate.
195 * xstormy16-opc.h: Regenerate.
199 * avr-dis.c: Include libiberty.h (for xmalloc).
200 (struct avr_opcodes_s): Remove 'bin_mask' field (it's
201 automatically computed in the init routine).
202 (AVR_INSN): No longer provide bin_mask field in initializer.
203 (avr_opcodes_s): Declare as const.
204 (print_insn_avr): Store the bin_mask field in a separate table
205 (allocated with xmalloc); iterate through it at the same time as
206 we iterate through the opcodes.
210 * h8300-dis.c: Include libiberty.h (for xmalloc).
211 (struct h8_instruction): New type, used to wrap h8_opcodes with a
212 length field (computed at run-time).
213 (h8_instructions): New variable.
214 (bfd_h8_disassemble_init): Allocate the storage for
215 h8_instructions. Fill h8_instructions with pointers to the
216 appropriate opcode and the correct value for the length field.
217 (bfd_h8_disassemble): Iterate through h8_instructions instead of
222 * arc-opc.c (arc_ext_opcodes): Define.
223 (arc_ext_operands): Define.
224 * i386-dis.c (Suffix3DNow): Declare as const.
225 * arm-opc.h (arm_opcodes): Declare as const.
226 (thumb_opcodes): Declare as const.
227 * h8500-opc.h (h8500_table): Declare as const.
228 (h8500_table): Use a NULL for the opcode in the terminator, so
229 that code testing (opcode->name) behaves correctly.
230 * mcore-opc.h (mcore_table): Declare as const.
231 * sh-opc.h (sh_table): Declare as const.
232 * w65-opc.h (optable): Declare as const.
233 * z8k-opc.h (z8k_table): Declare as const.
237 * tic4x-dis.c: Added support for enhanced and special insn.
238 (c4x_print_op): Added insn class 'i' and 'j'
239 (c4x_hash_opcode_special): Add to support special insn
240 (c4x_hash_opcode): Update to support the new opcode-list
241 format. Add support for the new special insns.
242 (c4x_disassemble): New opcode-list support.
246 * m88k-dis.c: Include libiberty.h (for xmalloc).
247 (HASHTAB): New type, used to build instruction hash tables.
248 Contains a pointer to an INSTAB and a pointer to the next hash
250 (instructions): Move definition from m88k.h; remove initialization
252 (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB.
253 (printop): Mark pointer to OPSPEC as const.
254 (install): Remove; fold into init_disasm.
255 (m88kdis): Update to ihashtab_initialized to 1 after calling
256 init_disasm. entry_ptr now iterates through HASHTABs, not
258 (init_disasm): Iterate through the instructions and add to
263 * tic4x-dis.c: (c4x_print_op): Add support for the new argument
264 format. Fix bug in 'N' register printer.
268 * ppc-dis.c (print_insn_powerpc): Correct condition register display.
272 * ppc-opc.c (EVUIMM_4): Change bit size to 32.
278 * Makefile.am (ia64-asmtab.c): Update to use the new '--srcdir'
279 argument to ia64-gen.
280 Regenerate dependencies for ia64-len.lo.
281 * Makefile.in: Regenerate.
282 * ia64-gen.c: Convert to use getopt(). Add the standard GNU
283 options, as well as '--srcdir', which controls the directory in
284 which ia64-gen looks for the sources it uses to generate the
285 output table. Add a 'const' to the declaration of the final
286 output table. Call xmalloc_set_program_name to set the program
288 * ia64-asmtab.c: Regenerate.
292 * ia64-gen.c: Fix comment formatting and compile time warnings.
293 * ia64-opc-a.c: Fix compile time warnings.
294 * ia64-opc-b.c: Likewise.
295 * ia64-opc-d.c: Likewise.
296 * ia64-opc-f.c: Likewise.
297 * ia64-opc-i.c: Likewise.
298 * ia64-opc-m.c: Likewise.
299 * ia64-opc-x.c: Likewise.
303 * opcodes/ppc-opc.c: Change RD to RS for evmerge*.
307 * sparc-opc.c (sparc_opcodes) <fb, fba, fbe, fbz, fbg, fbge,
308 fbl, fble, fblg, fbn, fbne, fbnz, fbo, fbu, fbue, fbug, fbuge,
309 fbul, fbule>: Add conditional/unconditional branch
314 * m68hc11-dis.c (print_insn): Treat bitmask and branch operands
323 * mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
324 (mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
325 and bfd_mach_mips5500.
326 * mips-opc.c (V1): Include INSN_4111 and INSN_4120.
327 (N411, N412, N5, N54, N55): New convenience defines.
328 (mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
329 Change dmadd16 and madd16 from V1 to N411.
333 * mips-dis.c (print_insn_mips): Always allow disassembly of
338 * po/de.po: Updated German translation.
342 * Makefile.am: Run "make dep-am".
343 * Makefile.in: Regenerate.
344 * po/POTFILES.in: Regenerate.
348 * ppc-opc.c (CRFD, CRFS): Add PPC_OPERAND_CR flag so that cr
349 register names are accepted.
353 * tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED.
354 Convert functions to K&R format.
358 * ppc-opc.c (MFDEC2): Include Book-E.
359 (PPCCHLK64): New opcode mask.
360 (evsubw, evsubiw, evmr, evnot, isellt, iselgt, iseleq, mfpid,
361 mfcsrr0, mfcsrr1, mfdear, mfesr, mfivpr, mfusprg0, mftbl,
362 mftbu, mfpir, mfdbsr, mfdbcr0, mfdbcr1, mfdbcr2, mfiac1,
363 mfiac2, mfiac3, mfiac4, mfdac1, mfdac2, mfdvc1, mfdvc2, mftsr,
364 mftcr, mfivor0, mfivor1, mfivor2, mfivor3, mfivor4, mfivor5,
365 mfivor6, mfivor7, mfivor8, mfivor9, mfivor10, mfivor11,
366 mfivor12, mfivor13, mfivor14, mfivor15, mfbbear, mfmcsrr0,
367 mfmcsrr1, mfmcsr, mtpid, mtdecar, mtcsrr0, mtcsrr1, mtdear,
368 mtesr, mtivpr, mtusprg0, mtsprg4, mtsprg5, mtsprg6, mtsprg7,
369 mtdbsr, mtdbcr0, mtdbcr1, mtdbcr2, mtiac1, mtiac2, mtiac3,
370 mtiac4, mtdac1, mtdac2, mtdvc1, mtdvc2, mttsr, mttcr, mtivor0,
371 mtivor1, mtivor2, mtivor3, mtivor4, mtivor5, mtivor6, mtivor7,
372 mtivor8, mtivor9, mtivor10, mtivor11, mtivor12, mtivor13,
373 mtivor14, mtivor15, mtbbear, mtmcsrr0, mtmcsrr1, mtmcsr): New
375 (evfsneg): Fix opcode value.
376 (dcbtstlse, dcbtlse, icblce, dcblce, icbtsle): Use PPCCHLK64
378 (mcrxr64, tlbivaxe, tlbsxe, tlbsxe.): Restrict to 64-bit
380 (extsw): Restrict to 64-bit PPC instruction sets.
381 (extsw.): Does not exist in 64-bit Book-E.
382 (powerpc_macro): Remove mftbl, mftbu and mftb Book-E macros as
383 they are no longer needed.
387 * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC.
391 * po/da.po: Updated Danish translation file.
395 * ppc-opc.c (extsw, extsw.): Do not allow for the BookE32.
399 * disassemble.c (disassembler_usage): Add invocation of
400 print_ppc_disassembler_options.
401 * ppc-dis.c (print_ppc_disassembler_options): New function.
405 * ppc-opc.c: The BookE implementations of the TLBWE and TLBRE
406 instructions do not take any arguments.
410 * v850-opc.c: Remove redundant references to V850EA architecture.
414 * arc-opc.c: Include bfd.h.
415 (arc_get_opcode_mach): Subtract off base bfd_mach value.
419 * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
421 * mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.
425 * configure.in: Added bfd_tic4x_arch.
426 * configure: Regenerate.
427 * Makefile.am: Added tic4x-dis.o target.
428 * Makefile.in: Regenerate.
432 * disassemble.c: Added tic4x target and c4x
433 disassembler routine.
434 * tic4x-dis.c: New file.
438 * z8k-dis.c (unparse_instr): case CLASS_BA: Designate hex
440 * z8kgen.c (opt): Fix definition of "in rd,imm16" opcode.
441 * z8k-opc.h: Regenerated with new z8kgen.c.
447 * ppc-dis.c (powerpc_dialect): Support `-m500', `-m500x2' and
448 `-mefs'. Turn off AltiVec for E500 and efs.
449 (print_insn_powerpc): Don't print an AltiVec instruction if the
452 * ppc-opc.c (insert_pmrn, extract_pmrn, insert_ev2, extract_ev2,
453 insert_ev4, extract_ev4, insert_ev8, extract_ev8): New functions
454 for extracting pmrn/evld/evstd/etc operands.
455 (CRB, CRFD, CRFS, DC, RD): New instruction fields.
456 (CT): Make this equal to RD + 1.
459 (EVUIMM, EVUIMM_2, EVUIMM_4, EVUIMM_8): New operands.
461 (EVSEL, EVSEL_MASK): New instruction form and mask for EVSEL.
462 (ISEL, ISEL_MASK): New instruction form and mask for ISEL.
463 (XISEL, XISEL_MASK): New instruction form and mask for ISEL.
464 (CTX, CTX_MASK): New instruction form and mask for context cache
466 (UCTX, UCTX_MASK): New instruction form and mask for user context
468 (XC, XC_MASK, XUC, XUC_MASK): New instruction forms.
469 (CLASSIC): New define.
470 (PPCESPE): New define.
471 (PPCISEL, , PPCBRLK, PPCPMR, PPCCHLK, PPCRFMI): New
472 defines for integer select, cache control, branch
473 locking, power management, cache locking and machine check
474 APU instructions, respectively.
475 (efsabs, efsnabs, efsneg, efsadd, efssub, efsmul,
476 efsdiv, efscmpgt, efscmplt, efscmpeq, efststgt, efststlt,
477 efststeq, efscfui, efsctuiz, efscfsi, efscfuf, efscfsf,
478 efsctui, efsctsi, efsctsiz, efsctuf, efsctsf,
479 evaddw, evaddiw, evsubfw, evsubifw, evabs, evneg, evextsb,
480 evextsh, evrndw, evcntlzw, evcntlsw, brinc, evand, evandc, evor,
481 evorc, evxor, eveqv, evnand, evnor, evrlw, evrlwi, evslw, evslwi,
482 evsrws, evsrwu, evsrwis, evsrwiu, evsplati, evsplatfi, evmergehi,
483 evmergelo, evmergehilo, evmergelohi, evcmpgts, evcmpgtu, evcmplts,
484 evcmpltu, evcmpeq, evsel, evldd, evlddx, evldw, evldwx, evldh,
485 evldhx, evlwhe, evlwhex, evlwhou, evlwhoux, evlwhos, evlwhosx,
486 evlwwsplat, evlwwsplatx, evlwhsplat, evlwhsplatx, evlhhesplat,
487 evlhhesplatx, evlhousplat, evlhousplatx, evlhossplat, evlhossplatx,
488 evstdd, evstddx, evstdw, evstdwx, evstdh, evstdhx, evstwwe,
489 evstwwex, evstwwo, evstwwox, evstwhe, evstwhex, evstwho, evstwhox,
490 evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, evfsdiv,
491 evfscmpgt, evfscmplt, evfscmpeq, evfststgt, evfststlt, evfststeq,
492 evfscfui, evfsctuiz, evfscfsi, evfscfuf, evfscfsf, evfsctui,
493 evfsctsi, evfsctsiz, evfsctuf, evfsctsf, evsabs, evsnabs, evsneg,
494 evsadd, evssub, evsmul, evsdiv, evscmpgt, evsgmplt, evsgmpeq,
495 evststgt, evststlt, evststeq, evscfui, evscfsi, evscfuf, evscfsf,
496 evsctui, evsctuiz, evsctsi, evsctsiz, evsctuf, evsctsf, evmhossf,
497 evmhossfa, evmhosmf, evmhosmfa, evmhosmi, evmhosmia, evmhoumi,
498 evmhoumia, evmhessf, evmhessfa, evmhesmf, evmhesmfa, evmhesmi,
499 evmhesmia, evmheumi, evmheumia, evmhossfaaw, evmhossiaaw,
500 evmhosmfaaw, evmhosmiaaw, evmhousiaaw, evmhoumiaaw, evmhessfaaw,
501 evmhessiaaw, evmhesmfaaw, evmhesmiaaw, evmheusiaaw, evmheumiaaw,
502 evmhossfanw, evmhossianw, evmhosmfanw, evmhosmianw, evmhousianw,
503 evmhoumianw, evmhessfanw, evmhessianw, evmhesmfanw, evmhesmianw,
504 evmheusianw, evmheumianw, evmhogsmfaa, evmhogsmiaa, evmhogumiaa,
505 evmhegsmfaa, evmhegsmiaa, evmhegumiaa, evmhogsmfan, evmhogsmian,
506 evmhogumian, evmhegsmfan, evmhegsmian, evmhegumian, evmwhssf,
507 evmwhssfa, evmwhssfaa, evmwhssmaa, evmwhsmfaa, evmwhsmiaa,
508 evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, evmwhsmfan,
509 evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, evmwhgsmfaa,
510 evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, evmwhgsmian,
511 evmwhgumian, evmwhsmf, evmwhsmfa, evmshsmi, evmshsmia, evmshumi,
512 evmshumia, evmmlssf, evmmlssfa, evmwlsmf, evmwlsmfa, evmwlumi,
513 evmwlumia, evmwlssfaaw, evmwlssiaaw, evmwlsmfaaw, evmwlsmiaaw,
514 evmwlusiaaw, evmwlumiaaw, evmwissfanw, evmwissianw, evmwlsmfanw,
515 evmwlsmianw, evmwlusianw, evmwlumianw, evmwssf, evmwssfa,
516 evmwsmf, evmwsmfa, evmwsmi, evmwsmia, evmwumi, evmwumia,
517 evmwssfaa, evmwsmfaa, evmwsmiaa, evmwumiaa, evmwssfan, evmwsmfan,
518 evmwsmian, evmwumian, evaddssiaaw, evaddsmiaaw, evaddusiaaw,
519 evaddumiaaw, evsubfssiaaw, evsubfsmiaaw, evsubfusiaaw,
520 evsubfumiaaw, evmra, evdivws, evdivws): New e500x2 Core Complex
522 (rfmci): New machine check APU instruction.
523 (isel): New integer select APU instructino.
524 (icbtls, icbtlse, icblc, icblce, dcbtls, dcbtlse, dcbtstls,
525 dcbtstlse, dcblc, dcblce): New cache control APU instructions.
526 (mtspefscr, mfspefscr): New instructions.
527 (mfpmr, mtpmr): New performance monitor APU instructions.
528 (savecontext): New context cache APU instructions.
529 (bblels, bbelr): New branch locking APU instructions.
530 (bblels, bbelr): New instructions.
531 (mftbl, mftbu, mftb): Set as CLASSIC instructions. Add BOOKE alias.
535 * m68hc11-opc.c: Update call operand to accept the page definition.
536 Identify instructions that are branches and calls to generate a
541 * m68hc11-dis.c (print_insn): Take into account 68HC12 memory
542 banks and fix disassembling of call instruction.
543 (print_indexed_operand): New param to tell whether
544 it was an indirect addressing operand (for disassembling call).
548 * po/sv.po: Updated Swedish translation.
552 * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as
553 aliases to "daddiu" and "addiu".
557 * po/sv.po: Updated Swedish translation.
561 * po/sv.po: Updated Swedish translation.
562 * po/es.po: Updated Spanish translation.
563 * po/pr_BR.po: Updated Brazilian Portuguese translation.
564 * po/tr.po: Updated Turkish translation.
565 * po/fr.po: Updated French translation.
569 * po/sv.po: Updated Swedish translation.
570 * po/es.po: Updated Spanish translation.
571 * po/pr_BR.po: Updated Brazilian Portuguese translation.
575 * Makefile.am: Run "make dep-am".
576 * Makefile.in: Regenerate.
577 * po/POTFILES.in: Regenerate.
581 * po/fr.po: Updated French translation.
582 * po/pr_BR.po: New Brazilian Portuguese translation.
583 * po/id.po: Updated Indonesian translation.
584 * configure.in (LINGUAS): Add pr_BR.
585 * configure: Regenerate.
592 * configure.in: Add support for ip2k.
593 * configure: Regenerate.
594 * Makefile.am: Add support for ip2k.
595 * Makefile.in: Regenerate.
596 * disassemble.c: Add support for ip2k.
597 * ip2k-asm.c: New generated file.
598 * ip2k-desc.c: New generated file.
599 * ip2k-desc.h: New generated file.
600 * ip2k-dis.c: New generated file.
601 * ip2k-ibld.c: New generated file.
602 * ip2k-opc.c: New generated file.
603 * ip2k-opc.h: New generated file.
607 * ia64-opc-b.c (bWhc): New macro.
610 (ia64_opcodes_b): Correct patterns for indirect call
611 instructions to use 3-bit "wh" field.
612 * ia64-asmtab.c: Regnerate.
616 * mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
617 * mips-opc.c (I16): New define.
618 (mips_builtin_opcodes): Make jalx an I16 insn.
622 * po/POTFILES.in: Add frv-*.[ch].
623 * disassemble.c (ARCH_frv): New macro.
624 (disassembler): Handle bfd_arch_frv.
625 * configure.in: Support frv_bfd_arch.
626 * Makefile.am (HFILES): Add frv-*.h.
627 (CFILES): Add frv-*.c
628 (ALL_MACHINES): Add frv-*.lo.
629 (CLEANFILES): Add stamp-frv.
630 (FRV_DEPS): New variable.
631 (stamp-frv): New target.
632 (frv-asm.lo): New target.
633 (frv-desc.lo): New target.
634 (frv-dis.lo): New target.
635 (frv-ibld.lo): New target.
636 (frv-opc.lo): New target.
637 (frv-*.[ch]): New files.
641 * Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen.
642 * Makefile.in: Regenerate.
646 * a29k-dis.c: Replace CONST with const.
647 * h8300-dis.c: Likewise.
648 * m68k-dis.c: Likewise.
649 * or32-dis.c: Likewise.
650 * sparc-dis.c: Likewise.
654 * configure.in: Add "sh5*-*" to list of targets which include
656 * configure: Regenerate.
660 * mips-opc.c: Clean up a few whitespace issues, and sort a
661 few entries understanding that 'x' follows 'w' in the alphabet.
666 * mips-opc.c: Add support for SB-1 MDMX subset and extensions.
670 * Makefile.am: Run "make dep-am".
671 * Makefile.in: Regenerate.
672 * po/POTFILES.in: Regenerate.
677 * mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y',
678 and 'Z' formats, for MDMX.
679 (mips_isa_type): Add MDMX instructions to the ISA
680 bit mask for bfd_mach_mipsisa64.
681 * mips-opc.c: Add support for MDMX instructions.
682 (MX): New definition.
684 * mips-dis.c: Update copyright years to include 2002.
688 * d10v-opc.c (d10v_opcodes): `btsti' does not modify its
693 * configure.in: Add DLX configuraton support.
694 * configure: Regenerate.
695 * Makefile.am: Add DLX configuraton support.
696 * Makefile.in: Regenerate.
697 * disassemble.c: Add DLX support.
698 * dlx-dis.c: New file.
702 * Makefile.am (sh-dis.lo): Don't put make commands in deps.
703 * Makefile.in: Regenerate.
704 * arc-dis.c: Use #include "" instead of <> for local header files.
705 * m68k-dis.c: Likewise.
709 * Makefile.am (sh-dis.lo): Compile with @archdefs@.
710 * Makefile.in: regenerate.
712 * sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4
717 * mips-opc.c (mips_builtin_opcodes): Add drol, dror macros.
721 * disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh.
722 * sh-dis.c (LITTLE_BIT): Delete.
723 (print_insn_sh, print_insn_shl): Deleted.
724 (print_insn_shx): Renamed to
725 (print_insn_sh). No longer static. Handle SHmedia instructions.
726 Use info->endian to determine endianness.
727 * sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete.
728 (print_insn_sh64x): No longer static. Renamed to
729 (print_insn_sh64). Removed pfun_compact and endian arguments.
730 If we got an uneven address to indicate SHmedia, adjust it.
731 Return -2 for SHcompact instructions.
735 * acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools.
736 * configure.in: Invoke AM_INSTALL_LIBBFD.
737 * Makefile.am (install-data-local): Move to..
738 (install_libopcodes): .. New target.
739 (uninstall_libopcodes): Likewise.
740 (install-bfdlibLTLIBRARIES): Likewise.
741 (uninstall-bfdlibLTLIBRARIES): Likewise.
743 (bfdincludedir): New.
744 (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES.
745 * aclocal.m4: Regenerate.
746 * configure: Regenerate.
747 * Makefile.in: Regenerate.
751 * fr30-asm.c: Regenerate.
752 * fr30-desc.c: Regenerate.
753 * fr30-dis.c: Regenerate.
754 * m32r-asm.c: Regenerate.
755 * m32r-desc.c: Regenerate.
756 * m32r-dis.c: Regenerate.
757 * openrisc-asm.c: Regenerate.
758 * openrisc-desc.c: Regenerate.
759 * openrisc-dis.c: Regenerate.
760 * xstormy16-asm.c: Regenerate.
761 * xstormy16-desc.c: Regenerate.
762 * xstormy16-dis.c: Regenerate.
766 * mips-dis.c (is_newabi): EABI is not a NewABI.
770 * configure.in (shle-*-*elf*): Include sh64 support.
771 * configure: Regenerate.
775 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
776 (print_insn_mode): Print some basic info about floating point values.
780 * ppc-opc.c: Add "tlbiel" for POWER4.
784 * cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather
785 than just most-recently-opened.
789 * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.
793 * z8k-dis.c (print_insn_z8k): Set disassemble_info to 2
794 bytes_per_chunk, 6 bytes_per_line for nicer display of the hex
796 (z8k_lookup_instr): CLASS_IGNORE case added.
797 (output_instr): Don't print hex codes, they are already
799 (unpack_instr): ARG_NIM4 case added. ARG_NIM8 case
800 fixed. Support CLASS_BIT_1OR2 and CLASS_IGNORE cases.
801 (unparse_instr): Fix base and indexed addressing disassembly:
802 The index is inside the brackets.
803 * z8kgen.c (gas): Add ARG_NIM4 and CLASS_IGNORE defines.
804 (opt): Fix shift left/right arithmetic/logical byte defines:
805 The high byte of the immediate word is ignored by the
807 Fix n parameter of ldm opcodes: The opcode contains (n-1).
808 (args): Fix "n" entry.
809 (toks): Add "nim4" and "iiii" entries.
810 * z8k-opc.h: Regenerated with new z8kgen.c.
814 * po/id.po: New Indonesian translation.
815 * configure.in (ALL_LIGUAS): Add id.po
816 * configure: Regenerate.
820 * ppc-opc.c (powerpc_opcode): Fix dssall operand list.
824 * dep-in.sed: Cope with absolute paths.
825 * Makefile.am (dep.sed): Subst TOPDIR.
827 * Makefile.in: Regenerate.
828 * ppc-opc.c: Whitespace.
829 * s390-dis.c: Fix copyright date.
833 * ppc-opc.c (vmaddfp): Fix operand order.
837 * Makefile.am: Run "make dep-am".
838 * Makefile.in: Regenerate.
842 * ppc-opc.c: Add optional field to mtmsrd.
843 (MTMSRD_L, XRLARB_MASK): Define.
847 * i386-dis.c (prefix_name): Fix handling of 32bit address prefix
849 (print_insn) Likewise.
850 (putop): Fix handling of 'E'
851 (OP_E, OP_OFF): handle 32bit addressing mode in 64bit.
856 * po/fr.po: Updated version.
860 * mips-opc.c (M3D): Tweak comment.
861 (mips_builtin_op): Add comment indicating that opcodes of the
862 same name must be placed together in the table, and sort
863 the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt",
864 "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name.
868 * Makefile.am: Tidy up sh64 rules.
869 * Makefile.in: Regenerate.
873 * mips-dis.c: Update copyright years.
877 * mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA
878 bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add
879 comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that
880 indicate that they should dissassemble all applicable
882 * mips-opc.c: Add support for MIPS-3D instructions.
883 (M3D): New definition.
885 * mips-opc.c: Update copyright years.
889 * mips-opc.c (mips_builtin_opcodes): Sort bc<N> opcodes by name.
893 * mips-dis.c (is_newabi): Fix ABI decoding.
897 * mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32
898 and bfd_mach_mipsisa64 cases to match the rest.
902 * po/fr.po: Updated version.
906 * ppc-opc.c: Add optional `L' field to tlbie.
907 (XRTLRA_MASK): Define.
911 * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being
914 * mips-opc.c (mips_builtin_opcodes): Add "movn.ps" and "movz.ps".
918 * pdp11-opc.c: Fix "mark" operand type. Fix operand types
919 for float opcodes that take float operands. Add alternate
920 names (xxxD vs. xxxF) for float opcodes.
921 * pdp11-dis.c (print_operand): Clean up formatting for mode 67.
922 (print_foperand): New function to handle float opcode operands.
923 (print_insn_pdp11): Use print_foperand to disassemble float ops.
931 * Makefile.am (install-data-local): Install dis-asm.h.
935 * configure.in (LINGUAS): Add de.po.
936 * configure: Regenerate.
937 * po/de.po: New file.
941 * ppc-dis.c (powerpc_dialect): Handle power4 option.
942 * ppc-opc.c (insert_bdm): Correct description of "at" branch
943 hints. Test PPC_OPCODE_POWER4 to determine branch hint flavour.
944 (extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise.
945 (BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc.
946 (BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise.
947 (PPCCOM32, PPCCOM64): Delete.
948 (NOPOWER4, POWER4): Define.
949 (powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4,
950 and PPCCOM4 with POWER4 so that "at" style branch hint opcodes
951 are enabled for power4 rather than ppc64.
955 * ppc-opc.c (powerpc_operands): Add WS field. Use for tlbre, tlbwe.
959 * s390-dis.c (init_disasm): Use renamed architecture defines.
963 * ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola
968 * po/tr.po: Updated translation.
972 * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo
977 * alpha-opc.c (alpha_opcodes): Add simple pseudos for
982 * po/da.po: Updated translation.
986 * cgen-asm.in (parse_insn_normal): Change call from
987 @arch@_cgen_parse_operand to cd->parse_operand, to
988 facilitate CGEN_ASM_INIT_HOOK doing useful work.
992 * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
997 * Makefile.am: "make dep-am".
998 * Makefile.in: Regenerate.
999 * aclocal.m4: Regenerate.
1000 * config.in: Regenerate.
1001 * configure: Regenerate.
1005 * configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64
1006 support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and
1008 * configure: Regenerate.
1012 * cgen-dis.c: Add prototypes for count_decodable_bits
1013 and add_insn_to_hash_chain.
1017 * configure.in <bfd_sh_arc>: Enable sh64 support on sh-*.
1018 * configure: Rebuilt.
1022 * or32-opc.c: Fix compile time warning messages.
1023 * or32-dis.c: Fix compile time warning messages.
1027 Contribute sh64-elf.
1029 * sh64-opc.c: Regenerate.
1031 * sh64-opc.h: Rename A_RESV_Fx to A_REUSE_PREV so that its
1032 purpose is more obvious.
1033 * sh64-opc.c (shmedia_table): Ditto.
1034 * sh64-dis.c (initialize_shmedia_opcode_mask_table): Ditto.
1035 (print_insn_shmedia): Ditto.
1037 * sh64-opc.c: Adjust comments to reflect reality: replace bits
1038 3:0 with zeros (not "reserved"), replace "rrrrrr" with
1039 "gggggg" for two-operand floating point opcodes. Remove
1042 * sh64-dis.c (print_insn_shmedia) <failing read_memory_func>:
1043 Correct printing of .byte:s. Return number of printed bytes or
1045 (print_insn_sh64x) <not CRT_SH5_ISA16>: Ditto. Print as .byte:s
1046 to next four-byte-alignment if insn or data is not aligned.
1048 * sh64-dis.c: Update comments and fix comment formatting.
1049 (initialize_shmedia_opcode_mask_table) <case A_IMMM>:
1050 Abort instead of setting length to 0.
1051 (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
1052 crange_bsearch_cmpl, sh64_get_contents_type,
1053 sh64_address_in_cranges): Move to bfd/elf32-sh64.c.
1055 * sh64-opc.c: Remove #if 0:d entries for instructions not found in
1056 SH-5/ST50-023-04: fcosa.s, fsrra.s and prefo.
1058 * sh64-dis.c (print_insn_shmedia): Display MOVI/SHORI-formed
1059 address with same prefix as SHcompact.
1060 In the disassembler, use a .cranges section for linked executables.
1061 * sh64-dis.c (SAVED_MOVI_R, SAVED_MOVI_IMM): Move to head of file
1062 and update for using structure in info->private_data.
1063 (struct sh64_disassemble_info): New.
1064 (is_shmedia_p): Delete.
1065 (crange_qsort_cmpb): New function.
1066 (crange_qsort_cmpl, crange_bsearch_cmpb): New functions.
1067 (crange_bsearch_cmpl, sh64_address_in_cranges): New functions.
1068 (init_sh64_disasm_info, sh64_get_contents_type_disasm): New functions.
1069 (sh64_get_contents_type, sh64_address_is_shmedia): New functions.
1070 (print_insn_shmedia): Correct displaying of address after MOVI/SHORI
1071 pair. Display addresses for linked executables only.
1072 (print_insn_sh64x_media): Initialize info->private_data by calling
1073 init_sh64_disasm_info.
1074 (print_insn_sh64x): Ditto. Find out type of contents by calling
1075 sh64_contents_type_disasm. Display data regions using ".long" and
1076 ".byte" similar to unrecognized opcodes.
1078 * sh64-dis.c (is_shmedia_p): Check info->section and look for ISA
1079 information in section flags before considering symbols. Don't
1080 assume an info->mach setting of bfd_mach_sh5 means SHmedia code.
1081 * configure.in (bfd_sh_arch): Check presence of sh64 insns by
1082 matching $target $canon_targets instead of looking at the
1083 now-removed -DINCLUDE_SHMEDIA in $targ_cflags.
1084 * configure: Regenerate.
1086 * sh64-opc.c (shmedia_creg_table): New.
1087 * sh64-opc.h (shmedia_creg_info): New type.
1088 (shmedia_creg_table): Declare.
1089 * sh64-dis.c (creg_name): New function.
1090 (print_insn_shmedia): Use it.
1091 * disassemble.c (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map
1092 bfd_mach_sh5 to print_insn_sh64 if big-endian and to
1093 print_insn_sh64l if little-endian.
1094 * sh64-dis.c (print_insn_shmedia): Make r unsigned.
1095 (print_insn_sh64l): New.
1096 (print_insn_sh64x): New.
1097 (print_insn_sh64x_media): New.
1098 (print_insn_sh64): Break out code to print_insn_sh64x and
1099 print_insn_sh64x_media.
1101 * sh64-opc.h: New file
1102 * sh64-opc.c: New file
1103 * sh64-dis.c: New file
1104 * Makefile.am: Add sh64 targets.
1105 (HFILES): Add sh64-opc.h.
1106 (CFILES): Add sh64-opc.c and sh64-dis.c.
1107 (ALL_MACHINES): Add sh64 files.
1108 * Makefile.in: Regenerate.
1109 * configure.in: Add support for sh64 to bfd_sh_arch.
1110 * configure: Regenerate.
1111 * disassemble.c [ARCH_all] (INCLUDE_SHMEDIA): Define.
1112 (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map bfd_mach_sh5 to
1114 * sh-dis.c (print_insn_shx): Handle bfd_mach_sh5 as arch_sh4.
1115 * po/POTFILES.in: Regenerate.
1116 * po/opcodes.pot: Regenerate.
1120 * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
1124 * sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS.
1128 * Makefile.am: Run "make dep-am"
1129 * Makefile.in: Regenerate.
1133 * or32-dis.c: New file.
1134 * or32-opc.c: New file.
1135 * configure.in: Add support for or32.
1136 * configure: Regenerate.
1137 * Makefile.am: Add support for or32.
1138 * Makefile.in: Regenerate.
1139 * disassemble.c: Add support for or32.
1140 * po/POTFILES.in: Regenerate.
1141 * po/opcodes.pot: Regenerate.
1145 * configure: Regenerated.
1149 * po/fr.po: Updated version.
1153 * po/es.po: Updated version.
1157 * po/da.po: New version.
1161 * po/da.po: New file: Spanish translation.
1162 * configure.in (ALL_LINGUAS): Add da.
1163 * configure: Regenerate.
1167 * fr30-asm.c: Regenerate.
1168 * fr30-desc.c: Likewise.
1169 * fr30-desc.h: Likewise.
1170 * fr30-dis.c: Likewise.
1171 * fr30-ibld.c: Likewise.
1172 * fr30-opc.c: Likewise.
1173 * fr30-opc.h: Likewise.
1174 * m32r-asm.c: Likewise.
1175 * m32r-desc.c: Likewise.
1176 * m32r-desc.h: Likewise.
1177 * m32r-dis.c: Likewise.
1178 * m32r-ibld.c: Likewise.
1179 * m32r-opc.c: Likewise.
1180 * m32r-opc.h: Likewise.
1181 * m32r-opinst.c: Likewise.
1182 * openrisc-asm.c: Likewise.
1183 * openrisc-desc.c: Likewise.
1184 * openrisc-desc.h: Likewise.
1185 * openrisc-dis.c: Likewise.
1186 * openrisc-ibld.c: Likewise.
1187 * openrisc-opc.c: Likewise.
1188 * openrisc-opc.h: Likewise.
1189 * xstormy16-desc.c: Likewise.
1193 * alpha-dis.c (print_insn_alpha): Also mask the base opcode for
1198 * Makefile.am: Run "make dep-am".
1199 * Makefile.in: Regenerate.
1200 * opcodes/po/POTFILES.in: Regenerate.
1204 * arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
1205 * arm-dis.c (print_insn_arm): Don't handle 'h' case.
1209 * arm-opc.h (arm_opcodes): Add bxj instruction.
1213 * po/opcodes.pot: Regenerate.
1214 * po/fr.po: Regenerate.
1215 * po/sv.po: Regenerate.
1216 * po/tr.po: Regenerate.
1220 * po/tr.po: Import new version.
1224 * arm-opc.h (arm_opcodes): Add patterns for VFP instructions.
1225 * arm-dis.c (print_insn_arm): Support new disassembly qualifiers for
1230 * xstormy16-asm.c: Regenerate.
1231 * xstormy16-desc.c: Likewise.
1232 * xstormy16-desc.h: Likewise.
1233 * xstormy16-dis.c: Likewise.
1234 * xstormy16-opc.c: Likewise.
1235 * xstormy16-opc.h: Likewise.
1239 * po/es.po: New file: Spanish translation.
1240 * configure.in (ALL_LINGUAS): Add es.
1241 * configure: Regenerate.
1245 * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
1246 'X', 'M', and 'A'. No longer emit a space after 'x' or 's'.
1247 Always emit a space after 'H'.
1251 * ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.
1255 * alpha-opc.c (unop): Encode with RB as $sp.
1259 * Makefile.am: Add support for xstormy16.
1260 * Makefile.in: Regenerate.
1261 * configure.in: Add support for xstormy16.
1262 * configure: Regenerate.
1263 * disassemble.c: Add support for xstormy16.
1264 * xstormy16-asm.c: New generated file.
1265 * xstormy16-desc.c: New generated file.
1266 * xstormy16-desc.h: New generated file.
1267 * xstormy16-dis.c: New generated file.
1268 * xstormy16-ibld.c: New generated file.
1269 * xstormy16-opc.c: New generated file.
1270 * xstormy16-opc.h: New generated file.
1274 * alpha-opc.c (alpha_opcodes): Add wh64en.
1278 * d10v-opc.c (d10v_predefined_registers): Remove warnings
1279 introduced in Nov 29's patch.
1281 * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of
1284 * d10v-dis.c (print_operand): Disregard OPERAND_SP in register
1287 * d10v-opc.c (RSRC_NOSP): New macro.
1288 (d10v_operands): Add it.
1289 (d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w".
1293 * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
1294 (RSRC_SP): New macro.
1295 (d10v_operands): Add it.
1296 (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.
1300 * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
1301 Also, break out of the loop as soon as an instruction has been
1306 * ppc-opc.c (mfvrsave, mtvrsave): New instructions.
1310 * po/POTFILES.in: Regenerate.
1312 * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC.
1313 (insert_bat, extract_bat, insert_bba, extract_bba,
1314 insert_bd, extract_bd, insert_bdm, extract_bdm,
1315 insert_bdp, extract_bdp, valid_bo,
1316 insert_bo, extract_bo, insert_boe, extract_boe,
1317 insert_ds, extract_ds, insert_de, extract_de,
1318 insert_des, extract_des, insert_li, extract_li,
1319 insert_mbe, extract_mbe, insert_mb6, extract_mb6,
1320 insert_nb, extract_nb, insert_nsi, extract_nsi,
1321 insert_ral, insert_ram, insert_ras,
1322 insert_rbs, extract_rbs, insert_sh6, extract_sh6,
1323 insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param.
1324 (extract_bd, extract_bdm, extract_bdp,
1325 extract_ds, extract_des,
1326 extract_li, extract_nsi): Implement sign extension without conditional.
1327 (insert_bdm, extract_bdm,
1328 insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints.
1329 (extract_bdm, extract_bdp): Correct 32 bit validation.
1330 (AT1_MASK, AT2_MASK): Define.
1331 (BBOAT_MASK): Define.
1332 (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define.
1333 (BOFM64, BOFP64, BOTM64, BOTP64): Define.
1334 (BODNZM64, BODNZP64, BODZM64, BODZP64): Define.
1335 (PPCCOM32, PPCCOM64): Define.
1336 (powerpc_opcodes): Modify existing 32 bit insns with branch hints
1337 and add new patterns to implement 64 bit branches with hints. Move
1338 booke instructions so they match before ppc64.
1340 * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for
1341 64 bit default targets, and parse "32" and "64" in options.
1343 (print_insn_powerpc): Pass dialect to operand->extract.
1347 * cgen-dis.c (count_decodable_bits): New function.
1348 (add_insn_to_hash_chain): New function.
1349 (hash_insn_array): Call add_insn_to_hash_chain.
1350 (hash_insn_list): Call add_insn_to_hash_chain.
1351 * m32r-dis.c: Regenerated.
1352 * fr30-dis.c: Regenerated.
1356 * i386-dis.c (print_insn): Use x86-64 as option.
1360 * disassemble.c (disassembler): Call print_insn_i386.
1361 * i386-dis.c (SUFFIX_ALWAYS): Define.
1362 (struct dis_private): Add orig_sizeflag.
1363 (print_insn_i386): Make it a wrapper, calling..
1364 (print_insn): ..The old body of print_insn_i386. Avoid longjmp
1365 warning without using volatile by moving orig_sizeflag to priv,
1366 and removing inbuf. Parse disassembler_options.
1367 (print_insn_i386_att, print_insn_i386_intel): Move initialisation
1369 (putop): Remove #ifdef SUFFIX_ALWAYS.
1373 * tic54x-dis.c: Use revised opcode structure. Export opcode
1375 (has_lkaddr): Don't forget about Lmem insns.
1376 * tic54x-opc.c: Add emulation trap. Parallel table now uses
1377 standard opcode templates.
1381 * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
1382 to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
1383 category instead of Ew.
1387 * m68k-opc.c: Fix definitions of wddata[bwl].
1391 * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to
1392 fit in the buffer, try to match the empty keyword.
1396 * cgen-ibld.in (extract_1): Fix badly placed #if 0.
1397 * fr30-ibld.c: Regenerate.
1398 * m32r-ibld.c: Regenerate.
1399 * openrisc-ibld.c: Regenerate.
1403 * mips-dis.c (print_insn_mips): Remove spaces at end of line.
1407 * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr".
1408 * configure: Regernate.
1409 * po/fr.po: New file.
1410 * po/sv.po: New file.
1411 * po/tr.po: New file.
1415 * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
1420 * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate
1422 * Makefile.in: Regenerate.
1423 * mmix-dis.c, mmix-opc.c: New files.
1427 * d30v-dis.c: Fix a comment typo.
1431 * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
1432 "bltzall" as writing GPR 31 (since they do).
1434 * mips-dis.c (print_insn_arg): Calculate info->target
1436 (print_insn_mips): Fill in instruction info.
1437 (print_mips16_insn_arg): Remove unneded variable 'val'.
1438 Removed duplicated instruction target calculations,
1439 calculate once and print that result. Use same idiom for
1440 masking the jump segment bits as is used in print_insn_arg.
1444 * ppc-opc.c (CT): Make it an optional operand.
1448 * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
1449 SB-1 binaries include instructions specific to the SB-1.
1450 * mips-opc.c (SB1): New definition.
1451 (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
1452 "recip.ps", "rsqrt.ps", and "sqrt.ps".
1456 * ppc-opc.c (STRM): New AltiVec operand.
1457 (XDSS): New AltiVec instruction form.
1458 (mtvscr): Correct operand list.
1459 (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
1463 * po/POTFILES.in: Regenerate.
1467 * ppc-opc.c (MO): New macro for MO field of mbar instruction.
1468 (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr,
1469 mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
1473 * cgen-ibld.in: Include safe-ctype.h in preference to
1475 * cgen-asm.in: Include safe-ctype.h in preference to
1476 ctype.h. Fix formatting. Use ISSPACE instead of isspace and
1477 TOLOWER instead of tolower.
1478 (@arch@_cgen_build_insn_regex): Remove duplication of syntax
1479 string elements in constructed regular expression.
1480 * fr30-asm.c: Regenerate.
1481 * fr30-desc.c: Regenerate.
1482 * fr30-ibld.c: Regenerate.
1483 * m32r-asm.c: Regenerate.
1484 * m32r-desc.c: Regenerate.
1485 * m32r-ibld.c: Regenerate.
1486 * openrisc-asm.c: Regenerate.
1487 * openrisc-desc.c: Regenerate.
1488 * openrisc-ibld.c: Regenerate.
1489 * po/opcodes.pot: Regenerate.
1493 * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
1494 instruction field instruction/extraction functions for new BookE
1495 DE form instructions.
1496 (CT): New macro for CT field in an X form instruction.
1497 (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
1499 (PPC64): Don't include PPC_OPCODE_PPC.
1500 (403): New opcode macro for PPC403 processors.
1501 (BOOKE): New opcode macro for BookE processors.
1502 (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
1503 (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
1504 (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
1505 (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
1506 (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
1507 (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
1508 (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
1509 (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
1510 (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
1511 (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
1512 (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
1513 (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
1514 (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
1515 (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.
1517 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
1518 for a disassembler option of `booke', `booke32' or `booke64' to enable
1519 BookE support in the disassembler.
1523 * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
1524 for the length when extracting the base part of the insn.
1528 * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive
1529 regular expression. Fix some formatting problems.
1530 * fr30-asm.c: Regenerate.
1531 * openrisc-asm.c: Regenerate.
1532 * m32r-asm.c: Regenerate.
1536 * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly
1537 of indirect register memory accesses to be same format the
1542 * sh-opc.h: Fix encoding of least significant nibble of the
1543 DSP single data transfer instructions.
1545 * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP
1550 * cgen-asm.in: Fix compile time warning messages in generated
1552 * cgen-dis.in: The same.
1553 * cgen-ibld.in: The same.
1554 * fr30-asm.c: Regenerate.
1555 * fr30-desc.c: Regenerate.
1556 * fr30-dis.c: Regenerate.
1557 * fr30-ibld.c: Regenerate.
1558 * fr30-opc.c: Regenerate.
1559 * m32r-asm.c: Regenerate.
1560 * m32r-desc.c: Regenerate.
1561 * m32r-dis.c: Regenerate.
1562 * m32r-ibld.c: Regenerate.
1563 * m32r-opc.c: Regenerate.
1564 * m32r-opinst.c Regenerate.
1565 * openrisc-asm.c: Regenerate.
1566 * openrisc-desc.c: Regenerate.
1567 * openrisc-dis.c: Regenerate.
1568 * openrisc-ibld.c: Regenerate.
1569 * openrisc-opc.c: Regenerate.
1570 * openrisc-opc.h: Regenerate.
1571 * Makefile.in: Regenerate.
1572 * po/POTFILES.in: Regenerate.
1573 * po/opcodes.pot: Regenerate.
1577 * arm-opc.h (arm_opcodes): Add cirrus insns.
1579 * arm-dis.c (print_insn_arm): Add 'I' case.
1583 * po/POTFILES.in: Regenerate.
1584 * configure: Regenerate.
1588 * Makefile.am (Makefile): Depend on bfd/configure.in.
1590 * Makefile.in: Regenerate.
1594 * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits
1595 calls to cgen_get_insn_value and cgen_put_insn_value calls.
1596 (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call.
1600 * Makefile.am: Update dependencies with "make dep-am".
1601 * Makefile.in: Regenerate.
1605 * arc-dis.c: Formatting fixes.
1606 (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1610 * arc-dis.c: Don't include <ctype.h>.
1611 * openrisc-desc.c: Likewise.
1612 * openrisc-ibld.c: Likewise.
1616 * fr30-opc.c: Fix compile time warning messages.
1617 * i370-opc.c: Fix compile time warning messages.
1618 * i960-dis.c: Fix compile time warning messages.
1619 * m32r-asm.c: Fix compile time warning messages.
1620 * m32r-desc.c: Fix compile time warning messages.
1621 * m32r-dis.c: Fix compile time warning messages.
1622 * m32r-ibld.c: Fix compile time warning messages.
1623 * m32r-opc.c: Fix compile time warning messages.
1624 * m32r-opinst.c: Fix compile time warning messages.
1625 * ns32k-dis.c: Fix compile time warning messages.
1626 * openrisc-asm.c: Fix compile time warning messages.
1627 * openrisc-desc.c: Fix compile time warning messages.
1628 * openrisc-dis.c: Fix compile time warning messages.
1629 * openrisc-ibld.c: Fix compile time warning messages.
1630 * openrisc-opc.c: Fix compile time warning messages.
1631 * pdp11-dis.c: Fix compile time warning messages.
1632 * tic54x-dis.c: Fix compile time warning messages.
1633 * v850-opc.c: Fix compile time warning messages.
1634 * vax-dis.c: Fix compile time warning messages.
1635 * w65-opc.h: Fix compile time warning messages.
1636 * z8k-opc.h: Fix compile time warning messages.
1637 * z8kgen.c: Fix compile time warning messages.
1641 * arm-dis.c: Fix compile time warning messages.
1642 * cgen-asm.c: Fix compile time warning messages.
1643 * cgen-dis.c: Fix compile time warning messages.
1644 * cris-dis.c: Fix compile time warning messages.
1645 * d10v-dis.c: Fix compile time warning messages.
1646 * fr30-asm.c: Fix compile time warning messages.
1647 * fr30-desc.c: Fix compile time warning messages.
1648 * fr30-dis.c: Fix compile time warning messages.
1649 * fr30-ibld.c: Fix compile time warning messages.
1653 * cgen-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1654 (cgen_parse_keyword): Use ISALNUM instead of isalnum.
1655 * cgen-opc.c: Include "safe-ctype.h" instead of <ctype.h>.
1656 (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of
1658 (cgen_keyword_add): Use ISALNUM instead of isalnum.
1659 (hash_keyword_name): Use TOLOWER instead of tolower.
1660 * fr30-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1661 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
1663 (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace.
1664 * fr30-desc.c: Don't include <ctype.h>.
1665 * fr30-ibld.c: Likewise.
1666 * ia64-gen.c: Include "safe-ctype.h" instead of <ctype.h>.
1667 (load_insn_classes, parse_resource_users, load_depfile): Use
1668 ISSPACE instead of isspace.
1669 * m32r-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1670 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
1672 (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace.
1673 * m32r-desc.c: Don't include <ctype.h>.
1674 * m32r-ibld.c: Likewise.
1675 * openrisc-asm.c: Include "safe-ctype.h" instead of <ctype.h>.
1676 (parse_insn_normal): Use TOLOWER/ISSPACE instead of
1678 (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace.
1682 * Makefile.am: Add rules and dependencies to create the s/390 opcode
1683 table out of s390-opc.txt automatically.
1684 * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used.
1685 * s390-mkopc.c (dumpTable): Change output to create a complete file.
1686 * s390-opc.c: New improved opcode format macros and remove the
1687 pregenerated opcode table.
1688 * s390-opc.txt: Adapt to new improved opcode format macros.
1692 * ppc-opc.c (VXA, VXA_MASK): Fix mask bits.
1696 * i386-dis.c (grps): Don't print the implicit al/ax/eax register
1697 for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
1702 * mips-dis.c: Add support for bfd_mach_mipsisa32 and
1703 bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
1708 * tic54x-opc.c: Add default initializers to avoid warnings.
1710 * arc-opc.c: Include "sysdep.h" to get stdio.h as include file.
1711 * arc-ext.c: Likewise.
1715 * ppc-opc.c (icbt): Order correctly.
1720 * ppc-opc.c (DS): Add PPC_OPERAND_DS flag.
1722 (insert_ds): Complain if not a multiple of 4.
1724 (XSYNC_MASK): Define.
1725 (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev",
1726 "slbmfee". Modify "sync" to use XSYNC_MASK and LS.
1730 * h8500-opc.h: Add default initializers to h8500_table to shut up
1735 * tic54x-dis.c: Add unused attributes where needed.
1737 * z8k-dis.c (output_instr): Add unused attribute.
1739 * h8300-dis.c: Add missing prototypes.
1740 (bfd_h8_disassemble): Make static.
1742 * cris-dis.c: Add missing prototype.
1743 * h8500-dis.c: Likewise.
1744 * m68hc11-dis.c: Likewise.
1745 * pj-dis.c: Likewise.
1746 * tic54x-dis.c: Likewise.
1747 * v850-dis.c: Likewise.
1748 * vax-dis.c: Likewise.
1749 * w65-dis.c: Likewise.
1750 * z8k-dis.c: Likewise.
1752 * d10v-dis.c: Add missing prototype.
1753 (dis_long): Remove unused variable.
1754 (dis_2_short): Likewise.
1756 * sh-dis.c: Add missing prototypes.
1757 * v850-opc.c: Likewise.
1758 Add unused attributes where needed.
1760 * ns32k-dis.c: Add missing prototypes.
1761 (bit_extract_simple): Remove unused variable.
1765 * opcodes/s390-opc.c: Add "low or high" and "not low or high"
1766 branch instructions for gcc 3.0.
1767 * opcodes/s390-opc.txt: Likewise.
1771 * i960-dis.c: Add parameters for prototypes
1772 (ctrl): Add unused attributes.
1774 (put_abs): Likewise.
1776 * mips-dis.c: Add missing prototypes.
1777 * a29k-dis.c: Likewise.
1778 * arc-dis.c: Likewise.
1779 * ia64-opc.c: Likewise.
1781 * s390-dis.c: Add missing prototypes.
1782 (init_disasm): Remove unused attribute since the parameter is
1787 * mips-opc.c (M1): Define. Reformatted Code.
1788 (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps,
1793 * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
1794 the corresponding non-likely insn is in MIPS I.
1798 * mcore-dis.c: Fix formatting.
1799 * mips-dis.c: Likewise.
1800 * pj-dis.c: Likewise.
1801 * z8k-dis.c: Likewise.
1805 * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
1806 to *VALUEP. Regenerate all cgen files.
1810 * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
1812 * mips-opc.c (G6): Undefine.
1813 (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro
1814 as the first "move" alternative.
1818 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1820 * configure: Regenerate.
1824 * ppc-opc.c: Revert 2001-08-08.
1828 * dis-buf.c (generic_strcat_address): Add missing prototype.
1829 #if 0 the functions as it is unused.
1834 * ppc-opc.c: Include "bfd.h".
1835 (powerpc_operands): Add new field for reloc type.
1839 * mips-dis.c (print_insn_arg): Don't use software integer registers
1840 for coprocessor registers.
1841 (get_mips_isa): Removed.
1842 (is_newabi): New function, checks if NewABI is used.
1843 (_print_insn_mips): Get distinction between old ABI and new ABI right.
1847 * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to
1848 get stderr definition.
1849 (internal, gas): Removed warnings.
1850 (gas): Create a correct final entry for created array.
1851 * z8k-opc.h: Recreated with new z8kgen.
1855 * i386-dis.c: Fix formatting.
1859 * i386-dis.c: Change formatting conventions for architecture
1860 i386:intel to better match the format of various intel i386
1861 assemblers, like nasm, tasm or masm.
1865 * Makefile.am: Update dependencies with "make dep-am".
1866 * Makefile.in: Regenerate
1870 * alpha-dis.c: Fix formatting.
1871 * cris-dis.c: Likewise.
1872 * d10v-dis.c: Likewise.
1873 * d30v-dis.c: Likewise.
1874 * m10300-dis.c: Likewise.
1875 * tic54x-dis.c: Likewise.
1879 * m68k-dis.c: Fix formatting.
1880 * pj-dis.c: Likewise.
1881 * s390-dis.c: Likewise.
1882 * z8k-dis.c: Likewise.
1886 * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
1887 into the rest of the surrounding definitions.
1891 * i386-dis.c (grps): Print l or w suffix, and require mem modrm
1892 for lgdt, lidt, sgdt, sidt.
1896 * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
1900 * cgen-asm.in: Include "xregex.h" always to enable the libiberty
1902 (@arch@_cgen_build_insn_regex): New routine from Graydon.
1903 (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
1904 to verify if it is worth parsing the insn as insn "x". Also update
1905 error message when insn is not a recognized format of the insn vs
1906 when the insn is completely unrecognized.
1910 * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
1912 * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
1913 non-zero CGEN_CPU_DESC->insn_chunk_bitsize.
1917 * i386-dis.c (set_op): Handle 64 bit and 32 bit mode.
1918 (OP_J): Use bfd_vma for mask to work properly with 64 bits.
1919 (op_address,op_riprel): Use bfd_vma to handle 64 bits.
1923 * Makefile.am (CPUDIR): Define.
1924 (stamp-m32r): Update dependencies.
1925 (stamp-fr30): Ditto.
1926 (stamp-openrisc): Ditto.
1927 * Makefile.in: Regenerate.
1931 * ppc-opc.c: Fix encoding of 'clf' instruction.
1935 * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
1939 * cgen-asm.c (cgen_parse_keyword): Allow any first character.
1940 * cgen-opc.c (cgen_keyword_add): Ignore special first
1941 character when building nonalpha_chars field.
1945 * m88k-dis.c: Format to conform to GNU coding standards.
1949 * disassemble.c (disassembler_usage): Add unused attribute.
1953 * mips-opc.c: Move prefx to start of the table.
1957 * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST
1962 * m68k-opc.c: Add wdebug instruction.
1966 * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.
1970 * cgen-asm.c (cgen_parse_keyword): When looking for the
1971 boundaries of a keyword, allow any special characters
1972 that are actually in one of the allowed keyword.
1973 * cgen-opc.c (cgen_keyword_add): Add any special characters
1974 to the nonalpha_chars field.
1978 * s390-opc.c: Add lgh instruction.
1979 * s390-opc.txt: Likewise.
1983 * i386-dis.c: Group function prototypes in one place.
1984 (FLOATCODE): Redefine as 1.
1985 (USE_GROUPS): Redefine as 2.
1986 (USE_PREFIX_USER_TABLE): Redefine as 3.
1987 (X86_64_SPECIAL): Define as 4.
1988 (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2.
1989 (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE.
1990 (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete.
1991 (dis386): New table combining above four tables.
1992 (dis386_twobyte_att, dis386_twobyte_intel): Delete.
1993 (dis386_twobyte): New table combining above two tables.
1994 (x86_64_table): New table to handle x86_64.
1996 (float_mem_att, float_mem_intel): Delet.
1997 (float_mem): New table combining above two tables.
1998 (print_insn_i386): Modify for above.
1999 (dofloat): Likewise.
2000 (putop): Handle '{', '|' and '}' to select alternative mnemonics.
2001 Return 0 on success, 1 if no valid alternative.
2002 (putop <case 'F'>, <case 'H'>): Print nothing for intel_syntax.
2003 (putop <case 'T'>): Move to case 'U', and share case 'Q' code.
2004 (putop <case 'I'>): Move to case 'T', and share case 'P' code.
2005 (OP_REG <case rAX_reg .. rDI_reg>): Handle as for eAX_reg .. eDI_reg
2007 (OP_I <case q_mode>): Handle as for v_mode if not 64-bit mode.
2008 (OP_I64): If not 64-bit mode, call OP_I.
2009 OP_OFF64): If not 64-bit mode, call OP_OFF.
2010 (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename
2011 'ignore'/'ignored' to 'bytemode'.
2015 * configure.in: Sort 'ta' case statement.
2016 * configure: Regenerate.
2018 * i386-dis.c (dis386_att): Add 'H' to conditional branch and
2020 (disx86_64_att): Likewise.
2021 (dis386_twobyte_att): Likewise.
2022 (print_insn_i386): Don't print branch hints as a prefix.
2023 (putop): 'H' macro prints branch hints.
2024 (get64): Kill compile warnings.
2028 * sh-opc.h (sh_table): Don't use empty initializers.
2032 * z8k-dis.c: Fix formatting.
2033 (unpack_instr): Remove unused cases in switch statement. Add
2034 safety abort() in default case.
2035 (unparse_instr): Add safety abort() in default case.
2039 * m68k-dis.c (print_insn_m68k): Fix typo.
2040 * m68k-opc.c (m68k_opcodes): Correct allowed operands for
2041 mcf (ColdFire) div, rem and moveb instructions.
2045 * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
2046 (cond_jump_mode, loop_jcxz_mode): Define.
2047 (dis386_att): Add cond_jump_flag and loop_jcxz_flag as
2048 appropriate, and 'F' suffix to loop insns.
2049 (disx86_64_att): Likewise.
2050 (dis386_twobyte_att): Likewise.
2051 (print_insn_i386): Don't output addr prefix for loop, jcxz insns.
2052 Output data size prefix for long conditional jumps. Output cs and
2054 (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
2055 (OP_J): Don't make PREFIX_DATA used.
2059 * sh-opc.h (sh_table): Complete last element entry to avoid
2064 * mips-dis.c (mips_isa_type): Add MIPS r12k support.
2068 * arc-opc.c: Whitespace changes.
2072 * cris-opc.c (cris_spec_regs): Add missing initializer field for
2077 * cgen-dis.in (extract_normal): Complete support for min<base case.
2081 * mips-dis.c (INSNLEN): Rename MAXLEN.
2082 (std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
2083 (print_insn_arg): Remove $ prefix of register names.
2084 (set_mips_isa_type): Remove.
2085 (mips_isa_type): New function.
2086 (get_mips_isa): New Function.
2087 (print_insn_mips): Rename _print_insn_mips.
2088 (_print_insn_mips): New function, contains code which was
2089 duplicated in print_insn_big_mips and print_insn_little_mips.
2090 (print_insn_big_mips): Moved code to _print_insn_mips.
2091 (print_insn_little_mips): Likewise.
2092 (print_mips16_insn_arg): Remove $ prefix of register names.
2093 Print error message before abort.
2097 * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
2098 simplified mnemonics used for setting PPC750-specific special
2103 * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
2108 * arc-opc.c (arc_reg_names): Correct attribute for lp_count
2109 register to r/w. Formatting fixes throughout file.
2113 * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
2115 (twobyte_has_modrm): Update table.
2116 (need_modrm): Give it file scope.
2117 (MODRM_CHECK): Define.
2118 (dofloat): Use MODRM_CHECK.
2125 * cgen-dis.in (default_print_insn): Tolerate min<base instructions
2126 even at end of a section.
2127 * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
2128 by ignoring precariously-unpacked insn_value in favor of raw buffer.
2132 * disassemble.c (disassembler_usage): Remove unused attribute.
2136 * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
2140 * cgen-dis.in (print_insn): Remove call to read_insn. Instead,
2141 assume incoming buffer already has the base insn loaded. Handle
2142 smaller-than-base instructions for variable-length case.
2146 * i386-dis.c (Ev, Ed): Remove duplicate define.
2149 (OP_XS): New function.
2150 (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and
2152 (dis386_twobyte_intel): Likewise.
2153 (prefix_user_table): Use MS for maskmovq operand.
2157 * Makefile.am: Add OpenRISC target.
2158 * Makefile.in: Regenerated.
2160 * disassemble.c (disassembler): Recognize the OpenRISC disassembly.
2162 * configure.in (bfd_openrisc_arch): Add target.
2163 * configure: Regenerated.
2165 * openrisc-asm.c: New file.
2166 * openrisc-desc.c: Likewise.
2167 * openrisc-desc.h: Likewise.
2168 * openrisc-dis.c: Likewise.
2169 * openrisc-ibld.c: Likewise.
2170 * openrisc-opc.c: Likewise.
2171 * openrisc-opc.h: Likewise.
2175 * z8k-dis.c: add names of control registers (ctrl_names);
2176 (seg_length): provides instruction length fixup for segmented
2177 mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12,
2178 CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases;
2179 (unparse_intr): handle CLASS_PR, print addresses without '#'
2180 * z8k-opc.h: re-created with new z8kgen
2181 * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new
2182 entries for ldctl/ldctlb instruction
2186 * i386-dis.c: Add ffreep instruction.
2190 * ppc-opc.c (insert_mbe): Shift mask initializer as long.
2194 * i386-dis.c (PREGRP25): Define.
2195 (dis386_twobyte_att): Use here in place of "movntq" entry.
2196 (dis386_twobyte_intel): Likewise.
2197 (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq".
2199 (dis386_twobyte_att): Use here.
2200 (dis386_twobyte_intel): Likewise.
2201 (prefix_user_table): Add PREGRP26 entry for "punpcklqdq".
2202 (prefix_user_table <maskmovdqu>): XM operand, not MX.
2203 (prefix_user_table): Cosmetic changes to "bad" entries.
2207 * mips-opc.c: Remove extraneous whitespace.
2208 * mips-dis.c: Remove extraneous whitespace.
2212 * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
2213 declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
2214 * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
2215 to allay a compiler warning.
2219 * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq.
2220 (dis386_twobyte_intel): Likewise.
2221 (twobyte_has_modrm): Set entry for paddq, psubq.
2225 * cgen-dis.in (print_insn_@arch@): Add support for target machine
2226 determination via CGEN_COMPUTE_MACH.
2227 * fr30-desc.c: Regenerate.
2228 * fr30-dis.c: Regenerate.
2229 * fr30-opc.h: Regenerate.
2230 * m32r-desc.c: Regenerate.
2231 * m32r-dis.c: Regenerate.
2232 * m32r-opc.h: Regenerate.
2233 * m32r-opinst.c: Regenerate.
2237 * configure.in: Remove the redundent AC_ARG_PROGRAM.
2238 * configure: Rebuild.
2242 * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
2243 notestr if larger than xsect.
2244 (in_class): Handle format M5.
2245 * ia64-asmtab.c: Regnerate.
2249 * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer
2250 has more than one byte left to read.
2254 * s390-opc.c: Add new opcodes. Smooth out formatting.
2255 * s390-opc.txt: Add new opcodes.
2259 * arm-dis.c (print_insn_thumb): Compute destination address
2260 of BLX(1) instruction by taking bit 1 from PC and not from bit
2265 * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs
2266 so command line switches will work.
2270 * fr30-asm.c: Regenerate.
2271 * fr30-desc.c: Regenerate.
2272 * fr30-desc.h: Regenerate.
2273 * fr30-dis.c: Regenerate.
2274 * fr30-ibld.c: Regenerate.
2275 * fr30-opc.c: Regenerate.
2276 * fr30-opc.h: Regenerate.
2277 * m32r-asm.c: Regenerate.
2278 * m32r-desc.c: Regenerate.
2279 * m32r-desc.h: Regenerate.
2280 * m32r-dis.c: Regenerate.
2281 * m32r-ibld.c: Regenerate.
2282 * m32r-opc.c: Regenerate.
2283 * m32r-opc.h: Regenerate.
2284 * m32r-opinst.c: Regenerate.
2288 * m68k-opc.c: fix cpushl according to Motorola. Enable
2289 bunch of instructions for Coldfire 5407 and add all new.
2293 * configure.in (BFD_VERSION): Do without grep.
2294 * configure: Regenerate.
2295 * Makefile.am: Run "make dep-am".
2296 * Makefile.in: Regenerate.
2300 * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
2301 * ia64-asmtab.c: Regenerate.
2305 * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
2306 separate variants: one for IMM22 and the other for IMM14.
2307 * ia64-asmtab.c: Regenerate.
2311 * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
2315 * Makefile.am (ia64-ic.tbl): Remove the target.
2316 (ia64-raw.tbl): Likewise.
2317 (ia64-waw.tbl): Likewise.
2318 (ia64-war.tbl): Likewise.
2319 (ia64-asmtab.c): Generate it in the source directory.
2320 * Makefile.in: Regenerated.
2324 * Makefile.am: Add PDP-11 target.
2325 * configure.in: Likewise.
2326 * disassemble.c: Likewise.
2327 * pdp11-dis.c: New file.
2328 * pdp11-opc.c: New file.
2332 * ia64-ic.tbl: Update from Intel. Add setf to fr-writers.
2333 * ia64-asmtab.c: Regenerate.
2337 * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
2343 * mips-dis.c (print_insn_arg): Use top four bits of the address of
2344 the following instruction not of the jump itself for the jump
2346 (print_mips16_insn_arg): Likewise.
2350 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
2352 * Makefile.in: Regenerate.
2356 * Makefile.am: Add linux target for S/390.
2357 * Makefile.in: Likewise.
2358 * configure.in: Likewise.
2359 * disassemble.c: Likewise.
2360 * s390-dis.c: New file.
2361 * s390-mkopc.c: New file.
2362 * s390-opc.c: New file.
2363 * s390-opc.txt: New file.
2367 * ia64-asmtab.c: Revert 2000-12-16 change.
2371 * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
2372 * m32r-desc.h: Regenerate.
2376 * i386-dis.c (dis386_att, grps): Use 'T' for push/pop
2377 (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
2381 * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types.
2385 * disassemble.c: Remove spurious white space.
2389 * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
2394 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
2395 * Makefile.am (C_FILES): Add arc-ext.c.
2396 (ALL_MACHINES) Add arc-ext.lo.
2397 (INCLUDES) Add opcode directory to list.
2398 New dependency entry for arc-ext.lo.
2399 * disassemble.c (disassembler): Correct call to
2400 arc_get_disassembler.
2401 * arc-opc.c: New update for ARC, including full base
2402 instructions for ARC variants.
2403 * arc-dis.h, arc-dis.c: New update for ARC, including
2404 extensibility functionality.
2405 * arc-ext.h, arc-ext.c: New files for handling extensibility.
2409 * i386-dis.c (PREGRP15 - PREGRP24): New.
2410 (dis386_twobyt): Add SSE2 instructions.
2411 (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
2412 (twobyte_uses_f3_prefix): ... this one.
2413 (grps): Add SSE instructions.
2414 (prefix_user_table): Add two new slots; add SSE2 instructions.
2415 (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
2416 Handle the REPNZ and Data16 prefixes as well; do proper lookup
2417 to prefix_user_table.
2418 (OP_E): Accept mfence and lfence as well.
2419 (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
2420 (OP_XMM): Support REX extensions.
2426 * arm-dis.c (print_insn): Set pc to zero for instructions with
2427 a reloc associated with them.
2431 * cgen-asm.in (parse_insn_normal): Changed syn to be
2432 CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn
2433 as character to use CGEN_SYNTAX_CHAR macro and all comparisons
2434 to '\0' to use 0 instead.
2435 * cgen-dis.in (print_insn_normal): Ditto.
2436 * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
2440 * i386-dis.c: Add x86_64 support.
2441 (rex): New static variable.
2442 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
2443 (USED_REX): New macro.
2444 (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
2445 (OP_I64, OP_OFF64, OP_IMREG): New functions.
2446 (OP_REG, OP_OFF): Declare.
2447 (get64, get32, get32s): New functions.
2448 (r??_reg): New constants.
2449 (dis386_att): Change templates of instruction implicitly promoted
2450 to 64bit; change e?? to RMe?? for unwind RM byte instructions.
2452 (dis386_intel): Likewise.
2453 (dixx86_64_att): New table based on dis386_att.
2454 (dixx86_64_intel): New table based on dis386_intel.
2455 (names64, names8rex): New global variable.
2456 (names32, names16): Add extended registers.
2457 (prefix_user_t): Recognize rex prefixes.
2458 (prefix_name): Print REX prefixes nicely.
2459 (op_riprel): New global variable.
2460 (start_pc): Set type to bfd_vma.
2461 (print_insn_i386): Detect the 64bit mode and use proper table;
2462 move ckprefix after initializing the buffer; output unused rex prefixes;
2463 output information about target of RIP relative addresses.
2464 (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
2465 (print_operand_value): New function.
2466 (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
2467 REX prefix and new modes.
2468 (get64, get32s): New.
2469 (get32): Return bfd_signed_vma type.
2470 (set_op): Initialize the op_riprel.
2471 * disassemble.c (disassembler): Recognize the x86-64 disassembly.
2475 cgen-dis.in (read_insn): Use bfd_get_bits()
2479 * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
2480 (hash_insn_list): Likewise
2481 * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
2482 (extract_1): Use bfd_get_bits().
2483 (extract_normal): Apply sign extension to both extraction
2485 * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
2486 (cgen_put_insn_value): Use bfd_put_bits()
2490 * cgen-asm.in (parse_insn_normal): Print better error message for
2491 instructions with missing operands.
2495 * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
2499 * Makefile.in: Regenerate.
2500 * aclocal.m4: Regenerate.
2501 * config.in: Regenerate.
2502 * configure.in: Add spacing.
2503 * configure: Regenerate.
2504 * ia64-asmtab.c: Regenerate.
2505 * po/opcodes.pot: Regenerate.
2509 * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
2510 error messages over later parse-time ones.
2514 * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
2516 * ia64-gen.c (insert_deplist): Cast sizeof result to int.
2517 (print_dependency_table): Print NULL if semantics field not set.
2518 (insert_opcode_dependencies): Mark cmp parameter as unused.
2519 (print_main_table): Use fprintf_vma to print long long fields.
2520 (main): Mark argv paramter as unused. Convert to old style definition.
2521 * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
2522 * ia64-asmtab.c: Regnerate.
2526 * m32r-dis.c (print_insn): Prevent re-read of instruction from
2529 * fr30-dis.c: Regenerate.
2533 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
2534 * Makefile.am (C_FILES): Add arc-ext.c.
2535 (ALL_MACHINES) Add arc-ext.lo.
2536 (INCLUDES) Add opcode directory to list.
2537 New dependency entry for arc-ext.lo.
2538 * disassemble.c (disassembler): Correct call to
2539 arc_get_disassembler.
2540 * arc-opc.c: New update for ARC, including full base
2541 instructions for ARC variants.
2542 * arc-dis.h, arc-dis.c: New update for ARC, including
2543 extensibility functionality.
2544 * arc-ext.h, arc-ext.c: New files for handling extensibility.
2548 * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO,
2549 MOD_HILO, and MOD_LO macros.
2551 * mips-opc.c (M1, M2): Delete.
2552 (mips_builtin_opcodes): Remove all uses of M1.
2554 * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2
2555 instructions take "G" format second operands and use the
2557 There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to
2559 Delete "sel" code operands from mfc1 and mtc1.
2560 Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
2566 * mips-opc.c (mips_builtin_opcodes): Finish additions
2567 for MIPS32 support, and clean up existing entries for
2568 aesthetics, consistency with the MIPS32 ISA, and
2569 with consistency the rest of the table.
2573 * mips16-opc.c (mips16_opcodes): Add initialiser for membership
2578 mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument
2579 specifiers. Update 'B' for new constant names, and remove
2581 mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop"
2582 near the top of the array, so they are disassembled properly.
2583 Enable "ssnop" for MIPS32. Add "break" variant with 20 bit
2584 code for MIPS32. Update "clo" and "clz" to use 'U' operand
2585 specifier. Add 'H' format specifier variants for "mfc1,"
2586 "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update
2587 MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32
2588 "wait" variant which uses 'J' operand specifier.
2590 * mips-dis.c (set_mips_isa_type): Update to use
2591 CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case.
2592 Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
2593 * mips-opc.c (I32): New constant for instructions added in
2596 (mips_builtin_opcodes) Replace all uses of P4 with I32.
2598 * mips-dis.c (set_mips_isa_type): Add cases for
2599 bfd_mach_mips5 and bfd_mach_mips64.
2600 * mips-opc.c (I64): New definitions.
2602 * mips-dis.c (set_mips_isa_type): Add case for
2607 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
2608 (print_insn_ppi): Make nib1, nib2, nib3 unsigned.
2609 Initialize variable dc to NULL.
2610 (print_insn_shx): Remove unused label d_reg_n.
2614 * arm-opc.h: Add new opcode formatting parameter 'B'.
2615 (arm_opcodes): Add XScale, v5, and v5te instructions.
2616 (thumb_opcodes): Add v5t instructions.
2618 * arm-dis.c (print_insn_arm): Handle new 'B' format
2620 (print_insn_thumb): Decode BLX(1) instruction.
2624 * mips-opc.c: Fix file header comment.
2628 * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
2629 print_insn_cris_with_register_prefix.
2633 * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
2637 * cgen-dis.in (print_insn): All insns which can fit into insn_value
2638 must be loaded there in their entirety.
2642 * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
2643 (compute_arch_mask): Add v8plusb and v9b machines.
2644 (print_insn_sparc): siam mode decoding, accept ASRs up to 25.
2645 * sparc-opc.c: Support for Cheetah instruction set.
2646 (prefetch_table): Add #invalidate.
2650 * mcore-dis.c (imsk): Change mask for OC to 0xFE00.
2654 * fr30-desc.h: Regenerate.
2655 * m32r-desc.h: Regenerate.
2656 * m32r-ibld.c: Regenerate.
2660 * ia64-ic.tbl: Update from Intel.
2661 * ia64-asmtab.c: Regenerate.
2665 * ia64-gen.c: Convert C++-style comments to C-style comments.
2666 * tic54x-dis.c: Likewise.
2670 Changes to add dollar prefix to registers for files where user symbols
2671 don't have a leading underscore. Fix formatting.
2672 * cris-dis.c (REGISTER_PREFIX_CHAR): New.
2673 (format_reg): Add parameter with_reg_prefix. All callers changed.
2674 (print_with_operands): Ditto.
2675 (print_insn_cris_generic): Renamed from print_insn_cris, add
2676 parameter with_reg_prefix.
2677 (print_insn_cris_with_register_prefix,
2678 print_insn_cris_without_register_prefix, cris_get_disassembler):
2680 * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
2684 * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
2685 gt, ge, ngt, and nge.
2686 * ia64-asmtab.c: Regenerate.
2688 * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
2689 * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
2690 (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
2691 * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
2692 * ia64-asmtab.c: Regnerate.
2696 * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
2697 Add mfc0 and mtc0 with sub-selection values.
2698 Add clo and clz opcodes.
2699 Add msub and msubu instructions for MIPS32.
2700 Add madd/maddu aliases for mad/madu for MIPS32.
2701 Support wait, deret, eret, movn, pref for MIPS32.
2702 Support tlbp, tlbr, tlbwi, tlbwr.
2705 * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
2706 (print_insn_arg): Handle 'H' args.
2707 (set_mips_isa_type): Recognize 4K.
2708 Use CPU_* defines instead of hardcoded numbers.
2712 * d30v-opc.c (d30v_operand_t): New operand type Rb2.
2713 (d30v_format_tab): Use Rb2 for modinc and moddec.
2717 * d30v-opc.c (d30v_format_tab): Use format Ra for
2722 * configure: Rebuilt with new libtool.m4.
2726 * configure: Regenerate.
2727 * po/opcodes.pot: Regenerate.
2731 * acinclude.m4: Include libtool and gettext macros from the
2733 * aclocal.m4, configure: Rebuilt.
2737 * tic80-dis.c: Fix formatting.
2741 * w65-dis.c: Fix formatting.
2745 * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics.
2746 (powerpc_opcodes): Add table entries for PPC 405 instructions.
2747 Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
2748 instructions. Added extended mnemonic mftbl as defined in the
2749 405GP manual for all PPCs.
2753 * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
2754 call. Change last goto to use failed instead of done.
2758 * cgen-ibld.in (cgen_put_insn_int_value): New function.
2759 (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
2760 (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
2761 (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
2762 * cgen-dis.in (read_insn): New static function.
2763 (print_insn): Use read_insn to read the insn into the buffer and set
2765 (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
2767 * fr30-asm.c: Regenerated.
2768 * fr30-desc.c: Regenerated.
2769 * fr30-desc.h: Regenerated.
2770 * fr30-dis.c: Regenerated.
2771 * fr30-ibld.c: Regenerated.
2772 * fr30-opc.c: Regenerated.
2773 * fr30-opc.h: Regenerated.
2774 * m32r-asm.c: Regenerated.
2775 * m32r-desc.c: Regenerated.
2776 * m32r-desc.h: Regenerated.
2777 * m32r-dis.c: Regenerated.
2778 * m32r-ibld.c: Regenerated.
2779 * m32r-opc.c: Regenerated.
2783 * tic30-dis.c: Fix formatting.
2787 * sh-dis.c: Fix formatting.
2791 * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
2795 * z8k-dis.c: Fix formatting.
2799 * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
2800 break, mov-immediate, nop.
2801 * ia64-opc-f.c: Delete fpsub instructions.
2802 * ia64-opc-m.c: Add POSTINC to all instructions with postincrement
2803 address operand. Rewrite using macros to avoid long lines.
2804 * ia64-opc.h (POSTINC): Define.
2805 * ia64-asmtab.c: Regenerate.
2809 * ia64-ic.tbl: Add missing entries.
2813 * i860-dis.c (print_br_address): Change third argument from int
2818 * ia64-dis.c (print_insn_ia64): Get byte skip count correct
2819 for MLI templates. Handle IA64_OPND_TGT64.
2823 * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
2824 * cgen.sh: Likewise.
2828 * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
2832 * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
2833 Change return type from void to int. Check the combination
2834 of operands, return 1 if valid. Fix to avoid BUF overflow.
2835 Report undefined combinations of operands in COMMENT.
2836 Report internal errors to stderr. Output the adiw/sbiw
2837 constant operand in both decimal and hex.
2838 (print_insn_avr): Disassemble ldd/std with displacement of 0
2839 as ld/st. Check avr_operand () return value, handle invalid
2840 combinations of operands like unknown opcodes.
2844 * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
2845 (run-cgen, stamp-m32r, stamp-fr30): New targets.
2846 * Makefile.in: Regenerate.
2847 * configure.in: Add --enable-cgen-maint option.
2848 * configure: Regenerate.
2852 * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
2853 (cgen_hw_lookup_by_num): Ditto.
2854 (cgen_operand_lookup_by_name): Ditto.
2855 (print_address): Ditto.
2856 (print_keyword): Ditto.
2857 * cgen-dis.c (hash_insn_array): Mark unused parameters with
2859 * cgen-asm.c (hash_insn_array): Mark unused parameters with
2861 (cgen_parse_keyword): Ditto.
2865 * i860-dis.c: New file.
2866 (print_insn_i860): New function.
2867 (print_br_address): New function.
2868 (sign_extend): New function.
2869 (BITWISE_OP): New macro.
2870 (I860_REG_PREFIX): New macro.
2871 (grnames, frnames, crnames): New structures.
2873 * disassemble.c (ARCH_i860): Define.
2874 (disassembler): Add check for bfd_arch_i860 to set disassemble
2875 function to print_insn_i860.
2877 * Makefile.in (CFILES): Added i860-dis.c.
2878 (ALL_MACHINES): Added i860-dis.lo.
2879 (i860-dis.lo): New dependences.
2881 * configure.in: New bits for bfd_i860_arch.
2883 * configure: Regenerated.
2887 * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
2888 (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
2889 (cris-dis.lo, cris-opc.lo): New rules.
2890 * Makefile.in: Rebuild.
2891 * configure.in (bfd_cris_arch): New target.
2892 * configure: Rebuild.
2893 * disassemble.c (ARCH_cris): Define.
2894 (disassembler): Support ARCH_cris.
2895 * cris-dis.c, cris-opc.c: New files.
2896 * po/POTFILES.in, po/opcodes.pot: Regenerate.
2900 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
2905 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
2910 * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg,
2911 fput_const, extract_3, extract_5_load, extract_5_store,
2912 extract_5r_store, extract_5R_store, extract_10U_store,
2913 extract_5Q_store, extract_11, extract_14, extract_16, extract_21,
2914 extract_12, extract_17, extract_22): Prototype.
2915 (print_insn_hppa): Rename inner block opcode -> opc to avoid
2916 shadowing outer block.
2925 * arm-dis.c (print_insn_arm): Output combinations of PSR flags.
2929 * avr-dis.c (avr_operand): Change _ () to _() around all strings
2930 marked for translation (exception from the usual coding style).
2931 (print_insn_avr): Initialize insn2 to avoid warnings.
2935 * h8300-dis.c (bfd_h8_disassemble): Improve readability.
2936 * h8500-dis.c: Fix formatting.
2940 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
2941 (CLEANFILES): Add DEPA.
2942 * Makefile.in: Regenerate.
2946 * arm-dis.c (regnames): Add an additional register set to match
2947 the set used by GCC. Make it the default.
2951 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
2953 * Makefile.in: Regenerate.
2957 * Makefile.am: Rebuild dependency.
2958 * Makefile.in: Rebuild.
2962 * Makefile.in, configure: regenerate
2963 * disassemble.c (disassembler): Recognize ARCH_m68hc12,
2965 * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
2967 * configure.in: Recognize m68hc12 and m68hc11.
2968 * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
2969 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
2970 and opcode generation for m68hc11 and m68hc12.
2974 * disassemble.c (disassembler): Refer to the PowerPC 620 using
2975 bfd_mach_ppc_620 instead of 620.
2979 * h8300-dis.c: Fix formatting.
2980 (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
2985 * avr-dis.c (avr_operand): Bugfix for jmp/call address.
2989 * avr-dis.c: completely rewritten.
2993 * h8300-dis.c: Follow the GNU coding style.
2994 (bfd_h8_disassemble) Fix a typo.
2998 * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo.
2999 (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl]
3000 correctly. Fix a typo.
3004 * opintl.h (_(String)): Explain why dgettext is used instead of
3009 * opintl.h (gettext, dgettext, dcgettext, textdomain,
3010 bindtextdomain): Replace defines with those from intl/libgettext.h
3011 to quieten gcc warnings.
3015 * Makefile.am: Update dependencies with "make dep-am"
3016 * Makefile.in: Regenerate.
3020 * m10300-dis.c (disassemble): Don't assume 32-bit longs when
3021 sign-extending operands.
3025 * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches
3030 * Makefile.am (LIBIBERTY): Define.
3034 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
3035 (STD_REGISTER_NAMES): New name for REGISTER_NAMES.
3036 (reg_names): Rename to std_reg_names. Change it to a char **
3038 (std_reg_names): New name for reg_names.
3039 (set_mips_isa_type): Set reg_names to point to std_reg_names by
3044 * fr30-desc.h: Partially regenerated to account for changed
3045 CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
3046 * m32r-desc.h: Ditto.
3050 * arm-opc.h: Use upper case for flasg in MSR and MRS
3051 instructions. Allow any bit to be set in the field_mask of
3052 the MSR instruction.
3054 * arm-dis.c (print_insn_arm): Decode _x and _s bits of the
3055 field_mask of an MSR instruction.
3059 * arm-opc.h: Disassembly of thumb ldsb/ldsh
3060 instructions changed to ldrsb/ldrsh.
3064 * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit
3065 target addresses for 'jal' and 'j'.
3069 * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
3070 also available in common mode when powerpc syntax is being used.
3074 * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args.
3075 (dummy_print_address): Ditto.
3079 * tic54x-opc.c: New.
3080 * tic54x-dis.c: New.
3081 * disassemble.c (disassembler): Add ARCH_tic54x.
3082 * configure.in: Added tic54x target.
3084 * Makefile.am: Add tic54x dependencies.
3085 * Makefile.in: Ditto.
3089 * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
3090 vector unit operands.
3091 (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
3092 unit instruction formats.
3093 (PPCVEC): New macro, mask for vector instructions.
3094 (powerpc_operands): Add table entries for above operand types.
3095 (powerpc_opcodes): Add table entries for vector instructions.
3097 * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
3098 (print_insn_little_powerpc): Likewise.
3099 (print_insn_powerpc): Prepend 'v' when printing vector registers.
3103 * configure.in: Add bfd_powerpc_64_arch.
3104 * disassemble.c (disassembler): Use print_insn_big_powerpc for
3109 * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow
3114 * avr-dis.c (reg_fmul_d): New. Extract destination register from
3116 (reg_fmul_r): New. Extract source register from FMUL instruction.
3117 (reg_muls_d): New. Extract destination register from MULS instruction.
3118 (reg_muls_r): New. Extract source register from MULS instruction.
3119 (reg_movw_d): New. Extract destination register from MOVW instruction.
3120 (reg_movw_r): New. Extract source register from MOVW instruction.
3121 (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
3122 EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
3126 * ia64-gen.c (general): Add an ordered table of primary
3127 opcode names, as well as priority fields to disassembly data
3128 structures to enforce a preferred disassembly format based on the
3129 ordering of the opcode tables.
3130 (load_insn_classes): Show a useful message if IC tables are missing.
3131 (load_depfile): Ditto.
3132 * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to
3133 distinguish preferred disassembly.
3134 * ia64-opc-f.c: Reorder some insn for preferred disassembly
3135 format. Fix incorrect flag on fma.s/fma.s.s0.
3136 * ia64-opc.c: Scan *all* disassembly matches and use the one with
3137 the highest priority.
3138 * ia64-opc-b.c: Use more abbreviations.
3139 * ia64-asmtab.c: Regenerate.
3143 * hppa-dis.c (extract_16): New function.
3144 (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
3145 new operand types l,y,&,fe,fE,fx.
3153 * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h.
3154 (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c,
3155 ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c,
3157 (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo.
3158 (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen,
3159 ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules.
3160 * Makefile.in: Rebuild.
3161 * configure Rebuild.
3162 * configure.in (bfd_ia64_arch): New target.
3163 * disassemble.c (ARCH_ia64): Define.
3164 (disassembler): Support ARCH_ia64.
3165 * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl,
3166 ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c,
3167 ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl,
3168 ia64-war.tbl, ia64-waw.tbl: New files.
3172 * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
3173 (disassemble): Use them.
3177 * sysdep.h: Include "ansidecl.h" not <ansidecl.h>
3178 * Makefile.am: Update dependencies.
3179 * Makefile.in: Regenerate.
3183 * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c,
3184 avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c,
3185 disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c,
3186 i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c,
3187 m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c,
3188 mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c,
3189 ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c,
3190 tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c,
3191 w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove
3192 ansidecl.h as sysdep.h includes it.
3196 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3197 --enable-build-warnings option.
3198 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3199 * Makefile.in, configure: Re-generate.
3203 * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
3204 stc GBR,@-<REG_N> is available for arch_sh1_up.
3205 Group parallel processing insn with identical mnemonics together.
3206 Make three-operand psha / pshl come first.
3210 * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
3211 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3212 (sh_arg_type): Add A_PC.
3213 (sh_table): Update entries using immediates. Add repeat.
3214 * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
3215 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3219 * po/opcodes.pot: Regenerate.
3221 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3222 (DEP): Quote when passing vars to sub-make. Add warning message
3224 (DEP1): Rewrite for "gcc -MM".
3225 (CLEANFILES): Add DEP2.
3226 Update dependencies.
3227 * Makefile.in: Regenerate.
3231 * avr-dis.c: Syntax cleanup.
3232 (add0fff): Print the pc relative address as a signed number.
3233 (add03f8): Likewise.
3237 * disassemble.c (disassembler_usage): Don't use a prototype. Mark
3238 the parameter ATTRIBUTE_UNUSED.
3239 * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
3243 * m10300-opc.c: SP-based offsets are always unsigned.
3247 * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal"
3248 [branch always] instead of "undefined".
3252 * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of
3253 short instructions, from end of list of long instructions.
3257 * Makefile.am (CFILES): Add avr-dis.c.
3258 (ALL_MACHINES): Add avr-dis.lo.
3262 * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to
3264 (print_insn_avr): Call function via pointer in K&R compatible way.
3265 (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204,
3266 add0fff, add03f8): Convert to old style function declaration and
3268 (avrdis_opcode): Add prototype.
3272 * avr-dis.c: New file. AVR disassembler.
3273 * configure.in (bfd_avr_arch): New architecture support.
3274 * disassemble.c: Likewise.
3275 * configure: Regenerate.
3279 * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
3283 * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand
3284 flag to determine if operand is pc-relative.
3286 (d30v_format_table):
3287 (REL6S3): Renamed from IMM6S3.
3288 Added flag OPERAND_PCREL.
3289 (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with
3290 added flag OPERAND_PCREL.
3291 (IMM12S3U): Replaced with REL12S3.
3292 (SHORT_D2, LONG_D): Delay target is pc-relative.
3293 (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r):
3294 Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r,
3295 using the REL* operands.
3296 (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D.
3297 (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B,
3298 LONG_Db, using REL* operands.
3299 (SHORT_U, SHORT_A5S): Removed stray alternatives.
3300 (d30v_opcode_table): Use new *r formats.
3304 * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with
3305 'signed_overflow_ok_p'.
3309 * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
3310 name of the libtool directory.
3311 * Makefile.in: Rebuild.
3315 * cgen-opc.c (cgen_set_signed_overflow_ok): New function.
3316 (cgen_clear_signed_overflow_ok): New function.
3317 (cgen_signed_overflow_ok_p): New function.
3321 * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
3322 m32r-ibld.c, m32r-opc.h: Rebuild.
3326 * i370-dis.c, i370-opc.c: New.
3328 * disassemble.c (ARCH_i370): Define.
3329 (disassembler): Handle it.
3331 * Makefile.am: Add support for Linux/IBM 370.
3332 * configure.in: Likewise.
3334 * Makefile.in: Regenerate.
3335 * configure: Likewise.
3339 * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
3340 ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
3345 * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
3347 * mips-opc.c (G6): New define.
3348 (mips_builtin_op): Add "move" definition for -gp32.
3353 * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
3357 * dis-buf.c (buffer_read_memory): Change `length' param and all int
3362 * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
3363 (print_insn_ppi): Likewise.
3364 (print_insn_shx): Use info->mach to select appropriate insn set.
3365 Add support for sh-dsp. Remove FD_REG_N support.
3366 * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
3367 (sh_arg_type): Likewise. Remove FD_REG_N.
3368 (sh_dsp_reg_nums): New enum.
3369 (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
3370 (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
3371 (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
3372 (arch_sh3_dsp_up): Likewise.
3373 (sh_opcode_info): New field: arch.
3374 (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
3375 D_REG_N. Fill in arch field. Add sh-dsp insns.
3379 * arm-dis.c: Change flavor name from atpcs-special to
3380 special-atpcs to prevent name conflict in gdb.
3381 (get_arm_regname_num_options, set_arm_regname_option,
3382 get_arm_regnames): New functions. API to access the several
3383 flavor of register names. Note: Used by gdb.
3384 (print_insn_thumb): Use the register name entry from the currently
3385 selected flavor for LR and PC.
3389 * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR
3391 (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and
3392 "mulsh.h" instructions.
3393 * mcore-dis.c (imsk array): Add masks for MULSH and OPSR
3395 (print_insn_mcore): Add support for little endian targets.
3396 Add support for MULSH and OPSR classes.
3400 * arm-dis.c (parse_arm_diassembler_option): Rename again.
3401 Previous delat did not take.
3405 * dis-buf.c (buffer_read_memory): Use octets_per_byte field
3406 to adjust target address bounds checking and calculate the
3407 appropriate octet offset into data.
3411 * arm-dis.c: (parse_disassembler_option): Rename to
3412 parse_arm_disassembler_option and allow to be exported.
3414 * disassemble.c (disassembler_usage): New function: Print out any
3415 target specific disassembler options.
3416 Call arm_disassembler_options() if the ARM architecture is being
3419 * arm-dis.c (NUM_ELEM): Define this macro if not already
3421 (arm_regname): New struct type for ARM register names.
3422 (arm_toggle_regnames): Delete.
3423 (parse_disassembler_option): Use register name structure.
3424 (print_insn): New function: Combines duplicate code found in
3425 print_insn_big_arm and print_insn_little_arm.
3426 (print_insn_big_arm): Call print_insn.
3427 (print_insn_little_arm): Call print_insn.
3428 (print_arm_disassembler_options): Display list of supported,
3429 ARM specific disassembler options.
3433 * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the
3434 ARM_STT_16BIT flag as Thumb code symbols.
3436 * arm-dis.c (printf_insn_little_arm): Ditto.
3440 * arm-dis.c (printf_insn_thumb): Prevent double dumping
3441 of raw thumb instructions.
3445 * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
3449 * arm-dis.c (streq): New macro.
3450 (strneq): New macro.
3451 (force_thumb): ew local variable.
3452 (parse_disassembler_option): New function: Parse a single, ARM
3453 specific disassembler command line switch.
3454 (parse_disassembler_option): Call parse_disassembler_option to
3455 parse individual command line switches.
3456 (print_insn_big_arm): Check force_thumb.
3457 (print_insn_little_arm): Check force_thumb.
3459 For older changes see ChangeLog-9899
3465 version-control: never