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