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