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