2001-06-15 Aldy Hernandez <aldyh@redhat.com>
[external/binutils.git] / opcodes / ChangeLog
1 2001-06-15  Aldy Hernandez  <aldyh@redhat.com>
2
3         * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.
4
5 2001-06-14  Geoffrey Keating  <geoffk@redhat.com>
6
7         * cgen-asm.c (cgen_parse_keyword): When looking for the
8         boundaries of a keyword, allow any special characters
9         that are actually in one of the allowed keyword.
10         * cgen-opc.c (cgen_keyword_add): Add any special characters
11         to the nonalpha_chars field.
12
13 2001-06-12  Martin Schwidefsky <schwidefsky@de.ibm.com>
14
15         * s390-opc.c: Add lgh instruction.
16         * s390-opc.txt: Likewise.
17
18 2001-06-11  Alan Modra  <amodra@bigpond.net.au>
19
20         * i386-dis.c: Group function prototypes in one place.
21         (FLOATCODE): Redefine as 1.
22         (USE_GROUPS): Redefine as 2.
23         (USE_PREFIX_USER_TABLE): Redefine as 3.
24         (X86_64_SPECIAL): Define as 4.
25         (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2.
26         (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE.
27         (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete.
28         (dis386): New table combining above four tables.
29         (dis386_twobyte_att, dis386_twobyte_intel): Delete.
30         (dis386_twobyte): New table combining above two tables.
31         (x86_64_table): New table to handle x86_64.
32         (X86_64_0): Define.
33         (float_mem_att, float_mem_intel): Delet.
34         (float_mem): New table combining above two tables.
35         (print_insn_i386): Modify for above.
36         (dofloat): Likewise.
37         (putop): Handle '{', '|' and '}' to select alternative mnemonics.
38         Return 0 on success, 1 if no valid alternative.
39         (putop <case 'F'>, <case 'H'>): Print nothing for intel_syntax.
40         (putop <case 'T'>): Move to case 'U', and share case 'Q' code.
41         (putop <case 'I'>): Move to case 'T', and share case 'P' code.
42         (OP_REG <case rAX_reg .. rDI_reg>): Handle as for eAX_reg .. eDI_reg
43         if not 64-bit mode.
44         (OP_I <case q_mode>): Handle as for v_mode if not 64-bit mode.
45         (OP_I64): If not 64-bit mode, call OP_I.
46         OP_OFF64): If not 64-bit mode, call OP_OFF.
47         (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename
48         'ignore'/'ignored' to 'bytemode'.
49
50 2001-06-10  Alan Modra  <amodra@bigpond.net.au>
51
52         * configure.in: Sort 'ta' case statement.
53         * configure: Regenerate.
54
55         * i386-dis.c (dis386_att): Add 'H' to conditional branch and
56         loop,jcxz insns.
57         (disx86_64_att): Likewise.
58         (dis386_twobyte_att): Likewise.
59         (print_insn_i386): Don't print branch hints as a prefix.
60         (putop): 'H' macro prints branch hints.
61         (get64): Kill compile warnings.
62
63 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
64
65         * sh-opc.h (sh_table): Don't use empty initializers.
66
67 2001-06-06  Christian Groessler <cpg@aladdin.de>
68
69         * z8k-dis.c: Fix formatting.
70         (unpack_instr): Remove unused cases in switch statement. Add
71         safety abort() in default case.
72         (unparse_instr): Add safety abort() in default case.
73
74 2001-06-06  Peter Jakubek <pjak@snafu.de>
75
76         * m68k-dis.c (print_insn_m68k): Fix typo.
77         * m68k-opc.c (m68k_opcodes): Correct allowed operands for
78         mcf (ColdFire) div, rem and moveb instructions.
79
80 2001-06-06  Alan Modra  <amodra@bigpond.net.au>
81
82         * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
83         (cond_jump_mode, loop_jcxz_mode): Define.
84         (dis386_att): Add cond_jump_flag and loop_jcxz_flag as
85         appropriate, and 'F' suffix to loop insns.
86         (disx86_64_att): Likewise.
87         (dis386_twobyte_att): Likewise.
88         (print_insn_i386): Don't output addr prefix for loop, jcxz insns.
89         Output data size prefix for long conditional jumps.  Output cs and
90         ds branch hints.
91         (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
92         (OP_J): Don't make PREFIX_DATA used.
93
94 2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
95
96         * sh-opc.h (sh_table): Complete last element entry to avoid
97         compiler warning.
98
99 2001-05-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
100
101         * mips-dis.c (mips_isa_type): Add MIPS r12k support.
102
103 2001-05-23  Alan Modra  <amodra@one.net.au>
104
105         * arc-opc.c: Whitespace changes.
106
107 2001-05-18  Hans-Peter Nilsson  <hp@axis.com>
108
109         * cris-opc.c (cris_spec_regs): Add missing initializer field for
110         last element.
111
112 2001-05-15  Frank Ch. Eigler  <fche@redhat.com>
113
114         * cgen-dis.in (extract_normal): Complete support for min<base case.
115
116 2001-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
117
118         * mips-dis.c (INSNLEN): Rename MAXLEN.
119         (std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
120         (print_insn_arg): Remove $ prefix of register names.
121         (set_mips_isa_type): Remove.
122         (mips_isa_type): New function.
123         (get_mips_isa): New Function.
124         (print_insn_mips): Rename _print_insn_mips.
125         (_print_insn_mips): New function, contains code which was
126         duplicated in print_insn_big_mips and print_insn_little_mips.
127         (print_insn_big_mips): Moved code to _print_insn_mips.
128         (print_insn_little_mips): Likewise.
129         (print_mips16_insn_arg): Remove $ prefix of register names.
130         Print error message before abort.
131
132 2001-05-14  J.T. Conklin  <jtc@redback.com>
133
134         * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of
135         simplified mnemonics used for setting PPC750-specific special
136         purpose registers.
137
138 2001-05-12  H.J. Lu  <hjl@gnu.org>
139
140         * i386-dis.c (print_insn_i386): Always set `mod', `reg' and
141         `rm'.
142
143 2001-05-12  Peter Targett  <peter.targett@arccores.com>
144
145         * arc-opc.c (arc_reg_names): Correct attribute for lp_count
146         register to r/w.  Formatting fixes throughout file.
147
148 2001-05-12  Alan Modra  <amodra@one.net.au>
149
150         * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
151         movq operands.
152         (twobyte_has_modrm): Update table.
153         (need_modrm): Give it file scope.
154         (MODRM_CHECK): Define.
155         (dofloat): Use MODRM_CHECK.
156         (OP_E): Likewise.
157         (OP_EM): Likewise.
158         (OP_EX): Likewise.
159
160 2001-05-07  Frank Ch. Eigler  <fche@redhat.com>
161
162         * cgen-dis.in (default_print_insn): Tolerate min<base instructions
163         even at end of a section.
164         * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
165         by ignoring precariously-unpacked insn_value in favor of raw buffer.
166
167 2001-05-03  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
168
169         * disassemble.c (disassembler_usage): Remove unused attribute.
170
171 2001-05-04  Frank Ch. Eigler  <fche@redhat.com>
172
173         * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.
174
175 2001-05-04  Frank Ch. Eigler  <fche@redhat.com>
176
177         * cgen-dis.in (print_insn): Remove call to read_insn.  Instead,
178         assume incoming buffer already has the base insn loaded.  Handle
179         smaller-than-base instructions for variable-length case.
180
181 2001-05-04  Alan Modra  <amodra@one.net.au>
182
183         * i386-dis.c (Ev, Ed): Remove duplicate define.
184         (Gd): Define.
185         (XS): Define.
186         (OP_XS): New function.
187         (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and
188         movmskp operands.
189         (dis386_twobyte_intel): Likewise.
190         (prefix_user_table): Use MS for maskmovq operand.
191
192 2001-04-27  Johan Rydberg  <jrydberg@opencores.org>
193
194         * Makefile.am: Add OpenRISC target.
195         * Makefile.in: Regenerated.
196
197         * disassemble.c (disassembler): Recognize the OpenRISC disassembly.
198
199         * configure.in (bfd_openrisc_arch): Add target.
200         * configure: Regenerated.
201
202         * openrisc-asm.c: New file.
203         * openrisc-desc.c: Likewise.
204         * openrisc-desc.h: Likewise.
205         * openrisc-dis.c: Likewise.
206         * openrisc-ibld.c: Likewise.
207         * openrisc-opc.c: Likewise.
208         * openrisc-opc.h: Likewise.
209
210 2001-04-24  Christian Groessler  <cpg@aladdin.de>
211
212         * z8k-dis.c: add names of control registers (ctrl_names);
213         (seg_length): provides instruction length fixup for segmented
214         mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12,
215         CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases;
216         (unparse_intr): handle CLASS_PR, print addresses without '#'
217         * z8k-opc.h: re-created with new z8kgen
218         * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new
219         entries for ldctl/ldctlb instruction
220
221 2001-04-06  Andreas Jaeger  <aj@suse.de>
222
223         * i386-dis.c: Add ffreep instruction.
224
225 2001-03-30  Alexandre Oliva  <aoliva@redhat.com>
226
227         * ppc-opc.c (insert_mbe): Shift mask initializer as long.
228
229 2001-03-24  Alan Modra  <alan@linuxcare.com.au>
230
231         * i386-dis.c (PREGRP25): Define.
232         (dis386_twobyte_att): Use here in place of "movntq" entry.
233         (dis386_twobyte_intel): Likewise.
234         (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq".
235         (PREGRP26): Define.
236         (dis386_twobyte_att): Use here.
237         (dis386_twobyte_intel): Likewise.
238         (prefix_user_table): Add PREGRP26 entry for "punpcklqdq".
239         (prefix_user_table <maskmovdqu>): XM operand, not MX.
240         (prefix_user_table): Cosmetic changes to "bad" entries.
241
242 2001-03-23  Nick Clifton  <nickc@redhat.com>
243
244         * mips-opc.c: Remove extraneous whitespace.
245         * mips-dis.c: Remove extraneous whitespace.
246
247 2001-03-22  Ben Elliston  <bje@redhat.com>
248
249         * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
250         declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
251         * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
252         to allay a compiler warning.
253
254 2001-03-22  Alan Modra  <alan@linuxcare.com.au>
255
256         * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq.
257         (dis386_twobyte_intel): Likewise.
258         (twobyte_has_modrm): Set entry for paddq, psubq.
259
260 2001-03-20  Patrick Macdonald  <patrickm@redhat.com>
261
262         * cgen-dis.in (print_insn_@arch@): Add support for target machine
263         determination via CGEN_COMPUTE_MACH.
264         * fr30-desc.c: Regenerate.
265         * fr30-dis.c: Regenerate.
266         * fr30-opc.h: Regenerate.
267         * m32r-desc.c: Regenerate.
268         * m32r-dis.c: Regenerate.
269         * m32r-opc.h: Regenerate.
270         * m32r-opinst.c: Regenerate.
271
272 2001-03-20  H.J. Lu  <hjl@gnu.org>
273
274         * configure.in: Remove the redundent AC_ARG_PROGRAM.
275         * configure: Rebuild.
276
277 2001-03-19  Jim Wilson  <wilson@redhat.com>
278
279         * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
280         notestr if larger than xsect.
281         (in_class): Handle format M5.
282         * ia64-asmtab.c: Regnerate.
283
284 2001-03-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
285
286         * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer
287         has more than one byte left to read.
288
289 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
290
291         * s390-opc.c: Add new opcodes.  Smooth out formatting.
292         * s390-opc.txt: Add new opcodes.
293
294 2001-03-06  Nick Clifton  <nickc@redhat.com>
295
296         * arm-dis.c (print_insn_thumb): Compute destination address
297         of BLX(1) instruction by taking bit 1 from PC and not from bit
298         0 of the offset.
299
300 2001-03-06  Igor Shevlyakov  <igor@windriver.com>
301
302         * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs
303         so command line switches will work.
304
305 2001-03-05  Dave Brolley  <brolley@redhat.com>
306
307         * fr30-asm.c: Regenerate.
308         * fr30-desc.c: Regenerate.
309         * fr30-desc.h: Regenerate.
310         * fr30-dis.c: Regenerate.
311         * fr30-ibld.c: Regenerate.
312         * fr30-opc.c: Regenerate.
313         * fr30-opc.h: Regenerate.
314         * m32r-asm.c: Regenerate.
315         * m32r-desc.c: Regenerate.
316         * m32r-desc.h: Regenerate.
317         * m32r-dis.c: Regenerate.
318         * m32r-ibld.c: Regenerate.
319         * m32r-opc.c: Regenerate.
320         * m32r-opc.h: Regenerate.
321         * m32r-opinst.c: Regenerate.
322
323 2001-02-28  Igor Shevlyakov  <igor@windriver.com>
324
325         * m68k-opc.c: fix cpushl according to Motorola. Enable
326         bunch of instructions for Coldfire 5407 and add all new.
327
328 2001-02-27  Alan Modra  <alan@linuxcare.com.au>
329
330         * configure.in (BFD_VERSION): Do without grep.
331         * configure: Regenerate.
332         * Makefile.am: Run "make dep-am".
333         * Makefile.in: Regenerate.
334
335 2001-02-23  David Mosberger  <davidm@hpl.hp.com>
336
337         * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
338         * ia64-asmtab.c: Regenerate.
339
340 2001-02-21  David Mosberger  <davidm@hpl.hp.com>
341
342         * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
343         separate variants: one for IMM22 and the other for IMM14.
344         * ia64-asmtab.c: Regenerate.
345
346 2001-02-21  Greg McGary  <greg@mcgary.org>
347
348         * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
349
350 2001-02-20  H.J. Lu  <hjl@gnu.org>
351
352         * Makefile.am (ia64-ic.tbl): Remove the target.
353         (ia64-raw.tbl): Likewise.
354         (ia64-waw.tbl): Likewise.
355         (ia64-war.tbl): Likewise.
356         (ia64-asmtab.c): Generate it in the source directory.
357         * Makefile.in: Regenerated.
358
359 2001-02-18  lars brinkhoff  <lars@nocrew.org>
360
361         * Makefile.am: Add PDP-11 target.
362         * configure.in: Likewise.
363         * disassemble.c: Likewise.
364         * pdp11-dis.c: New file.
365         * pdp11-opc.c: New file.
366
367 2001-02-14  Jim Wilson  <wilson@redhat.com>
368
369         * ia64-ic.tbl: Update from Intel.  Add setf to fr-writers.
370         * ia64-asmtab.c: Regenerate.
371
372 Mon Feb 12 17:41:26 CET 2001  Jan Hubicka  <jh@suse.cz>
373
374         * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
375         instructions.
376         (putop): Handle 'Y'
377
378 2001-02-11  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
379
380         * mips-dis.c (print_insn_arg): Use top four bits of the address of
381         the following instruction not of the jump itself for the jump
382         target.
383         (print_mips16_insn_arg): Likewise.
384
385 2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
386
387         * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
388         directory.
389         * Makefile.in: Regenerate.
390
391 2001-02-09  Schwidefsky  <schwidefsky@de.ibm.com>
392
393         * Makefile.am: Add linux target for S/390.
394         * Makefile.in: Likewise.
395         * configure.in: Likewise.
396         * disassemble.c: Likewise.
397         * s390-dis.c: New file.
398         * s390-mkopc.c: New file.
399         * s390-opc.c: New file.
400         * s390-opc.txt: New file.
401
402 2001-02-05  Jim Wilson  <wilson@redhat.com>
403
404         * ia64-asmtab.c: Revert 2000-12-16 change.
405
406 2001-02-02  Patrick Macdonald  <patrickm@redhat.com>
407
408         * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
409         * m32r-desc.h: Regenerate.
410
411 Thu Feb  1 16:29:06 MET 2001  Jan Hubicka  <jh@suse.cz>
412
413         * i386-dis.c (dis386_att, grps): Use 'T' for push/pop
414         (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
415
416 2001-01-14  Alan Modra  <alan@linuxcare.com.au>
417
418         * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types.
419
420 2001-01-13  Nick Clifton  <nickc@redhat.com>
421
422         * disassemble.c: Remove spurious white space.
423
424 Sat Jan 13 01:48:24 MET 2001  Jan Hubicka  <jh@suse.cz>
425
426         * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
427         templates.
428
429 2001-01-11  Peter Targett  <peter.targett@arccores.com>
430
431         * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
432         * Makefile.am (C_FILES): Add arc-ext.c.
433         (ALL_MACHINES) Add arc-ext.lo.
434         (INCLUDES) Add opcode directory to list.
435         New dependency entry for arc-ext.lo.
436         * disassemble.c (disassembler): Correct call to
437         arc_get_disassembler.
438         * arc-opc.c: New update for ARC, including full base
439         instructions for ARC variants.
440         * arc-dis.h, arc-dis.c: New update for ARC, including
441         extensibility functionality.
442         * arc-ext.h, arc-ext.c: New files for handling extensibility.
443
444 2001-01-10  Jan Hubicka  <jh@suse.cz>
445
446         * i386-dis.c (PREGRP15 - PREGRP24): New.
447         (dis386_twobyt): Add SSE2 instructions.
448         (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
449         (twobyte_uses_f3_prefix): ... this one.
450         (grps): Add SSE instructions.
451         (prefix_user_table): Add two new slots; add SSE2 instructions.
452         (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
453         Handle the REPNZ and Data16 prefixes as well; do proper lookup
454         to prefix_user_table.
455         (OP_E): Accept mfence and lfence as well.
456         (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
457         (OP_XMM): Support REX extensions.
458         (OP_EM): Likewise.
459         (OP_EX): Likewise.
460
461 2001-01-09  Nick Clifton  <nickc@redhat.com>
462
463         * arm-dis.c (print_insn): Set pc to zero for instructions with
464         a reloc associated with them.
465
466 2001-01-09  Jeff Johnston  <jjohnstn@redhat.com>
467
468         * cgen-asm.in (parse_insn_normal): Changed syn to be
469         CGEN_SYNTAX_CHAR_TYPE.  Changed all references to *syn
470         as character to use CGEN_SYNTAX_CHAR macro and all comparisons
471         to '\0' to use 0 instead.
472         * cgen-dis.in (print_insn_normal): Ditto.
473         * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
474
475 2001-01-05  Jan Hubicka  <jh@suse.cz>
476
477         * i386-dis.c: Add x86_64 support.
478         (rex): New static variable.
479         (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
480         (USED_REX): New macro.
481         (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
482         (OP_I64, OP_OFF64, OP_IMREG): New functions.
483         (OP_REG, OP_OFF): Declare.
484         (get64, get32, get32s): New functions.
485         (r??_reg): New constants.
486         (dis386_att): Change templates of instruction implicitly promoted
487         to 64bit; change e?? to RMe?? for unwind RM byte instructions.
488         (grps): Likewise.
489         (dis386_intel): Likewise.
490         (dixx86_64_att): New table based on dis386_att.
491         (dixx86_64_intel): New table based on dis386_intel.
492         (names64, names8rex): New global variable.
493         (names32, names16): Add extended registers.
494         (prefix_user_t): Recognize rex prefixes.
495         (prefix_name): Print REX prefixes nicely.
496         (op_riprel): New global variable.
497         (start_pc): Set type to bfd_vma.
498         (print_insn_i386): Detect the 64bit mode and use proper table;
499         move ckprefix after initializing the buffer; output unused rex prefixes;
500         output information about target of RIP relative addresses.
501         (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
502         (print_operand_value): New function.
503         (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
504         REX prefix and new modes.
505         (get64, get32s): New.
506         (get32): Return bfd_signed_vma type.
507         (set_op): Initialize the op_riprel.
508         * disassemble.c (disassembler): Recognize the x86-64 disassembly.
509
510 2001-01-03  Richard Sandiford  <r.sandiford@redhat.com>
511
512          cgen-dis.in (read_insn): Use bfd_get_bits()
513
514 2001-01-02  Richard Sandiford  <rsandifo@redhat.com>
515
516         * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
517         (hash_insn_list): Likewise
518         * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
519         (extract_1): Use bfd_get_bits().
520         (extract_normal): Apply sign extension to both extraction
521         methods.
522         * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
523         (cgen_put_insn_value): Use bfd_put_bits()
524
525 2000-12-28  Frank Ch. Eigler  <fche@redhat.com>
526
527         * cgen-asm.in (parse_insn_normal): Print better error message for
528         instructions with missing operands.
529
530 2000-12-21  Santeri Paavolainen <santtu@ssh.com>
531
532         * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
533
534 2000-12-16  Nick Clifton  <nickc@redhat.com>
535
536         * Makefile.in: Regenerate.
537         * aclocal.m4: Regenerate.
538         * config.in: Regenerate.
539         * configure.in: Add spacing.
540         * configure: Regenerate.
541         * ia64-asmtab.c: Regenerate.
542         * po/opcodes.pot: Regenerate.
543
544 2000-12-12  Frank Ch. Eigler  <fche@redhat.com>
545
546         * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
547         error messages over later parse-time ones.
548
549 2000-12-12  Jim Wilson  <wilson@redhat.com>
550
551         * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
552         argument.
553         * ia64-gen.c (insert_deplist): Cast sizeof result to int.
554         (print_dependency_table): Print NULL if semantics field not set.
555         (insert_opcode_dependencies): Mark cmp parameter as unused.
556         (print_main_table): Use fprintf_vma to print long long fields.
557         (main): Mark argv paramter as unused.  Convert to old style definition.
558         * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
559         * ia64-asmtab.c: Regnerate.
560
561 2000-12-09  Nick Clifton  <nickc@redhat.com>
562
563         * m32r-dis.c (print_insn): Prevent re-read of instruction from
564         wrong address.
565
566         * fr30-dis.c: Regenerate.
567
568 2000-12-08  Peter Targett  <peter.targett@arccores.com>
569
570         * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
571         * Makefile.am (C_FILES): Add arc-ext.c.
572         (ALL_MACHINES) Add arc-ext.lo.
573         (INCLUDES) Add opcode directory to list.
574         New dependency entry for arc-ext.lo.
575         * disassemble.c (disassembler): Correct call to
576         arc_get_disassembler.
577         * arc-opc.c: New update for ARC, including full base
578         instructions for ARC variants.
579         * arc-dis.h, arc-dis.c: New update for ARC, including
580         extensibility functionality.
581         * arc-ext.h, arc-ext.c: New files for handling extensibility.
582
583 2000-12-03  Chris Demetriou   cgd@sibyte.com
584
585         * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO,
586         MOD_HILO, and MOD_LO macros.
587
588         * mips-opc.c (M1, M2): Delete.
589         (mips_builtin_opcodes): Remove all uses of M1.
590
591         * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2
592         instructions take "G" format second operands and use the
593         correct flags.
594         There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to
595         match.
596         Delete "sel" code operands from mfc1 and mtc1.
597         Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
598         for dm[ft]c[023].
599
600 2000-12-03  Ed Satterthwaite  ehs@sibyte.com  and
601             Chris Demetriou   cgd@sibyte.com
602
603         * mips-opc.c (mips_builtin_opcodes): Finish additions
604         for MIPS32 support, and clean up existing entries for
605         aesthetics, consistency with the MIPS32 ISA, and
606         with consistency the rest of the table.
607
608 2000-12-01  Nick Clifton  <nickc@redhat.com>
609
610         * mips16-opc.c (mips16_opcodes): Add initialiser for membership
611         field.
612
613 2000-12-01  Chris Demetriou <cgd@sibyte.com>
614
615         mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument
616         specifiers.  Update 'B' for new constant names, and remove
617         'm'.
618         mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop"
619         near the top of the array, so they are disassembled properly.
620         Enable "ssnop" for MIPS32.  Add "break" variant with 20 bit
621         code for MIPS32.  Update "clo" and "clz" to use 'U' operand
622         specifier.  Add 'H' format specifier variants for "mfc1,"
623         "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32.  Update
624         MIPS32 "sdbbp" to use 'B' operand specifier.  Add MIPS32
625         "wait" variant which uses 'J' operand specifier.
626
627         * mips-dis.c (set_mips_isa_type): Update to use
628         CPU_UNKNOWN and ISA_* constants.  Add bfd_mach_mips32 case.
629         Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
630         * mips-opc.c (I32): New constant for instructions added in
631         MIPS32.
632         (P4): Delete.
633         (mips_builtin_opcodes) Replace all uses of P4 with I32.
634
635         * mips-dis.c (set_mips_isa_type): Add cases for
636         bfd_mach_mips5 and bfd_mach_mips64.
637         * mips-opc.c (I64): New definitions.
638
639         * mips-dis.c (set_mips_isa_type): Add case for
640         bfd_mach_mips_sb1.
641
642 2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
643
644         * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
645         (print_insn_ppi): Make nib1, nib2, nib3 unsigned.
646         Initialize variable dc to NULL.
647         (print_insn_shx): Remove unused label d_reg_n.
648
649 2000-11-24  Nick Clifton  <nickc@redhat.com>
650
651         * arm-opc.h: Add new opcode formatting parameter 'B'.
652         (arm_opcodes): Add XScale, v5, and v5te instructions.
653         (thumb_opcodes): Add v5t instructions.
654
655         * arm-dis.c (print_insn_arm): Handle new 'B' format
656         parameter.
657         (print_insn_thumb): Decode BLX(1) instruction.
658
659 2000-11-21  Chris Demetriou  <cgd@sibyte.com>
660
661         * mips-opc.c: Fix file header comment.
662
663 2000-11-14  Hans-Peter Nilsson  <hp@axis.com>
664
665         * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
666         print_insn_cris_with_register_prefix.
667
668 2000-11-11  Alexandre Oliva  <aoliva@redhat.com>
669
670         * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
671
672 2000-11-07  Matthew Green  <mrg@redhat.com>
673
674         * cgen-dis.in (print_insn): All insns which can fit into insn_value
675         must be loaded there in their entirety.
676
677 2000-10-20  Jakub Jelinek  <jakub@redhat.com>
678
679         * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
680         (compute_arch_mask): Add v8plusb and v9b machines.
681         (print_insn_sparc): siam mode decoding, accept ASRs up to 25.
682         * sparc-opc.c: Support for Cheetah instruction set.
683         (prefetch_table): Add #invalidate.
684
685 2000-10-16  Nick Clifton  <nickc@redhat.com>
686
687         * mcore-dis.c (imsk): Change mask for OC to 0xFE00.
688
689 2000-10-06  Dave Brolley  <brolley@redhat.com>
690
691         * fr30-desc.h: Regenerate.
692         * m32r-desc.h: Regenerate.
693         * m32r-ibld.c: Regenerate.
694
695 2000-10-05  Jim Wilson  <wilson@redhat.com>
696
697         * ia64-ic.tbl: Update from Intel.
698         * ia64-asmtab.c: Regenerate.
699
700 2000-10-04  Kazu Hirata  <kazu@hxi.com>
701
702         * ia64-gen.c: Convert C++-style comments to C-style comments.
703         * tic54x-dis.c: Likewise.
704
705 2000-09-29  Hans-Peter Nilsson  <hp@axis.com>
706
707         Changes to add dollar prefix to registers for files where user symbols
708         don't have a leading underscore.  Fix formatting.
709         * cris-dis.c (REGISTER_PREFIX_CHAR): New.
710         (format_reg): Add parameter with_reg_prefix.  All callers changed.
711         (print_with_operands): Ditto.
712         (print_insn_cris_generic): Renamed from print_insn_cris, add
713         parameter with_reg_prefix.
714         (print_insn_cris_with_register_prefix,
715         print_insn_cris_without_register_prefix, cris_get_disassembler):
716         New.
717         * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
718
719 2000-09-22  Jim Wilson  <wilson@redhat.com>
720
721         * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
722         gt, ge, ngt, and nge.
723         * ia64-asmtab.c: Regenerate.
724
725         * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
726         * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
727         (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
728         * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
729         * ia64-asmtab.c: Regnerate.
730
731 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
732
733         * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
734         Add mfc0 and mtc0 with sub-selection values.
735         Add clo and clz opcodes.
736         Add msub and msubu instructions for MIPS32.
737         Add madd/maddu aliases for mad/madu for MIPS32.
738         Support wait, deret, eret, movn, pref for MIPS32.
739         Support tlbp, tlbr, tlbwi, tlbwr.
740         (P4): New define.
741
742         * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
743         (print_insn_arg): Handle 'H' args.
744         (set_mips_isa_type): Recognize 4K.
745         Use CPU_* defines instead of hardcoded numbers.
746
747 2000-09-11  Catherine Moore <clm@redhat.com>
748
749         * d30v-opc.c (d30v_operand_t): New operand type Rb2.
750         (d30v_format_tab): Use Rb2 for modinc and moddec.
751
752 2000-09-07  Catherine Moore  <clm@redhat.com>
753
754         * d30v-opc.c (d30v_format_tab): Use format Ra for
755         modinc and moddec.
756
757 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
758
759         * configure: Rebuilt with new libtool.m4.
760
761 2000-09-05  Nick Clifton  <nickc@redhat.com>
762
763         * configure: Regenerate.
764         * po/opcodes.pot: Regenerate.
765
766 2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
767
768         * acinclude.m4: Include libtool and gettext macros from the
769         top level.
770         * aclocal.m4, configure: Rebuilt.
771
772 2000-08-30  Kazu Hirata  <kazu@hxi.com>
773
774         * tic80-dis.c: Fix formatting.
775
776 2000-08-29  Kazu Hirata  <kazu@hxi.com>
777
778         * w65-dis.c: Fix formatting.
779
780 2000-08-28  Mark Hatle  <mhatle@mvista.com>
781
782         * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics.
783         (powerpc_opcodes): Add table entries for PPC 405 instructions.
784         Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
785         instructions.  Added extended mnemonic mftbl as defined in the
786         405GP manual for all PPCs.
787
788 2000-08-28  Jim Wilson  <wilson@redhat.com>
789
790         * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
791         call.  Change last goto to use failed instead of done.
792
793 2000-08-28  Dave Brolley  <brolley@redhat.com>
794
795         * cgen-ibld.in (cgen_put_insn_int_value): New function.
796         (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
797         (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
798         (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
799         * cgen-dis.in (read_insn): New static function.
800         (print_insn): Use read_insn to read the insn into the buffer and set
801         up for disassembly.
802         (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
803         in the buffer.
804         * fr30-asm.c: Regenerated.
805         * fr30-desc.c: Regenerated.
806         * fr30-desc.h: Regenerated.
807         * fr30-dis.c: Regenerated.
808         * fr30-ibld.c: Regenerated.
809         * fr30-opc.c: Regenerated.
810         * fr30-opc.h: Regenerated.
811         * m32r-asm.c: Regenerated.
812         * m32r-desc.c: Regenerated.
813         * m32r-desc.h: Regenerated.
814         * m32r-dis.c: Regenerated.
815         * m32r-ibld.c: Regenerated.
816         * m32r-opc.c: Regenerated.
817
818 2000-08-28  Kazu Hirata  <kazu@hxi.com>
819
820         * tic30-dis.c: Fix formatting.
821
822 2000-08-27  Kazu Hirata  <kazu@hxi.com>
823
824         * sh-dis.c: Fix formatting.
825
826 2000-08-24  David Edelsohn  <dje@watson.ibm.com>
827
828         * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
829
830 2000-08-24  Kazu Hirata  <kazu@hxi.com>
831
832         * z8k-dis.c: Fix formatting.
833
834 2000-08-16  Jim Wilson  <wilson@redhat.com>
835
836         * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds.  Delete
837         break, mov-immediate, nop.
838         * ia64-opc-f.c: Delete fpsub instructions.
839         * ia64-opc-m.c: Add POSTINC to all instructions with postincrement
840         address operand.  Rewrite using macros to avoid long lines.
841         * ia64-opc.h (POSTINC): Define.
842         * ia64-asmtab.c: Regenerate.
843
844 2000-08-15  Jim Wilson  <wilson@redhat.com>
845
846         * ia64-ic.tbl: Add missing entries.
847
848 2000-08-08  Jason Eckhardt  <jle@redhat.com>
849
850         * i860-dis.c (print_br_address): Change third argument from int
851         to long.
852
853 2000-08-07  Richard Henderson  <rth@redhat.com>
854
855         * ia64-dis.c (print_insn_ia64): Get byte skip count correct
856         for MLI templates.  Handle IA64_OPND_TGT64.
857
858 2000-08-04  Ben Elliston  <bje@redhat.com>
859
860         * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
861         * cgen.sh: Likewise.
862
863 2000-08-02  Jim Wilson  <wilson@redhat.com>
864
865         * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
866
867 2000-07-29  Marek Michalkiewicz  <marekm@linux.org.pl>
868
869         * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
870         Change return type from void to int.  Check the combination
871         of operands, return 1 if valid.  Fix to avoid BUF overflow.
872         Report undefined combinations of operands in COMMENT.
873         Report internal errors to stderr.  Output the adiw/sbiw
874         constant operand in both decimal and hex.
875         (print_insn_avr): Disassemble ldd/std with displacement of 0
876         as ld/st.  Check avr_operand () return value, handle invalid
877         combinations of operands like unknown opcodes.
878
879 2000-07-28  Ben Elliston  <bje@redhat.com>
880
881         * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
882         (run-cgen, stamp-m32r, stamp-fr30): New targets.
883         * Makefile.in: Regenerate.
884         * configure.in: Add --enable-cgen-maint option.
885         * configure: Regenerate.
886
887 2000-07-26  Dave Brolley  <brolley@redhat.com>
888
889         * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
890         (cgen_hw_lookup_by_num): Ditto.
891         (cgen_operand_lookup_by_name): Ditto.
892         (print_address): Ditto.
893         (print_keyword): Ditto.
894         * cgen-dis.c (hash_insn_array): Mark unused parameters with
895         ATTRIBUTE_UNUSED.
896         * cgen-asm.c (hash_insn_array): Mark unused parameters with
897         ATTRIBUTE_UNUSED.
898         (cgen_parse_keyword): Ditto.
899
900 2000-07-22  Jason Eckhardt  <jle@redhat.com>
901
902         * i860-dis.c: New file.
903         (print_insn_i860): New function.
904         (print_br_address): New function.
905         (sign_extend): New function.
906         (BITWISE_OP): New macro.
907         (I860_REG_PREFIX): New macro.
908         (grnames, frnames, crnames): New structures.
909
910         * disassemble.c (ARCH_i860): Define.
911         (disassembler): Add check for bfd_arch_i860 to set disassemble
912         function to print_insn_i860.
913
914         * Makefile.in (CFILES): Added i860-dis.c.
915         (ALL_MACHINES): Added i860-dis.lo.
916         (i860-dis.lo): New dependences.
917
918         * configure.in: New bits for bfd_i860_arch.
919
920         * configure: Regenerated.
921
922 2000-07-20  Hans-Peter Nilsson  <hp@axis.com>
923
924         * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
925         (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
926         (cris-dis.lo, cris-opc.lo): New rules.
927         * Makefile.in: Rebuild.
928         * configure.in (bfd_cris_arch): New target.
929         * configure: Rebuild.
930         * disassemble.c (ARCH_cris): Define.
931         (disassembler): Support ARCH_cris.
932         * cris-dis.c, cris-opc.c: New files.
933         * po/POTFILES.in, po/opcodes.pot: Regenerate.
934
935 2000-07-11  Jakub Jelinek  <jakub@redhat.com>
936
937         * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
938         Reported by Bill Clarke <llib@computer.org>.
939
940 2000-07-09  Geoffrey Keating  <geoffk@redhat.com>
941
942         * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
943         Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
944
945 2000-07-09  Alan Modra  <alan@linuxcare.com.au>
946
947         * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg,
948         fput_const, extract_3, extract_5_load, extract_5_store,
949         extract_5r_store, extract_5R_store, extract_10U_store,
950         extract_5Q_store, extract_11, extract_14, extract_16, extract_21,
951         extract_12, extract_17, extract_22): Prototype.
952         (print_insn_hppa): Rename inner block opcode -> opc to avoid
953         shadowing outer block.
954         (GET_BIT): Define.
955
956 2000-07-05  DJ Delorie  <dj@redhat.com>
957
958         * MAINTAINERS: new
959
960 2000-07-04  Alexandre Oliva  <aoliva@redhat.com>
961
962         * arm-dis.c (print_insn_arm): Output combinations of PSR flags.
963
964 2000-07-03  Marek Michalkiewicz  <marekm@linux.org.pl>
965
966         * avr-dis.c (avr_operand): Change _ () to _() around all strings
967         marked for translation (exception from the usual coding style).
968         (print_insn_avr): Initialize insn2 to avoid warnings.
969
970 2000-07-03  Kazu Hirata  <kazu@hxi.com>
971
972         * h8300-dis.c (bfd_h8_disassemble): Improve readability.
973         * h8500-dis.c: Fix formatting.
974
975 2000-07-01  Alan Modra  <alan@linuxcare.com.au>
976
977         * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
978         (CLEANFILES): Add DEPA.
979         * Makefile.in: Regenerate.
980
981 2000-06-26  Scott Bambrough  <scottb@netwinder.org>
982
983         * arm-dis.c (regnames): Add an additional register set to match
984         the set used by GCC.  Make it the default.
985
986 2000-06-22  Alan Modra  <alan@linuxcare.com.au>
987
988         * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
989         find one.
990         * Makefile.in: Regenerate.
991
992 2000-06-20  H.J. Lu  <hjl@gnu.org>
993
994         * Makefile.am: Rebuild dependency.
995         * Makefile.in: Rebuild.
996
997 2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
998
999         * Makefile.in, configure: regenerate
1000         * disassemble.c (disassembler): Recognize ARCH_m68hc12,
1001         ARCH_m68hc11.
1002         * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
1003         New functions.
1004         * configure.in: Recognize m68hc12 and m68hc11.
1005         * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
1006         * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
1007         and opcode generation for m68hc11 and m68hc12.
1008
1009 2000-06-16  Nick Duffek  <nsd@redhat.com>
1010
1011         * disassemble.c (disassembler): Refer to the PowerPC 620 using
1012         bfd_mach_ppc_620 instead of 620.
1013
1014 2000-06-12  Kazu Hirata  <kazu@hxi.com>
1015
1016         * h8300-dis.c: Fix formatting.
1017         (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
1018         correctly.
1019
1020 2000-06-09  Denis Chertykov  <denisc@overta.ru>
1021
1022         * avr-dis.c (avr_operand): Bugfix for jmp/call address.
1023
1024 2000-06-07  Denis Chertykov  <denisc@overta.ru>
1025
1026         * avr-dis.c: completely rewritten.
1027
1028 2000-06-02  Kazu Hirata  <kazu@hxi.com>
1029
1030         * h8300-dis.c: Follow the GNU coding style.
1031         (bfd_h8_disassemble) Fix a typo.
1032
1033 2000-06-01  Kazu Hirata  <kazu@hxi.com>
1034
1035         * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo.
1036         (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl]
1037         correctly.  Fix a typo.
1038
1039 2000-05-31  Nick Clifton  <nickc@redhat.com>
1040
1041         * opintl.h (_(String)): Explain why dgettext is used instead of
1042         gettext.
1043
1044 2000-05-30  Nick Clifton  <nickc@redhat.com>
1045
1046         * opintl.h (gettext, dgettext, dcgettext, textdomain,
1047         bindtextdomain): Replace defines with those from intl/libgettext.h
1048         to quieten gcc warnings.
1049
1050 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
1051
1052         * Makefile.am: Update dependencies with "make dep-am"
1053         * Makefile.in: Regenerate.
1054
1055 2000-05-25  Alexandre Oliva  <aoliva@redhat.com>
1056
1057         * m10300-dis.c (disassemble): Don't assume 32-bit longs when
1058         sign-extending operands.
1059
1060 2000-05-15  Donald Lindsay  <dlindsay@redhat.com>
1061
1062         * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches
1063         except brf's.
1064
1065 2000-05-21  Nick Clifton  <nickc@redhat.com>
1066
1067         * Makefile.am (LIBIBERTY): Define.
1068
1069 2000-05-19 Diego Novillo <dnovillo@redhat.com>
1070
1071         * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
1072         (STD_REGISTER_NAMES): New name for REGISTER_NAMES.
1073         (reg_names): Rename to std_reg_names. Change it to a char **
1074         static variable.
1075         (std_reg_names): New name for reg_names.
1076         (set_mips_isa_type): Set reg_names to point to std_reg_names by
1077         default.
1078
1079 2000-05-16  Frank Ch. Eigler  <fche@redhat.com>
1080
1081         * fr30-desc.h: Partially regenerated to account for changed
1082         CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
1083         * m32r-desc.h: Ditto.
1084
1085 2000-05-15  Nick Clifton  <nickc@redhat.com>
1086
1087         * arm-opc.h: Use upper case for flasg in MSR and MRS
1088         instructions.  Allow any bit to be set in the field_mask of
1089         the MSR instruction.
1090
1091         * arm-dis.c (print_insn_arm): Decode _x and _s bits of the
1092         field_mask of an MSR instruction.
1093
1094 2000-05-11  Thomas de Lellis  <tdel@windriver.com>
1095
1096         * arm-opc.h: Disassembly of thumb ldsb/ldsh
1097         instructions changed to ldrsb/ldrsh.
1098
1099 2000-05-11  Ulf Carlsson  <ulfc@engr.sgi.com>
1100
1101         * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit
1102         target addresses for 'jal' and 'j'.
1103
1104 2000-05-10  Geoff Keating  <geoffk@redhat.com>
1105
1106         * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
1107         also available in common mode when powerpc syntax is being used.
1108
1109 2000-05-08  Alan Modra  <alan@linuxcare.com.au>
1110
1111         * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args.
1112         (dummy_print_address): Ditto.
1113
1114 2000-05-04  Timothy Wall  <twall@redhat.com>
1115
1116         * tic54x-opc.c: New.
1117         * tic54x-dis.c: New.
1118         * disassemble.c (disassembler): Add ARCH_tic54x.
1119         * configure.in: Added tic54x target.
1120         * configure: Ditto.
1121         * Makefile.am: Add tic54x dependencies.
1122         * Makefile.in: Ditto.
1123
1124 2000-05-03  J.T. Conklin  <jtc@redback.com>
1125
1126         * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
1127         vector unit operands.
1128         (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
1129         unit instruction formats.
1130         (PPCVEC): New macro, mask for vector instructions.
1131         (powerpc_operands): Add table entries for above operand types.
1132         (powerpc_opcodes): Add table entries for vector instructions.
1133
1134         * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
1135         (print_insn_little_powerpc): Likewise.
1136         (print_insn_powerpc): Prepend 'v' when printing vector registers.
1137
1138 2000-04-24  Clinton Popetz  <cpopetz@redhat.com>
1139
1140         * configure.in: Add bfd_powerpc_64_arch.
1141         * disassemble.c (disassembler): Use print_insn_big_powerpc for
1142         64 bit code.
1143
1144 2000-04-24  Nick Clifton  <nickc@redhat.com>
1145
1146         * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow
1147         field.
1148
1149 2000-04-23  Denis Chertykov  <denisc@overta.ru>
1150
1151         * avr-dis.c (reg_fmul_d): New. Extract destination register from
1152         FMUL instruction.
1153         (reg_fmul_r): New. Extract source register from FMUL instruction.
1154         (reg_muls_d): New. Extract destination register from MULS instruction.
1155         (reg_muls_r): New. Extract source register from MULS instruction.
1156         (reg_movw_d): New. Extract destination register from MOVW instruction.
1157         (reg_movw_r): New. Extract source register from MOVW instruction.
1158         (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
1159         EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
1160
1161 2000-04-22  Timothy Wall  <twall@redhat.com>
1162
1163         * ia64-gen.c (general): Add an ordered table of primary
1164         opcode names, as well as priority fields to disassembly data
1165         structures to enforce a preferred disassembly format based on the
1166         ordering of the opcode tables.
1167         (load_insn_classes): Show a useful message if IC tables are missing.
1168         (load_depfile): Ditto.
1169         * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to
1170         distinguish preferred disassembly.
1171         * ia64-opc-f.c: Reorder some insn for preferred disassembly
1172         format.  Fix incorrect flag on fma.s/fma.s.s0.
1173         * ia64-opc.c: Scan *all* disassembly matches and use the one with
1174         the highest priority.
1175         * ia64-opc-b.c: Use more abbreviations.
1176         * ia64-asmtab.c: Regenerate.
1177
1178 2000-04-21  Jason Eckhardt  <jle@redhat.com>
1179
1180         * hppa-dis.c (extract_16): New function.
1181         (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
1182         new operand types l,y,&,fe,fE,fx.
1183
1184 2000-04-21  Richard Henderson  <rth@redhat.com>
1185             David Mosberger  <davidm@hpl.hp.com>
1186             Timothy Wall <twall@redhat.com>
1187             Bob Manson  <manson@charmed.cygnus.com>
1188             Jim Wilson  <wilson@redhat.com>
1189
1190         * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h.
1191         (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c,
1192         ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c,
1193         ia64-asmtab.c.
1194         (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo.
1195         (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen,
1196         ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules.
1197         * Makefile.in: Rebuild.
1198         * configure Rebuild.
1199         * configure.in (bfd_ia64_arch): New target.
1200         * disassemble.c (ARCH_ia64): Define.
1201         (disassembler): Support ARCH_ia64.
1202         * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl,
1203         ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c,
1204         ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl,
1205         ia64-war.tbl, ia64-waw.tbl: New files.
1206
1207 2000-04-20  Alexandre Oliva  <aoliva@redhat.com>
1208
1209         * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
1210         (disassemble): Use them.
1211
1212 2000-04-14  Alan Modra  <alan@linuxcare.com.au>
1213
1214         * sysdep.h: Include "ansidecl.h" not <ansidecl.h>
1215         * Makefile.am: Update dependencies.
1216         * Makefile.in: Regenerate.
1217
1218 2000-04-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1219
1220         * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c,
1221         avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c,
1222         disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c,
1223         i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c,
1224         m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c,
1225         mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c,
1226         ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c,
1227         tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c,
1228         w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h.  Remove
1229         ansidecl.h as sysdep.h includes it.
1230
1231 2000-04-7  Andrew Cagney  <cagney@b1.redhat.com>
1232
1233         * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1234         --enable-build-warnings option.
1235         * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1236         * Makefile.in, configure: Re-generate.
1237
1238 2000-04-05  J"orn Rennecke <amylaar@redhat.com>
1239
1240         * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
1241         stc GBR,@-<REG_N> is available for arch_sh1_up.
1242         Group parallel processing insn with identical mnemonics together.
1243         Make three-operand psha / pshl come first.
1244
1245 2000-04-05  J"orn Rennecke <amylaar@redhat.co.uk>
1246
1247         * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
1248         Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
1249         (sh_arg_type): Add A_PC.
1250         (sh_table): Update entries using immediates.  Add repeat.
1251         * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
1252         Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
1253
1254 2000-04-04  Alan Modra  <alan@linuxcare.com.au>
1255
1256         * po/opcodes.pot: Regenerate.
1257
1258         * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1259         (DEP): Quote when passing vars to sub-make.  Add warning message
1260         to end.
1261         (DEP1): Rewrite for "gcc -MM".
1262         (CLEANFILES): Add DEP2.
1263         Update dependencies.
1264         * Makefile.in: Regenerate.
1265
1266 2000-04-03  Denis Chertykov  <denisc@overta.ru>
1267
1268         * avr-dis.c: Syntax cleanup.
1269         (add0fff): Print the pc relative address as a signed number.
1270         (add03f8): Likewise.
1271
1272 2000-04-01  Ian Lance Taylor  <ian@zembu.com>
1273
1274         * disassemble.c (disassembler_usage): Don't use a prototype.  Mark
1275         the parameter ATTRIBUTE_UNUSED.
1276         * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
1277
1278 2000-04-01  Alexandre Oliva  <aoliva@redhat.com>
1279
1280         * m10300-opc.c: SP-based offsets are always unsigned.
1281
1282 2000-03-29  Thomas de Lellis  <tdel@windriver.com>
1283
1284         * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal"
1285         [branch always] instead of "undefined".
1286
1287 2000-03-27  Nick Clifton  <nickc@redhat.com>
1288
1289         * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of
1290         short instructions, from end of list of long instructions.
1291
1292 2000-03-27  Ian Lance Taylor  <ian@zembu.com>
1293
1294         * Makefile.am (CFILES): Add avr-dis.c.
1295         (ALL_MACHINES): Add avr-dis.lo.
1296
1297 2000-03-27  Alan Modra  <alan@linuxcare.com>
1298
1299         * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to
1300         truncate integers.
1301         (print_insn_avr): Call function via pointer in K&R compatible way.
1302         (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204,
1303         add0fff, add03f8): Convert to old style function declaration and
1304         add prototype.
1305         (avrdis_opcode): Add prototype.
1306
1307 2000-03-27  Denis Chertykov  <denisc@overta.ru>
1308
1309         * avr-dis.c: New file.  AVR disassembler.
1310         * configure.in (bfd_avr_arch): New architecture support.
1311         * disassemble.c: Likewise.
1312         * configure: Regenerate.
1313
1314 2000-03-06  J"oern Rennecke <amylaar@redhat.com>
1315
1316         * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
1317
1318 2000-03-02  J"orn Rennecke <amylaar@redhat.co.uk>
1319
1320         * d30v-dis.c (print_insn): Remove d*i hacks.  Use per-operand
1321         flag to determine if operand is pc-relative.
1322         * d30v-opc.c:
1323         (d30v_format_table):
1324         (REL6S3): Renamed from IMM6S3.
1325         Added flag OPERAND_PCREL.
1326         (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with
1327         added flag OPERAND_PCREL.
1328         (IMM12S3U): Replaced with REL12S3.
1329         (SHORT_D2, LONG_D): Delay target is pc-relative.
1330         (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r):
1331         Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r,
1332         using the REL* operands.
1333         (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D.
1334         (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B,
1335         LONG_Db, using REL* operands.
1336         (SHORT_U, SHORT_A5S): Removed stray alternatives.
1337         (d30v_opcode_table): Use new *r formats.
1338
1339 2000-02-28  Nick Clifton  <nickc@redhat.com>
1340
1341         * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with
1342         'signed_overflow_ok_p'.
1343
1344 2000-02-27  Eli Zaretskii  <eliz@is.elta.co.il>
1345
1346         * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
1347         name of the libtool directory.
1348         * Makefile.in: Rebuild.
1349
1350 2000-02-24  Nick Clifton  <nickc@redhat.com>
1351
1352         * cgen-opc.c (cgen_set_signed_overflow_ok): New function.
1353         (cgen_clear_signed_overflow_ok): New function.
1354         (cgen_signed_overflow_ok_p): New function.
1355
1356 2000-02-23  Andrew Haley  <aph@redhat.com>
1357
1358         * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
1359         m32r-ibld.c, m32r-opc.h: Rebuild.
1360
1361 2000-02-23  Linas Vepstas <linas@linas.org>
1362
1363         * i370-dis.c, i370-opc.c: New.
1364
1365         * disassemble.c (ARCH_i370): Define.
1366         (disassembler): Handle it.
1367
1368         * Makefile.am: Add support for Linux/IBM 370.
1369         * configure.in: Likewise.
1370
1371         * Makefile.in: Regenerate.
1372         * configure: Likewise.
1373
1374 2000-02-22  Chandra Chavva   <cchavva@redhat.com>
1375
1376         * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
1377         ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
1378         procedure.
1379
1380 2000-02-22  Andrew Haley  <aph@redhat.com>
1381
1382         * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
1383         force gp32 to zero.
1384         * mips-opc.c (G6): New define.
1385         (mips_builtin_op): Add "move" definition for -gp32.
1386
1387 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
1388
1389         From Grant Erickson <gerickso@Brocade.COM>:
1390         * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
1391
1392 2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1393
1394         * dis-buf.c (buffer_read_memory): Change `length' param and all int
1395         vars to unsigned.
1396
1397 2000-02-17 J"orn Rennecke <amylaar@redhat.co.uk>
1398
1399         * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
1400         (print_insn_ppi): Likewise.
1401         (print_insn_shx): Use info->mach to select appropriate insn set.
1402         Add support for sh-dsp.  Remove FD_REG_N support.
1403         * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
1404         (sh_arg_type): Likewise.  Remove FD_REG_N.
1405         (sh_dsp_reg_nums): New enum.
1406         (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
1407         (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
1408         (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
1409         (arch_sh3_dsp_up): Likewise.
1410         (sh_opcode_info): New field: arch.
1411         (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
1412         D_REG_N.  Fill in arch field.  Add sh-dsp insns.
1413
1414 2000-02-14  Fernando Nasser  <fnasser@totem.to.redhat.com>
1415
1416         * arm-dis.c: Change flavor name from atpcs-special to
1417         special-atpcs to prevent name conflict in gdb.
1418         (get_arm_regname_num_options, set_arm_regname_option,
1419         get_arm_regnames): New functions.  API to access the several
1420         flavor of register names.  Note: Used by gdb.
1421         (print_insn_thumb): Use the register name entry from the currently
1422         selected flavor for LR and PC.
1423
1424 2000-02-10  Nick Clifton  <nickc@redhat.com>
1425
1426         * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR
1427         classes.
1428         (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and
1429         "mulsh.h" instructions.
1430         * mcore-dis.c (imsk array): Add masks for MULSH and OPSR
1431         classes.
1432         (print_insn_mcore): Add support for little endian targets.
1433         Add support for MULSH and OPSR classes.
1434
1435 2000-02-07  Nick Clifton  <nickc@redhat.com>
1436
1437         * arm-dis.c (parse_arm_diassembler_option): Rename again.
1438         Previous delat did not take.
1439
1440 2000-02-03  Timothy Wall  <twall@redhat.com>
1441
1442         * dis-buf.c (buffer_read_memory):  Use octets_per_byte field
1443         to adjust target address bounds checking and calculate the
1444         appropriate octet offset into data.
1445
1446 2000-01-27  Nick Clifton  <nickc@redhat.com>
1447
1448         * arm-dis.c: (parse_disassembler_option): Rename to
1449         parse_arm_disassembler_option and allow to be exported.
1450
1451         * disassemble.c (disassembler_usage): New function: Print out any
1452         target specific disassembler options.
1453         Call arm_disassembler_options() if the ARM architecture is being
1454         supported.
1455
1456         * arm-dis.c (NUM_ELEM): Define this macro if not already
1457         defined.
1458         (arm_regname): New struct type for ARM register names.
1459         (arm_toggle_regnames): Delete.
1460         (parse_disassembler_option): Use register name structure.
1461         (print_insn): New function: Combines duplicate code found in
1462         print_insn_big_arm and print_insn_little_arm.
1463         (print_insn_big_arm): Call print_insn.
1464         (print_insn_little_arm): Call print_insn.
1465         (print_arm_disassembler_options): Display list of supported,
1466         ARM specific disassembler options.
1467
1468 2000-01-27  Thomas de Lellis  <tdel@windriver.com>
1469
1470         * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the
1471         ARM_STT_16BIT flag as Thumb code symbols.
1472
1473         * arm-dis.c (printf_insn_little_arm): Ditto.
1474
1475 2000-01-25  Thomas de Lellis  <tdel@windriver.com>
1476
1477         * arm-dis.c (printf_insn_thumb): Prevent double dumping
1478         of raw thumb instructions.
1479
1480 2000-01-20  Nick Clifton  <nickc@redhat.com>
1481
1482         * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
1483
1484 2000-01-03  Nick Clifton  <nickc@cygnus.com>
1485
1486         * arm-dis.c (streq): New macro.
1487         (strneq): New macro.
1488         (force_thumb): ew local variable.
1489         (parse_disassembler_option): New function: Parse a single, ARM
1490         specific disassembler command line switch.
1491         (parse_disassembler_option): Call parse_disassembler_option to
1492         parse individual command line switches.
1493         (print_insn_big_arm): Check force_thumb.
1494         (print_insn_little_arm): Check force_thumb.
1495
1496 For older changes see ChangeLog-9899
1497 \f
1498 Local Variables:
1499 mode: change-log
1500 left-margin: 8
1501 fill-column: 74
1502 version-control: never
1503 End: