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