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