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