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