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