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