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